diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-17 09:17:38 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-17 09:17:38 +0200 |
commit | b9c8ce0d37b2f094e2d8fe1a71db009718a0a006 (patch) | |
tree | 4861c474aa232d2914f5b6b3bc11a8e62a9ceccb /src/core/Game.cpp | |
parent | Merge remote-tracking branch 'samler/world' into Standalone (diff) | |
parent | rem refs (diff) | |
download | re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.gz re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.bz2 re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.lz re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.xz re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.zst re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Game.cpp | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index 8699ffeb..f115d52f 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -89,19 +89,19 @@ -eLevelName &CGame::currLevel = *(eLevelName*)0x941514; -bool &CGame::bDemoMode = *(bool*)0x5F4DD0; -bool &CGame::nastyGame = *(bool*)0x5F4DD4; -bool &CGame::frenchGame = *(bool*)0x95CDCB; -bool &CGame::germanGame = *(bool*)0x95CD1E; -bool &CGame::noProstitutes = *(bool*)0x95CDCF; -bool &CGame::playingIntro = *(bool*)0x95CDC2; -char *CGame::aDatFile = (char*)0x773A48; +eLevelName CGame::currLevel; +bool CGame::bDemoMode = true; +bool CGame::nastyGame = true; +bool CGame::frenchGame; +bool CGame::germanGame; +bool CGame::noProstitutes; +bool CGame::playingIntro; +char CGame::aDatFile[32]; #ifdef MORE_LANGUAGES bool CGame::russianGame = false; #endif -int &gameTxdSlot = *(int*)0x628D88; +int gameTxdSlot; bool CGame::InitialiseOnceBeforeRW(void) @@ -115,7 +115,9 @@ CGame::InitialiseOnceBeforeRW(void) bool CGame::InitialiseRenderWare(void) { +#ifdef USE_TEXTURE_POOL _TexturePoolsInitialise(); +#endif CTxdStore::Initialise(); CVisibilityPlugins::Initialise(); @@ -188,7 +190,9 @@ void CGame::ShutdownRenderWare(void) CVisibilityPlugins::Shutdown(); +#ifdef USE_TEXTURE_POOL _TexturePoolsShutdown(); +#endif } bool CGame::InitialiseOnceAfterRW(void) |