summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
author_AG <gennariarmando@outlook.com>2019-06-20 02:31:03 +0200
committer_AG <gennariarmando@outlook.com>2019-06-20 02:32:36 +0200
commit2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd (patch)
tree4cbfefeedd462f46b29d4b1c9004f17eefebc364 /src/control/Script.cpp
parentfinally finished CVehicleModelInfo (diff)
downloadre3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.gz
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.bz2
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.lz
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.xz
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.zst
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.zip
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r--src/control/Script.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 7cea978f..68212e2c 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -7,3 +7,7 @@ uint8 *CTheScripts::ScriptSpace = (uint8*)0x74B248;
CTextLine* CTheScripts::IntroTextLines = (CTextLine*)0x70EA74;
CScriptRectangle* CTheScripts::IntroRectangles = (CScriptRectangle*)0x72D109;
CSprite2d* CTheScripts::ScriptSprites = (CSprite2d*)0x72B090;
+bool CTheScripts::DbgFlag = *(bool*)0x95CD87;
+uint32 CTheScripts::OnAMissionFlag = *(uint32*)0x8F1B64;
+
+WRAPPER bool CTheScripts::IsPlayerOnAMission() { EAXJMP(0x439410); }