Cafu Engine
DeathMatch::EntFuncLadderT Class Reference
Inheritance diagram for DeathMatch::EntFuncLadderT:

Public Member Functions

 EntFuncLadderT (const EntityCreateParamsT &Params)
 
const cf::TypeSys::TypeInfoTGetType () const
 Returns the proper type info for this entity. More...
 
- Public Member Functions inherited from DeathMatch::BaseEntityT
virtual ~BaseEntityT ()
 The destructor. More...
 
void Serialize (cf::Network::OutStreamT &Stream) const
 The implementation calls DoSerialize(), that derived classes override to add their own data. More...
 
void Deserialize (cf::Network::InStreamT &Stream, bool IsIniting)
 The implementation calls DoDeserialize(), that derived classes override to read their own data. More...
 
virtual void NotifyLeaveMap ()
 Let the entity know that it is about to be removed from the map. More...
 
virtual unsigned long GetID () const
 Returns the (map unique) ID of this entity. More...
 
virtual cf::GameSys::GameWorldIGetGameWorld () const
 Returns the game world that this entity is in. More...
 
virtual const Vector3dTGetOrigin () const
 Returns the origin point of this entity. More...
 
virtual const BoundingBox3dTGetDimensions () const
 Returns the dimensions of this entity. More...
 
virtual void GetCameraOrientation (unsigned short &h, unsigned short &p, unsigned short &b) const
 Returns the camera orientation angles of this entity. More...
 
virtual void GetBodyOrientation (unsigned short &h, unsigned short &p, unsigned short &b) const
 Returns the orientation angles of the entity itself. More...
 
unsigned short GetHeading () const
 Returns the heading of this entity. More...
 
float GetProp (const std::string &Key, float Default=0.0f) const
 
double GetProp (const std::string &Key, double Default=0.0) const
 
int GetProp (const std::string &Key, int Default=0) const
 
std::string GetProp (const std::string &Key, std::string Default="") const
 
Vector3fT GetProp (const std::string &Key, Vector3fT Default=Vector3fT()) const
 
Vector3dT GetProp (const std::string &Key, Vector3dT Default=Vector3dT()) const
 
virtual void NotifyTouchedBy (BaseEntityT *Entity)
 This SERVER-SIDE function is used to notify this entity that it was touched by another entity. More...
 
virtual void OnTrigger (BaseEntityT *Activator)
 This SERVER-SIDE method is called whenever another entity walked into one of our trigger volumes (trigger brushes). More...
 
virtual void OnPush (ArrayT< BaseEntityT * > &Pushers, const Vector3dT &PushVector)
 This SERVER-SIDE method is called whenever another entity pushes us. More...
 
virtual void TakeDamage (BaseEntityT *Entity, char Amount, const VectorT &ImpactDir)
 This SERVER-SIDE function is used to have this entity take damage. More...
 
void PostEvent (unsigned int EventType)
 This SERVER-SIDE function is used for posting an event of the given type. More...
 
virtual void ProcessConfigString (const void *ConfigData, const char *ConfigString)
 THIS FUNCTION IS DEPRECATED! TRY TO AVOID TO USE IT! This DEPRECATED, SERVER-SIDE function is called in order to "communicate" with this entity. More...
 
virtual void Think (float FrameTime, unsigned long ServerFrameNr)
 This SERVER-SIDE function is called by the server in order to advance the world one clock-tick. More...
 
virtual void ProcessEvent (unsigned int EventType, unsigned int NumEvents)
 This CLIENT-SIDE function is called to process events on the client. More...
 
virtual bool GetLightSourceInfo (unsigned long &DiffuseColor, unsigned long &SpecularColor, VectorT &Position, float &Radius, bool &CastsShadows) const
 This CLIENT-SIDE function is called in order to retrieve light source information about this entity. More...
 
virtual void Draw (bool FirstPersonView, float LodDist) const
 This CLIENT-SIDE function is called by the client in order to get this entity drawn. More...
 
virtual void Interpolate (float FrameTime)
 This CLIENT-SIDE function is called by the client in order to advance all values of this entity that have been registered for interpolation. More...
 
virtual void PostDraw (float FrameTime, bool FirstPersonView)
 This CLIENT-SIDE function is called once per frame, for each entity, after the regular rendering (calls to 'Draw()') is completed, in order to provide entities an opportunity to render the HUD, employ simple "mini-prediction", triggers sounds, register particles, do other server-independent eye-candy, and so on. More...
 
- Public Member Functions inherited from GameEntityI
virtual ~GameEntityI ()
 The virtual destructor. More...
 
- Public Member Functions inherited from RefCountedT
unsigned int GetRefCount () const
 

Static Public Member Functions

static void * CreateInstance (const cf::TypeSys::CreateParamsT &Params)
 
- Static Public Member Functions inherited from DeathMatch::BaseEntityT
static void * CreateInstance (const cf::TypeSys::CreateParamsT &Params)
 
static int GetName (lua_State *L)
 
static int GetOrigin (lua_State *L)
 
static int SetOrigin (lua_State *L)
 

Static Public Attributes

static const cf::TypeSys::TypeInfoT TypeInfo
 
- Static Public Attributes inherited from DeathMatch::BaseEntityT
static const cf::TypeSys::TypeInfoT TypeInfo
 The type info object for (objects/instances of) this class. More...
 

Additional Inherited Members

- Public Attributes inherited from DeathMatch::BaseEntityT
const unsigned long ID
 
const std::map< std::string,
std::string > 
Properties
 The properties of this entities from the map file. More...
 
unsigned long ParentID
 
IntrusivePtrT
< cf::GameSys::EntityT
m_Entity
 The associated entity in the cf::GameSys::WorldT. More...
 
cf::GameSys::GameWorldIGameWorld
 Pointer to the game world implementation. More...
 
const
cf::ClipSys::CollisionModelT
CollisionModel
 The collision model of this entity, NULL for none. More...
 
cf::ClipSys::ClipModelT ClipModel
 The clip model of this entity. Note that clip models can take NULL collision model pointers, so that the ClipModel instance is always non-NULL and available. More...
 
- Protected Member Functions inherited from DeathMatch::BaseEntityT
 BaseEntityT (const EntityCreateParamsT &Params, const BoundingBox3dT &Dimensions, const unsigned int NUM_EVENT_TYPES)
 Protected constructor such that only concrete entities can call this for creating a BaseEntityT, but nobody else. More...
 
void Register (ApproxBaseT *Interp)
 Concrete entities call this method in their constructors in order to have us automatically interpolate the value that has been specified with the Interp instance. More...
 
- Protected Member Functions inherited from RefCountedT
 RefCountedT (const RefCountedT &)
 
RefCountedToperator= (const RefCountedT &)
 
- Protected Attributes inherited from DeathMatch::BaseEntityT
Vector3dT m_Origin
 World coordinate of (the eye of) this entity. More...
 
BoundingBox3dT m_Dimensions
 The bounding box of this entity (relative to the origin). More...
 
unsigned short m_Heading
 Heading (north is along the ??-axis). More...
 
unsigned short m_Pitch
 Pitch (for looking up/down). More...
 
unsigned short m_Bank
 Bank (e.g. used when dead and lying on the side). More...
 

Member Function Documentation

const cf::TypeSys::TypeInfoT * EntFuncLadderT::GetType ( ) const
virtual

Returns the proper type info for this entity.

Reimplemented from DeathMatch::BaseEntityT.


The documentation for this class was generated from the following files: