diff options
author | erorcun <erayorcunus@gmail.com> | 2019-09-28 18:29:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-28 18:29:06 +0200 |
commit | 2d09a4b01347df4e552c746f5cc4c4a1eaba6586 (patch) | |
tree | 9d074f55b82c0a8eb1c7bb9daa8190db1219156c /src/core/Camera.h | |
parent | Merge pull request #211 from erorcun/erorcun (diff) | |
parent | Added CUTSCENEDIRSIZE to Config enum and CUTSCENENAMESIZE macro (diff) | |
download | re3-2d09a4b01347df4e552c746f5cc4c4a1eaba6586.tar re3-2d09a4b01347df4e552c746f5cc4c4a1eaba6586.tar.gz re3-2d09a4b01347df4e552c746f5cc4c4a1eaba6586.tar.bz2 re3-2d09a4b01347df4e552c746f5cc4c4a1eaba6586.tar.lz re3-2d09a4b01347df4e552c746f5cc4c4a1eaba6586.tar.xz re3-2d09a4b01347df4e552c746f5cc4c4a1eaba6586.tar.zst re3-2d09a4b01347df4e552c746f5cc4c4a1eaba6586.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Camera.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/Camera.h b/src/core/Camera.h index 1f38963b..de725b19 100644 --- a/src/core/Camera.h +++ b/src/core/Camera.h @@ -444,6 +444,7 @@ int m_iModeObbeCamIsInForCar; bool Get_Just_Switched_Status() { return m_bJust_Switched; } inline const CMatrix& GetCameraMatrix(void) { return m_cameraMatrix; } CVector &GetGameCamPosition(void) { return m_vecGameCamPos; } + float GetPositionAlongSpline(void) { return m_fPositionAlongSpline; } bool IsPointVisible(const CVector ¢er, const CMatrix *mat); bool IsSphereVisible(const CVector ¢er, float radius, const CMatrix *mat); bool IsSphereVisible(const CVector ¢er, float radius); @@ -480,6 +481,16 @@ int m_iModeObbeCamIsInForCar; void SetRwCamera(RwCamera*); void Process(); + void LoadPathSplines(int file); + uint32 GetCutSceneFinishTime(void); + void FinishCutscene(void); + + 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(); } }; static_assert(offsetof(CCamera, m_WideScreenOn) == 0x70, "CCamera: error"); |