Pyrogenesis
trunk
|
Public Member Functions | |
virtual int | GetComponentTypeId () const |
virtual void | Init (const CParamNode ¶mNode) |
virtual void | Deinit () |
virtual void | Serialize (ISerializer &serialize) |
virtual void | Deserialize (const CParamNode ¶mNode, IDeserializer &deserialize) |
virtual void | HandleMessage (const CMessage &msg, bool global) |
virtual void | RecomputeWaterData () |
Recompute all the water information (foam…) More... | |
virtual void | SetWaterLevel (entity_pos_t h) |
Set the height of the water level, as a constant value across the whole map. More... | |
virtual entity_pos_t | GetWaterLevel (entity_pos_t x, entity_pos_t z) const |
Get the current water level at the given point. More... | |
virtual float | GetExactWaterLevel (float x, float z) const |
Get the current water level at the given point. More... | |
Public Member Functions inherited from IComponent | |
virtual | ~IComponent () |
CEntityHandle | GetEntityHandle () const |
void | SetEntityHandle (CEntityHandle ent) |
entity_id_t | GetEntityId () const |
CEntityHandle | GetSystemEntity () const |
const CSimContext & | GetSimContext () const |
void | SetSimContext (const CSimContext &context) |
virtual bool | NewJSObject (ScriptInterface &scriptInterface, JS::MutableHandleObject out) const |
Returns false by default, indicating that a scripted wrapper of this IComponent is not supported. More... | |
virtual JS::Value | GetJSInstance () const |
Static Public Member Functions | |
static void | ClassInit (CComponentManager &componentManager) |
static IComponent * | Allocate (ScriptInterface &, JS::HandleValue) |
static void | Deallocate (IComponent *cmp) |
static std::string | GetSchema () |
Static Public Member Functions inherited from IComponent | |
static std::string | GetSchema () |
static u8 | GetSerializationVersion () |
Public Attributes | |
entity_pos_t | m_WaterHeight |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinevirtual |
Implements IComponent.
|
inlinevirtual |
Implements IComponent.
|
inlinevirtual |
Implements IComponent.
|
inlinevirtual |
Get the current water level at the given point.
Implements ICmpWaterManager.
|
inlinestatic |
|
inlinevirtual |
Get the current water level at the given point.
Implements ICmpWaterManager.
|
inlinevirtual |
Reimplemented from IComponent.
|
inlinevirtual |
Implements IComponent.
|
inlinevirtual |
Recompute all the water information (foam…)
Implements ICmpWaterManager.
|
inlinevirtual |
Implements IComponent.
|
inlinevirtual |
Set the height of the water level, as a constant value across the whole map.
Implements ICmpWaterManager.
entity_pos_t CCmpWaterManager::m_WaterHeight |