summaryrefslogtreecommitdiffstats
path: root/src/core/CutsceneMgr.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-09-12 02:43:18 +0200
committereray orçunus <erayorcunus@gmail.com>2019-09-12 02:46:15 +0200
commit14c7c1d7ca722935195a20817c96b1af75046359 (patch)
tree0ed77a2bf6d999ff94b8c70aca1795db4b9173c7 /src/core/CutsceneMgr.h
parentMerge pull request #202 from erorcun/erorcun (diff)
downloadre3-14c7c1d7ca722935195a20817c96b1af75046359.tar
re3-14c7c1d7ca722935195a20817c96b1af75046359.tar.gz
re3-14c7c1d7ca722935195a20817c96b1af75046359.tar.bz2
re3-14c7c1d7ca722935195a20817c96b1af75046359.tar.lz
re3-14c7c1d7ca722935195a20817c96b1af75046359.tar.xz
re3-14c7c1d7ca722935195a20817c96b1af75046359.tar.zst
re3-14c7c1d7ca722935195a20817c96b1af75046359.zip
Diffstat (limited to 'src/core/CutsceneMgr.h')
-rw-r--r--src/core/CutsceneMgr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/CutsceneMgr.h b/src/core/CutsceneMgr.h
index 89f6ab8d..aa5a2eb2 100644
--- a/src/core/CutsceneMgr.h
+++ b/src/core/CutsceneMgr.h
@@ -1,4 +1,5 @@
#pragma once
+#include "CutsceneObject.h"
class CDirectory;
@@ -6,10 +7,12 @@ class CCutsceneMgr
{
static bool &ms_running;
static bool &ms_cutsceneProcessing;
+ static CCutsceneObject *(&ms_pCutsceneObjects)[NUMCUTSCENEOBJECTS];
public:
static CDirectory *&ms_pCutsceneDir;
static bool IsRunning(void) { return ms_running; }
static bool IsCutsceneProcessing(void) { return ms_cutsceneProcessing; }
+ static CCutsceneObject* GetCutsceneObject(int id) { return ms_pCutsceneObjects[id]; }
};