mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 13:13:58 +00:00
DIRECTOR: Add CachedMacText to TextCast
This commit is contained in:
parent
415d9d660e
commit
bd7ded3f56
@ -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) {
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user