aboutsummaryrefslogtreecommitdiff
path: root/engines/director/cast.cpp
diff options
context:
space:
mode:
authorTobia Tesan2017-05-01 12:29:25 +0200
committerEugene Sandulenko2017-05-02 21:01:23 +0100
commitbd7ded3f56c61b4a9eb0798b34dcce17140af334 (patch)
tree4ed5235b957f95242911c5246dd9753aa62035d0 /engines/director/cast.cpp
parent415d9d660ecca0518c42e151eceedb58834ceb14 (diff)
downloadscummvm-rg350-bd7ded3f56c61b4a9eb0798b34dcce17140af334.tar.gz
scummvm-rg350-bd7ded3f56c61b4a9eb0798b34dcce17140af334.tar.bz2
scummvm-rg350-bd7ded3f56c61b4a9eb0798b34dcce17140af334.zip
DIRECTOR: Add CachedMacText to TextCast
Diffstat (limited to 'engines/director/cast.cpp')
-rw-r--r--engines/director/cast.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/director/cast.cpp b/engines/director/cast.cpp
index 0dd6e53248..0ee5a8f15c 100644
--- a/engines/director/cast.cpp
+++ b/engines/director/cast.cpp
@@ -21,6 +21,7 @@
*/
#include "director/director.h"
+#include "director/cachedmactext.h"
#include "director/cast.h"
#include "director/score.h"
@@ -177,6 +178,9 @@ TextCast::TextCast(Common::ReadStreamEndian &stream, uint16 version) {
}
modified = 0;
+
+ cachedMacText = new CachedMacText(this, version);
+ // TODO Destroy me
}
void TextCast::importStxt(const Stxt *stxt) {