MessageTypes.h File Reference

#include "simulation2/system/Components.h"
#include "simulation2/system/Entity.h"
#include "simulation2/system/Message.h"
#include "simulation2/helpers/Player.h"
#include "simulation2/helpers/Position.h"
#include "simulation2/components/ICmpPathfinder.h"

Go to the source code of this file.

Classes

class  CMessageTurnStart
class  CMessageUpdate
 Generic per-turn update message, for things that don't care much about ordering. More...
class  CMessageUpdate_MotionFormation
 Update phase for formation controller movement (must happen before individual units move to follow their formation). More...
class  CMessageUpdate_MotionUnit
 Update phase for non-formation-controller unit movement. More...
class  CMessageUpdate_Final
 Final update phase, after all other updates. More...
class  CMessageInterpolate
 Prepare for rendering a new frame (set up model positions etc). More...
class  CMessageRenderSubmit
 Add renderable objects to the scene collector. More...
class  CMessageProgressiveLoad
 Handle progressive loading of resources. More...
class  CMessageCreate
 This is sent immediately after a new entity's components have all been created and initialised. More...
class  CMessageDestroy
 This is sent immediately before a destroyed entity is flushed and really destroyed. More...
class  CMessageOwnershipChanged
class  CMessagePositionChanged
 Sent during TurnStart. More...
class  CMessageMotionChanged
 Sent by CCmpUnitMotion during Update, whenever the motion status has changed since the previous update. More...
class  CMessageTerrainChanged
 Sent when terrain (texture or elevation) has been changed. More...
class  CMessageTerritoriesChanged
 Sent when territory assignments have changed. More...
class  CMessageRangeUpdate
 Sent by CCmpRangeManager at most once per turn, when an active range query has had matching units enter/leave the range since the last RangeUpdate. More...
class  CMessagePathResult
 Sent by CCmpPathfinder after async path requests. More...
class  CMessageTechnologyModification
 Sent by technology manager when a technology is researched that modifies a component. More...

Defines

#define DEFAULT_MESSAGE_IMPL(name)

Define Documentation

#define DEFAULT_MESSAGE_IMPL ( name   ) 
Value:
virtual int GetType() const { return MT_##name; } \
    virtual const char* GetScriptHandlerName() const { return "On" #name; } \
    virtual const char* GetScriptGlobalHandlerName() const { return "OnGlobal" #name; } \
    virtual jsval ToJSVal(ScriptInterface& scriptInterface) const; \
    static CMessage* FromJSVal(ScriptInterface&, jsval val);
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed May 16 03:15:24 2012 for Pyrogenesis by  doxygen 1.6.3