diff options
author | aap <aap@papnet.eu> | 2020-03-27 18:41:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 18:41:22 +0100 |
commit | 29f69f6216fa629786415e8062ceab3d671ac912 (patch) | |
tree | a59a5d54c5a33cdc1c5bd91535331ec2b5955472 /src/control | |
parent | 9e49e5c2bd4526355410d647e353067fcfdcaf2d (diff) | |
parent | 22e022cc9f71bf08027ac37e17e5dafd5173858b (diff) |
Merge pull request #357 from aap/master
Finished CCam; various smaller things
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/SceneEdit.cpp | 5 | ||||
-rw-r--r-- | src/control/SceneEdit.h | 5 |
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); }; |