28 #ifndef GAME_SAVE_HANDLER_H 29 #define GAME_SAVE_HANDLER_H 31 #include "hpl1/engine/engine.h" 37 #include "hpl1/penumbra-overture/GameTypes.h" 38 #include "hpl1/penumbra-overture/SaveTypes.h" 61 bool mbEnemyClosePlaying;
100 eGameItemType mItemType;
178 int mlStat_NumOfSaves;
182 float mfForwardUpMul;
183 float mfForwardRightMul;
189 bool mbRotateWithPlayer;
190 bool mbUseNormalMass;
201 float mfHealthSpeedMul;
203 float mfHeadMoveSizeMul;
204 float mfHeadMoveSpeedMul;
208 ePlayerMoveState mMoveState;
210 eCrossHairState mCrossHairState;
224 bool mbFlashlightActive;
225 bool mbFlashlightDisabled;
226 bool mbGlowstickActive;
252 float mfFogStartDist;
288 bool BeamExists(
cBeam *apPS);
300 void ResetGlobalData();
304 eGameDifficulty mDifficulty;
330 void SaveData(
const tString &asName);
331 void LoadData(
const tString &asName);
333 void SaveGameToFile(
const tWString &asFile);
334 void LoadGameFromFile(
const tWString &asFile,
bool drawLoadingScreen =
true);
336 void AutoSave(
const tWString &asDir,
int alMaxSaves);
337 void AutoLoad(
const tWString &asDir);
339 void ClearSavedMaps();
347 const tWString &GetSaveDir() {
return msSaveDir; }
349 void DeleteOldestIfMax(
const tWString &asDir,
const tWString &asMask,
int alMaxFiles);
359 #endif // GAME_SAVE_HANDLER_H
Definition: SaveHandler.h:164
Definition: SaveHandler.h:124
Definition: SaveHandler.h:44
Definition: SaveHandler.h:323
Definition: SystemTypes.h:154
Definition: SaveHandler.h:68
Definition: SaveHandler.h:89
Definition: SaveHandler.h:113
Definition: SerializeClass.h:230
Definition: SaveHandler.h:93
Definition: GameEntity.h:76
Definition: SaveHandler.h:130
Definition: SaveHandler.h:52
Definition: SaveHandler.h:172
Definition: SaveHandler.h:239
Definition: Container.h:219
Definition: Updateable.h:35
Definition: SaveHandler.h:73
Definition: SaveHandler.h:295
Definition: SaveHandler.h:80
Definition: ParticleSystem3D.h:90
Definition: SaveHandler.h:58
Definition: SaveHandler.h:151
Definition: SoundEntity.h:86
Definition: PhysicsJoint.h:135
Definition: SaveHandler.h:137