summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-22 15:23:40 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-22 15:23:40 +0100
commit34b18815286938176b0462ba5a97ea03195409fb (patch)
tree62e01aacd06b12acb897dc48b45ca800ed77d44d /src/control
parentbullet traces fixes (diff)
downloadre3-34b18815286938176b0462ba5a97ea03195409fb.tar
re3-34b18815286938176b0462ba5a97ea03195409fb.tar.gz
re3-34b18815286938176b0462ba5a97ea03195409fb.tar.bz2
re3-34b18815286938176b0462ba5a97ea03195409fb.tar.lz
re3-34b18815286938176b0462ba5a97ea03195409fb.tar.xz
re3-34b18815286938176b0462ba5a97ea03195409fb.tar.zst
re3-34b18815286938176b0462ba5a97ea03195409fb.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);
};