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/CutsceneMgr.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/CutsceneMgr.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/core/CutsceneMgr.h b/src/core/CutsceneMgr.h index aa5a2eb2..9b942030 100644 --- a/src/core/CutsceneMgr.h +++ b/src/core/CutsceneMgr.h @@ -1,7 +1,11 @@ #pragma once #include "CutsceneObject.h" +#define CUTSCENENAMESIZE 8 + class CDirectory; +class CAnimBlendAssocGroup; +class CCutsceneHead; class CCutsceneMgr { @@ -9,10 +13,35 @@ class CCutsceneMgr static bool &ms_cutsceneProcessing; static CCutsceneObject *(&ms_pCutsceneObjects)[NUMCUTSCENEOBJECTS]; + static int32 &ms_numCutsceneObjs; + static bool &ms_loaded; + static bool &ms_animLoaded; + static bool &ms_useLodMultiplier; + + static char(&ms_cutsceneName)[CUTSCENENAMESIZE]; + static CAnimBlendAssocGroup &ms_cutsceneAssociations; + static CVector &ms_cutsceneOffset; + static float &ms_cutsceneTimer; public: static CDirectory *&ms_pCutsceneDir; + static uint32 &ms_cutsceneLoadStatus; static bool IsRunning(void) { return ms_running; } static bool IsCutsceneProcessing(void) { return ms_cutsceneProcessing; } static CCutsceneObject* GetCutsceneObject(int id) { return ms_pCutsceneObjects[id]; } + static int GetCutsceneTimeInMilleseconds(void) { return 1000.0f * ms_cutsceneTimer; } + static char *GetCutsceneName(void) { return ms_cutsceneName; } + static bool HasCutsceneFinished(void); + + static void Initialise(void); + static void Shutdown(void); + static void LoadCutsceneData(const char *szCutsceneName); + static void FinishCutscene(void); + static void SetHeadAnim(const char *animName, CObject *pObject); + static void SetupCutsceneToStart(void); + static void SetCutsceneAnim(const char *animName, CObject *pObject); + static CCutsceneHead *AddCutsceneHead(CObject *pObject, int modelId); + static CCutsceneObject *CreateCutsceneObject(int modelId); + static void DeleteCutsceneData(void); + static void Update(void); }; |