aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTobia Tesan2017-04-25 17:58:46 +0200
committerEugene Sandulenko2017-05-02 21:01:23 +0100
commit61e4181f5fdb45f456f5d059e435461d0e99180f (patch)
tree7b3a0f768ea66ad73a2259968c49a886576978af /engines
parent1de51c10dd6e27e970d7b83a469b4a1656176237 (diff)
downloadscummvm-rg350-61e4181f5fdb45f456f5d059e435461d0e99180f.tar.gz
scummvm-rg350-61e4181f5fdb45f456f5d059e435461d0e99180f.tar.bz2
scummvm-rg350-61e4181f5fdb45f456f5d059e435461d0e99180f.zip
DIRECTOR: Add _loadedStxts member to Score
Diffstat (limited to 'engines')
-rw-r--r--engines/director/score.cpp1
-rw-r--r--engines/director/score.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 355900e15c..217fc1270f 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -92,6 +92,7 @@ Score::Score(DirectorEngine *vm) {
_loadedButtons = new Common::HashMap<int, ButtonCast *>();
_loadedShapes = new Common::HashMap<int, ShapeCast *>();
_loadedScripts = new Common::HashMap<int, ScriptCast *>();
+ _loadedStxts = new Common::HashMap<int, const Stxt *>();
}
void Score::setArchive(Archive *archive) {
diff --git a/engines/director/score.h b/engines/director/score.h
index 7b11e0d242..cd1f4889bb 100644
--- a/engines/director/score.h
+++ b/engines/director/score.h
@@ -28,6 +28,7 @@
#include "director/archive.h"
#include "director/cast.h"
#include "director/images.h"
+#include "engines/director/stxt.h"
namespace Graphics {
class ManagedSurface;
@@ -133,6 +134,7 @@ public:
Common::HashMap<int, BitmapCast *> *_loadedBitmaps;
Common::HashMap<int, ShapeCast *> *_loadedShapes;
Common::HashMap<int, ScriptCast *> *_loadedScripts;
+ Common::HashMap<int, const Stxt *> *_loadedStxts;
private:
uint16 _versionMinor;