summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-03-27 18:41:22 +0100
committerGitHub <noreply@github.com>2020-03-27 18:41:22 +0100
commit29f69f6216fa629786415e8062ceab3d671ac912 (patch)
treea59a5d54c5a33cdc1c5bd91535331ec2b5955472 /src/control
parentMerge pull request #356 from blingu/master (diff)
parentimplemented some unused PS2 cams (diff)
downloadre3-29f69f6216fa629786415e8062ceab3d671ac912.tar
re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.gz
re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.bz2
re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.lz
re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.xz
re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.zst
re3-29f69f6216fa629786415e8062ceab3d671ac912.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/SceneEdit.cpp5
-rw-r--r--src/control/SceneEdit.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/control/SceneEdit.cpp b/src/control/SceneEdit.cpp
index 28b4ea6c..4c05e11b 100644
--- a/src/control/SceneEdit.cpp
+++ b/src/control/SceneEdit.cpp
@@ -2,5 +2,10 @@
#include "patcher.h"
#include "SceneEdit.h"
+int32 &CSceneEdit::m_bCameraFollowActor = *(int*)0x940590;
+bool &CSceneEdit::m_bRecording = *(bool*)0x95CD1F;
+CVector &CSceneEdit::m_vecCurrentPosition = *(CVector*)0x943064;
+CVector &CSceneEdit::m_vecCamHeading = *(CVector*)0x942F8C;
+
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 e9209b90..ec321b27 100644
--- a/src/control/SceneEdit.h
+++ b/src/control/SceneEdit.h
@@ -3,6 +3,11 @@
class CSceneEdit
{
public:
+ static int32 &m_bCameraFollowActor;
+ static bool &m_bRecording;
+ static CVector &m_vecCurrentPosition;
+ static CVector &m_vecCamHeading;
+
static void Update(void);
static void Init(void);
};