ScummVM API documentation
cMapHandler Class Reference
Inheritance diagram for cMapHandler:
hpl::iUpdateable

Public Member Functions

 cMapHandler (cInit *apInit)
 
bool Load (const tString &asFile, const tString &asStartPos)
 
bool LoadSimple (const tString &asFile, bool abLoadEntities)
 
void ChangeMap (const tString &asMap, const tString &asPos, const tString &asStartSound, const tString &asStopSound, float afFadeOutTime, float afFadeInTime, tString asLoadTextCat, tString asLoadTextEntry)
 
void AddSaveData (cSavedWorld *apSavedWorld)
 
void LoadSaveData (cSavedWorld *apSavedWorld)
 
void DestroyAll ()
 
void OnWorldLoad ()
 
void OnStart ()
 
void OnPostSceneDraw ()
 
void Update (float afTimeStep)
 
void Reset ()
 
void OnDraw ()
 
cWorldCache * GetWorldCache ()
 
cGameTimer * CreateTimer (const tString &asName, float afTime, const tString &asCallback, bool abGlobal)
 
cGameTimer * GetTimer (const tString &asName)
 
void AddLightFlash (const cVector3f &avPos, float afRadius, const cColor &aColor, float afAddTime, float afNegTime)
 
void AddGameEnemy (iGameEnemy *apEnemy)
 
tGameEnemyIterator GetGameEnemyIterator ()
 
void AddGameItem (cGameItem *apItem)
 
void RemoveGameItem (cGameItem *apItem)
 
void AddStickArea (cGameStickArea *apArea)
 
void RemoveStickArea (cGameStickArea *apArea)
 
cGameStickArea * GetBodyStickArea (iPhysicsBody *apBody)
 
void AddGameEntity (iGameEntity *apEntity)
 
void RemoveGameEntity (iGameEntity *apEntity)
 
iGameEntity * GetGameEntity (const tString &asName, bool abErrorMessage=true)
 
tGameEntityIterator GetGameEntityIterator ()
 
iGameEntity * GetLatestEntity ()
 
const tString & GetCurrentMapName ()
 
void SetCurrentMapName (const tString &asName)
 
double GetGameTime ()
 
bool IsPreUpdating ()
 
void SetMapGameName (const tWString &asName)
 
tWString GetMapGameName ()
 
bool IsDestroyingAll ()
 
bool IsChangingMap ()
 
void SaveToGlobal (cMapHandler_GlobalSave *apSave)
 
void LoadFromGlobal (cMapHandler_GlobalSave *apSave)
 
- Public Member Functions inherited from hpl::iUpdateable
 iUpdateable (const tString &asName)
 
virtual void OnDraw ()
 
virtual void OnPostSceneDraw ()
 
virtual void OnPostGUIDraw ()
 
virtual void OnPostBufferSwap ()
 
virtual void OnStart ()
 
virtual void Update (float afTimeStep)
 
virtual void OnExit ()
 
virtual void Reset ()
 
const tString & GetName ()
 

Member Function Documentation

◆ OnStart()

void cMapHandler::OnStart ( )
virtual

Reimplemented from hpl::iUpdateable.

◆ OnPostSceneDraw()

void cMapHandler::OnPostSceneDraw ( )
virtual

Reimplemented from hpl::iUpdateable.

◆ Update()

void cMapHandler::Update ( float  afTimeStep)
virtual

Reimplemented from hpl::iUpdateable.

◆ Reset()

void cMapHandler::Reset ( )
virtual

Reimplemented from hpl::iUpdateable.

◆ OnDraw()

void cMapHandler::OnDraw ( )
virtual

Reimplemented from hpl::iUpdateable.


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