diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-06 01:41:35 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-06 01:41:35 +0200 |
commit | 96eee4f10ffd5b5fccf417aba580108b160e3842 (patch) | |
tree | a737b09b4d70ea55937210256105f50e94aa8fa7 /src/core/Camera.h | |
parent | Fixed a bunch of calculation mistakes in CHud (diff) | |
download | re3-96eee4f10ffd5b5fccf417aba580108b160e3842.tar re3-96eee4f10ffd5b5fccf417aba580108b160e3842.tar.gz re3-96eee4f10ffd5b5fccf417aba580108b160e3842.tar.bz2 re3-96eee4f10ffd5b5fccf417aba580108b160e3842.tar.lz re3-96eee4f10ffd5b5fccf417aba580108b160e3842.tar.xz re3-96eee4f10ffd5b5fccf417aba580108b160e3842.tar.zst re3-96eee4f10ffd5b5fccf417aba580108b160e3842.zip |
Diffstat (limited to 'src/core/Camera.h')
-rw-r--r-- | src/core/Camera.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/Camera.h b/src/core/Camera.h index de725b19..0fd372c3 100644 --- a/src/core/Camera.h +++ b/src/core/Camera.h @@ -380,11 +380,11 @@ uint32 unknown; CVector m_RealPreviousCameraPosition; CVector m_cvecAimingTargetCoors; CVector m_vecFixedModeVector; + CVector m_vecFixedModeSource; + CVector m_vecFixedModeUpOffSet; + CVector m_vecCutSceneOffset; - // one of those has to go - CVector m_vecFixedModeSource; - CVector m_vecFixedModeUpOffSet; -// CVector m_vecCutSceneOffset; + // one of those has to go CVector m_cvecStartingSourceForInterPol; CVector m_cvecStartingTargetForInterPol; CVector m_cvecStartingUpForInterPol; @@ -394,7 +394,7 @@ uint32 unknown; CVector m_vecSourceWhenInterPol; CVector m_vecTargetWhenInterPol; CVector m_vecUpWhenInterPol; - CVector m_vecClearGeometryVec; + //CVector m_vecClearGeometryVec; CVector m_vecGameCamPos; CVector SourceDuringInter; @@ -468,7 +468,8 @@ int m_iModeObbeCamIsInForCar; void DrawBordersForWideScreen(void); void Restore(void); - void SetWidescreenOff(void); + void SetWideScreenOn(void) { m_WideScreenOn = true; } + void SetWideScreenOff(void) { m_WideScreenOn = false; } float Find3rdPersonQuickAimPitch(void); @@ -487,8 +488,6 @@ int m_iModeObbeCamIsInForCar; void SetCamCutSceneOffSet(const CVector&); void TakeControlWithSpline(short); - void SetWideScreenOn(void) { m_WideScreenOn = true; } - void SetWideScreenOff(void) { m_WideScreenOn = false; } void RestoreWithJumpCut(void); void dtor(void) { this->CCamera::~CCamera(); } @@ -500,6 +499,7 @@ static_assert(offsetof(CCamera, m_uiTransitionState) == 0x89, "CCamera: error"); static_assert(offsetof(CCamera, m_uiTimeTransitionStart) == 0x94, "CCamera: error"); static_assert(offsetof(CCamera, m_BlurBlue) == 0x9C, "CCamera: error"); static_assert(offsetof(CCamera, Cams) == 0x1A4, "CCamera: error"); +static_assert(offsetof(CCamera, m_vecCutSceneOffset) == 0x6F8, "CCamera: error"); static_assert(sizeof(CCamera) == 0xE9D8, "CCamera: wrong size"); extern CCamera &TheCamera; |