Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Public Member Functions | |
int | GetComponentTypeId () const override |
void | Init (const CParamNode ¶mNode) override |
void | Deinit () override |
void | Serialize (ISerializer &serializer) override |
void | Deserialize (const CParamNode ¶mNode, IDeserializer &deserializer) override |
void | HandleMessage (const CMessage &msg, bool global) override |
void | AddPath (const CCinemaPath &path) override |
Adds the path to the path list. More... | |
void | AddCinemaPathToQueue (const CStrW &name) override |
Adds the path to the playlist. More... | |
void | Play () override |
void | Stop () override |
bool | HasPath (const CStrW &name) const override |
Checks the path name in the path list. More... | |
void | ClearQueue () override |
Clears the playlist. More... | |
void | DeletePath (const CStrW &name) override |
const std::map< CStrW, CCinemaPath > & | GetPaths () const override |
void | SetPaths (const std::map< CStrW, CCinemaPath > &newPaths) override |
const std::list< CCinemaPath > & | GetQueue () const override |
bool | IsEnabled () const override |
void | SetEnabled (bool enabled) override |
Sets enable state of the cinema manager (shows/hide gui, show/hide rings, etc) More... | |
void | PlayQueue (const float deltaRealTime, CCamera *camera) override |
virtual void | AddPath (const CCinemaPath &path)=0 |
Adds the path to the path list. More... | |
virtual void | AddCinemaPathToQueue (const CStrW &name)=0 |
Adds the path to the playlist. More... | |
virtual void | Play ()=0 |
virtual void | Stop ()=0 |
virtual void | PlayQueue (const float deltaRealTime, CCamera *camera)=0 |
virtual bool | HasPath (const CStrW &name) const =0 |
Checks the path name in the path list. More... | |
virtual void | DeletePath (const CStrW &name)=0 |
virtual void | ClearQueue ()=0 |
Clears the playlist. More... | |
virtual const std::map< CStrW, CCinemaPath > & | GetPaths () const =0 |
virtual void | SetPaths (const std::map< CStrW, CCinemaPath > &newPaths)=0 |
virtual const std::list< CCinemaPath > & | GetQueue () const =0 |
virtual bool | IsEnabled () const =0 |
virtual void | SetEnabled (bool enabled)=0 |
Sets enable state of the cinema manager (shows/hide gui, show/hide rings, etc) More... | |
Public Member Functions inherited from IComponent | |
virtual | ~IComponent () |
virtual void | Init (const CParamNode ¶mNode)=0 |
virtual void | Deinit ()=0 |
virtual void | HandleMessage (const CMessage &msg, bool global) |
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 void | Serialize (ISerializer &serialize)=0 |
virtual void | Deserialize (const CParamNode ¶mNode, IDeserializer &deserialize)=0 |
virtual bool | NewJSObject (const 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 |
virtual int | GetComponentTypeId () const =0 |
Static Public Member Functions | |
static void | ClassInit (CComponentManager &componentManager) |
static IComponent * | Allocate (const ScriptInterface &, JS::HandleValue) |
static void | Deallocate (IComponent *cmp) |
static std::string | GetSchema () |
Static Public Member Functions inherited from IComponent | |
static std::string | GetSchema () |
static void | RegisterComponentType (CComponentManager &mgr, EInterfaceId iid, EComponentTypeId cid, AllocFunc alloc, DeallocFunc dealloc, const char *name, const std::string &schema) |
static void | RegisterComponentTypeScriptWrapper (CComponentManager &mgr, EInterfaceId iid, EComponentTypeId cid, AllocFunc alloc, DeallocFunc dealloc, const char *name, const std::string &schema) |
static u8 | GetSerializationVersion () |
Private Member Functions | |
void | SerializePath (const CCinemaPath &path, ISerializer &serializer) |
CCinemaPath | DeserializePath (IDeserializer &deserializer) |
Private Attributes | |
bool | m_Enabled |
std::map< CStrW, CCinemaPath > | m_Paths |
std::list< CCinemaPath > | m_PathQueue |
bool | m_MapRevealed |
fixed | m_ElapsedTime |
fixed | m_TotalTime |
fixed | m_CurrentPathElapsedTime |
Additional Inherited Members | |
Public Types inherited from IComponent | |
using | AllocFunc = IComponent *(*)(const ScriptInterface &scriptInterface, JS::HandleValue ctor) |
using | DeallocFunc = void(*)(IComponent *) |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlinestatic |
|
inlinestatic |
|
inlineoverridevirtual |
Clears the playlist.
Implements ICmpCinemaManager.
|
inlinestatic |
|
inlineoverridevirtual |
Implements IComponent.
|
inlineoverridevirtual |
Implements ICmpCinemaManager.
|
inlineoverridevirtual |
Implements IComponent.
|
inlineprivate |
|
inlineoverridevirtual |
Implements IComponent.
|
inlineoverridevirtual |
Implements ICmpCinemaManager.
|
inlineoverridevirtual |
Implements ICmpCinemaManager.
|
inlinestatic |
|
inlineoverridevirtual |
Reimplemented from IComponent.
|
inlineoverridevirtual |
Checks the path name in the path list.
name | path name |
Implements ICmpCinemaManager.
|
inlineoverridevirtual |
Implements IComponent.
|
inlineoverridevirtual |
Implements ICmpCinemaManager.
|
inlineoverridevirtual |
Implements ICmpCinemaManager.
|
inlineoverridevirtual |
Implements ICmpCinemaManager.
|
inlineoverridevirtual |
Implements IComponent.
|
inlineprivate |
|
inlineoverridevirtual |
Sets enable state of the cinema manager (shows/hide gui, show/hide rings, etc)
enable | new state |
Implements ICmpCinemaManager.
|
inlineoverridevirtual |
Implements ICmpCinemaManager.
|
inlineoverridevirtual |
Implements ICmpCinemaManager.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |