diff options
author | _AG <gennariarmando@outlook.com> | 2019-07-07 15:16:54 +0200 |
---|---|---|
committer | _AG <gennariarmando@outlook.com> | 2019-07-07 15:16:54 +0200 |
commit | d1c6a6aaa6c17250e069d1267b27e13303d6e20f (patch) | |
tree | 76d55bfd8bcc8f72cdd4d261c0bb1eaa050e522a /src/core/Game.h | |
parent | Merge branch 'master' into master (diff) | |
parent | the great reorganization (diff) | |
download | re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.gz re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.bz2 re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.lz re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.xz re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.zst re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.zip |
Diffstat (limited to 'src/core/Game.h')
-rw-r--r-- | src/core/Game.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/core/Game.h b/src/core/Game.h new file mode 100644 index 00000000..3bc3e633 --- /dev/null +++ b/src/core/Game.h @@ -0,0 +1,37 @@ +#pragma once + +enum eLevelName +{ + LEVEL_NONE = 0, + LEVEL_INDUSTRIAL, + LEVEL_COMMERCIAL, + LEVEL_SUBURBAN +}; + +class CGame +{ +public: + static eLevelName &currLevel; + static bool &bDemoMode; + static bool &nastyGame; + static bool &frenchGame; + static bool &germanGame; + static bool &noProstitutes; + static bool &playingIntro; + static char *aDatFile; //[32]; + + static void Initialise(const char *datFile); + static bool InitialiseOnceBeforeRW(void); + static bool InitialiseRenderWare(void); + static bool InitialiseOnceAfterRW(void); + static void InitialiseWhenRestarting(void); + static void ShutDown(void); + static void ShutdownRenderWare(void); + static void FinalShutdown(void); + static void ShutDownForRestart(void); + static void Process(void); + + // NB: these do something on PS2 + static void TidyUpMemory(bool, bool) {} + static void DrasticTidyUpMemory(void) {} +}; |