summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-09-28 16:03:00 +0200
committerSergeanur <s.anureev@yandex.ua>2019-09-28 16:03:00 +0200
commit6362ceeff305b47063622b2ce19152b699963a66 (patch)
treed16815e9acca0977116f9f87b201bb9873bd150d /src/core/Camera.h
parentMerge pull request #211 from erorcun/erorcun (diff)
downloadre3-6362ceeff305b47063622b2ce19152b699963a66.tar
re3-6362ceeff305b47063622b2ce19152b699963a66.tar.gz
re3-6362ceeff305b47063622b2ce19152b699963a66.tar.bz2
re3-6362ceeff305b47063622b2ce19152b699963a66.tar.lz
re3-6362ceeff305b47063622b2ce19152b699963a66.tar.xz
re3-6362ceeff305b47063622b2ce19152b699963a66.tar.zst
re3-6362ceeff305b47063622b2ce19152b699963a66.zip
Diffstat (limited to 'src/core/Camera.h')
-rw-r--r--src/core/Camera.h11
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 &center, const CMatrix *mat);
bool IsSphereVisible(const CVector &center, float radius, const CMatrix *mat);
bool IsSphereVisible(const CVector &center, 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");