aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/director/cast.cpp4
-rw-r--r--engines/director/cast.h2
2 files changed, 6 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) {
diff --git a/engines/director/cast.h b/engines/director/cast.h
index a542bf7b87..7df9d94a59 100644
--- a/engines/director/cast.h
+++ b/engines/director/cast.h
@@ -31,6 +31,7 @@
namespace Director {
class Stxt;
+class CachedMacText;
enum CastType {
kCastTypeNull = 0,
@@ -141,6 +142,7 @@ public:
Common::String _ftext;
void importStxt(const Stxt *stxt);
+ CachedMacText *cachedMacText;
};
enum ButtonType {