diff options
author | aap <aap@papnet.eu> | 2019-07-07 13:09:11 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-07 13:09:11 +0200 |
commit | 53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb (patch) | |
tree | fc65a6c40fa719f9d43be9e0e15be79c490135e0 /src/core/Game.h | |
parent | finished CPhysical (diff) | |
download | re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.gz re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.bz2 re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.lz re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.xz re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.zst re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.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) {} +}; |