summaryrefslogtreecommitdiffstats
path: root/src/core/CutsceneMgr.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-14 23:10:50 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-14 23:10:50 +0200
commite373d0526ef07183cba8e89aba46f2ab416e67ba (patch)
treee6b2052e078cd2ad2ae1503262421c6858a20a0f /src/core/CutsceneMgr.h
parentCFont (diff)
parentRwMatFX support with linked RW libs (diff)
downloadre3-e373d0526ef07183cba8e89aba46f2ab416e67ba.tar
re3-e373d0526ef07183cba8e89aba46f2ab416e67ba.tar.gz
re3-e373d0526ef07183cba8e89aba46f2ab416e67ba.tar.bz2
re3-e373d0526ef07183cba8e89aba46f2ab416e67ba.tar.lz
re3-e373d0526ef07183cba8e89aba46f2ab416e67ba.tar.xz
re3-e373d0526ef07183cba8e89aba46f2ab416e67ba.tar.zst
re3-e373d0526ef07183cba8e89aba46f2ab416e67ba.zip
Diffstat (limited to 'src/core/CutsceneMgr.h')
-rw-r--r--src/core/CutsceneMgr.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/src/core/CutsceneMgr.h b/src/core/CutsceneMgr.h
deleted file mode 100644
index 7b809964..00000000
--- a/src/core/CutsceneMgr.h
+++ /dev/null
@@ -1,50 +0,0 @@
-#pragma once
-#include "CutsceneObject.h"
-
-#define CUTSCENENAMESIZE 8
-
-class CDirectory;
-class CAnimBlendAssocGroup;
-class CCutsceneHead;
-
-class CCutsceneMgr
-{
- static bool &ms_running;
- 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;
- static bool &ms_cutsceneProcessing;
-public:
- static CDirectory *&ms_pCutsceneDir;
- static uint32 &ms_cutsceneLoadStatus;
-
- static void SetRunning(bool running) { ms_running = running; }
- static bool IsRunning(void) { return ms_running; }
- static bool IsCutsceneProcessing(void) { return ms_cutsceneProcessing; }
- static bool UseLodMultiplier(void) { return ms_useLodMultiplier; }
- 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 void SetCutsceneOffset(const CVector& vec) { ms_cutsceneOffset = vec; }
- 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);
-};