summaryrefslogtreecommitdiffstats
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r--src/core/Game.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
new file mode 100644
index 00000000..cbd55c48
--- /dev/null
+++ b/src/core/Game.cpp
@@ -0,0 +1,23 @@
+#include "common.h"
+#include "patcher.h"
+#include "Game.h"
+
+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;
+
+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); }
+WRAPPER void CGame::ShutdownRenderWare(void) { EAXJMP(0x48BCB0); }
+WRAPPER void CGame::FinalShutdown(void) { EAXJMP(0x48BEC0); }
+WRAPPER void CGame::ShutDown(void) { EAXJMP(0x48C3A0); }
+WRAPPER void CGame::ShutDownForRestart(void) { EAXJMP(0x48C6B0); }
+WRAPPER void CGame::InitialiseWhenRestarting(void) { EAXJMP(0x48C740); }
+WRAPPER bool CGame::InitialiseOnceAfterRW(void) { EAXJMP(0x48BD50); }