summaryrefslogtreecommitdiffstats
path: root/src/core/CutsceneMgr.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/CutsceneMgr.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/CutsceneMgr.h')
-rw-r--r--src/core/CutsceneMgr.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/core/CutsceneMgr.h b/src/core/CutsceneMgr.h
index aa5a2eb2..4f62d7c8 100644
--- a/src/core/CutsceneMgr.h
+++ b/src/core/CutsceneMgr.h
@@ -2,6 +2,8 @@
#include "CutsceneObject.h"
class CDirectory;
+class CAnimBlendAssocGroup;
+class CCutsceneHead;
class CCutsceneMgr
{
@@ -9,10 +11,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)[8];
+ 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() { 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);
};