diff options
author | aap <aap@papnet.eu> | 2019-06-28 19:23:28 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-28 19:23:28 +0200 |
commit | 48cf8b6629da53443be6b1580ee15ad768c53370 (patch) | |
tree | d6bdeb18130b49096a995789840faf382f68f7ee /src/Game.cpp | |
parent | Merge pull request #67 from gennariarmando/master (diff) | |
download | re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.gz re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.bz2 re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.lz re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.xz re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.zst re3-48cf8b6629da53443be6b1580ee15ad768c53370.zip |
Diffstat (limited to 'src/Game.cpp')
-rw-r--r-- | src/Game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Game.cpp b/src/Game.cpp index f158e9db..cbd55c48 100644 --- a/src/Game.cpp +++ b/src/Game.cpp @@ -2,7 +2,7 @@ #include "patcher.h" #include "Game.h" -int &CGame::currLevel = *(int*)0x941514; +eLevelName &CGame::currLevel = *(eLevelName*)0x941514; bool &CGame::bDemoMode = *(bool*)0x5F4DD0; bool &CGame::nastyGame = *(bool*)0x5F4DD4; bool &CGame::frenchGame = *(bool*)0x95CDCB; @@ -11,6 +11,7 @@ bool &CGame::noProstitutes = *(bool*)0x95CDCF; bool &CGame::playingIntro = *(bool*)0x95CDC2; char *CGame::aDatFile = (char*)0x773A48; +WRAPPER void CGame::Initialise(const char *datFile) { EAXJMP(0x48BED0); } WRAPPER void CGame::Process(void) { EAXJMP(0x48C850); } WRAPPER bool CGame::InitialiseOnceBeforeRW(void) { EAXJMP(0x48BB80); } WRAPPER bool CGame::InitialiseRenderWare(void) { EAXJMP(0x48BBA0); } |