summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-03-23 00:34:41 +0100
committerGitHub <noreply@github.com>2020-03-23 00:34:41 +0100
commit4070cad4a746728f0282862aa0a0063c15bbc86e (patch)
treefd780f1f980c6d2036f8b57c32f75e203c7b39a8 /src/control
parentFix order of math operations on integers (fires) (diff)
parentmerge with upstream (diff)
downloadre3-4070cad4a746728f0282862aa0a0063c15bbc86e.tar
re3-4070cad4a746728f0282862aa0a0063c15bbc86e.tar.gz
re3-4070cad4a746728f0282862aa0a0063c15bbc86e.tar.bz2
re3-4070cad4a746728f0282862aa0a0063c15bbc86e.tar.lz
re3-4070cad4a746728f0282862aa0a0063c15bbc86e.tar.xz
re3-4070cad4a746728f0282862aa0a0063c15bbc86e.tar.zst
re3-4070cad4a746728f0282862aa0a0063c15bbc86e.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Record.cpp2
-rw-r--r--src/control/Record.h2
-rw-r--r--src/control/SceneEdit.cpp1
-rw-r--r--src/control/SceneEdit.h1
4 files changed, 6 insertions, 0 deletions
diff --git a/src/control/Record.cpp b/src/control/Record.cpp
index ab0b478c..7c330311 100644
--- a/src/control/Record.cpp
+++ b/src/control/Record.cpp
@@ -7,6 +7,7 @@ uint16 &CRecordDataForGame::RecordingState = *(uint16*)0x95CC24;
uint8 &CRecordDataForChase::Status = *(uint8*)0x95CDCE;
WRAPPER void CRecordDataForGame::SaveOrRetrieveDataForThisFrame(void) { EAXJMP(0x4341F0); }
+WRAPPER void CRecordDataForGame::Init(void) { EAXJMP(0x4340F0); }
WRAPPER void CRecordDataForChase::SaveOrRetrieveDataForThisFrame(void) { EAXJMP(0x4347F0); }
WRAPPER void CRecordDataForChase::ProcessControlCars(void) { EAXJMP(0x435540); }
@@ -15,3 +16,4 @@ WRAPPER void CRecordDataForChase::StartChaseScene(float) { EAXJMP(0x435690); }
WRAPPER void CRecordDataForChase::CleanUpChaseScene() { EAXJMP(0x4357C0); }
WRAPPER void CRecordDataForChase::RemoveCarFromChase(int32) { EAXJMP(0x435BC0); }
WRAPPER CVehicle* CRecordDataForChase::TurnChaseCarIntoScriptCar(int32) { EAXJMP(0x435C00); }
+WRAPPER void CRecordDataForChase::Init(void) { EAXJMP(0x434780); }
diff --git a/src/control/Record.h b/src/control/Record.h
index f36c2718..e52a623e 100644
--- a/src/control/Record.h
+++ b/src/control/Record.h
@@ -20,6 +20,7 @@ public:
static void CleanUpChaseScene();
static void RemoveCarFromChase(int32);
static CVehicle* TurnChaseCarIntoScriptCar(int32);
+ static void Init(void);
};
@@ -29,4 +30,5 @@ public:
static uint16 &RecordingState;
static void SaveOrRetrieveDataForThisFrame(void);
+ static void Init(void);
};
diff --git a/src/control/SceneEdit.cpp b/src/control/SceneEdit.cpp
index 287b3c98..28b4ea6c 100644
--- a/src/control/SceneEdit.cpp
+++ b/src/control/SceneEdit.cpp
@@ -3,3 +3,4 @@
#include "SceneEdit.h"
WRAPPER void CSceneEdit::Update(void) { EAXJMP(0x585570); }
+WRAPPER void CSceneEdit::Init(void) { EAXJMP(0x585170); }
diff --git a/src/control/SceneEdit.h b/src/control/SceneEdit.h
index f44b0011..e9209b90 100644
--- a/src/control/SceneEdit.h
+++ b/src/control/SceneEdit.h
@@ -4,4 +4,5 @@ class CSceneEdit
{
public:
static void Update(void);
+ static void Init(void);
};