28 #ifndef GAME_MAP_HANDLER_H 29 #define GAME_MAP_HANDLER_H 31 #include "hpl1/engine/engine.h" 48 typedef tGameEntityMap::iterator tGameEntityMapIt;
88 int GetCount() {
return mlCount; }
121 void Update(
float afTimeStep);
123 bool IsDead() {
return mbDead; }
163 bool LoadSimple(
const tString &asFile,
bool abLoadEntities);
166 const tString &asStopSound,
float afFadeOutTime,
float afFadeInTime,
176 void OnPostSceneDraw();
177 void Update(
float afTimeStep);
181 cWorldCache *GetWorldCache() {
return mpWorldCache; }
186 void AddLightFlash(
const cVector3f &avPos,
float afRadius,
const cColor &aColor,
float afAddTime,
float afNegTime);
204 const tString &GetCurrentMapName() {
return msCurrentMap; }
205 void SetCurrentMapName(
const tString &asName) { msCurrentMap = asName; }
206 double GetGameTime() {
return mfGameTime; }
207 bool IsPreUpdating() {
return mbPreUpdating; }
209 void SetMapGameName(
const tWString &asName) { msMapGameName = asName; }
210 tWString GetMapGameName() {
return msMapGameName; }
212 bool IsDestroyingAll() {
return mbDestroyingAll; }
214 bool IsChangingMap() {
return mMapChanger.mbActive; }
222 void RenderItemEffect();
224 void PrintSoundsPlaying();
226 void PreUpdate(
double afTimeSinceVisit);
228 double AddLoadedMap(
cWorld3D *apWorld);
230 void UpdateTimers(
float afTimeStep);
231 void RemoveLocalTimers();
263 bool mbDestroyingAll;
266 #endif // GAME_MAP_HANDLER_H
Definition: SystemTypes.h:467
Definition: MapHandler.h:67
Definition: GameItem.h:62
Definition: Light3D.h:117
T * iterator
Definition: array.h:54
Definition: MapHandler.h:143
Definition: MapHandler.h:80
Definition: GameStickArea.h:68
Definition: SoundEntity.h:75
Definition: SystemTypes.h:411
Definition: PhysicsBody.h:117
Definition: World3D.h:179
Definition: MapHandler.h:103
Definition: SaveHandler.h:239
Definition: Updateable.h:35
Definition: Resources.h:160
Definition: GameTypes.h:222
Definition: SaveHandler.h:151
Definition: list_intern.h:51
Definition: MapHandler.h:116
Definition: SoundEntity.h:86
Definition: GameEnemy.h:189
Definition: GameEntity.h:126
Definition: MapHandler.h:155