DIRECTOR: Add CachedMacText to TextCast

This commit is contained in:
Tobia Tesan 2017-05-01 12:29:25 +02:00 committed by Eugene Sandulenko
parent 415d9d660e
commit bd7ded3f56
2 changed files with 6 additions and 0 deletions

View File

@ -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) {

View File

@ -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 {