summaryrefslogtreecommitdiffstats
path: root/src/core/CutsceneMgr.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-09-12 12:12:22 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-09-12 12:12:22 +0200
commit571e65db4f12424a089918abd03580144991f745 (patch)
treef35b09e3aa0cfd06535ea6eacab67e893a28fc82 /src/core/CutsceneMgr.h
parentDragCarToPoint (diff)
parentMerge pull request #204 from erorcun/erorcun (diff)
downloadre3-571e65db4f12424a089918abd03580144991f745.tar
re3-571e65db4f12424a089918abd03580144991f745.tar.gz
re3-571e65db4f12424a089918abd03580144991f745.tar.bz2
re3-571e65db4f12424a089918abd03580144991f745.tar.lz
re3-571e65db4f12424a089918abd03580144991f745.tar.xz
re3-571e65db4f12424a089918abd03580144991f745.tar.zst
re3-571e65db4f12424a089918abd03580144991f745.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]; }
};