aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/macventure/text.h')
-rw-r--r--engines/macventure/text.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/macventure/text.h b/engines/macventure/text.h
index cfe76d6e11..2389454042 100644
--- a/engines/macventure/text.h
+++ b/engines/macventure/text.h
@@ -31,7 +31,7 @@ typedef uint32 ObjID;
class TextAsset {
public:
- TextAsset(ObjID objid, Container *container, bool isOld, const HuffmanLists *huffman);
+ TextAsset(MacVentureEngine *engine, ObjID objid, ObjID source, ObjID target, Container *container, bool isOld, const HuffmanLists *huffman);
~TextAsset() {}
const Common::String *decode() {
@@ -42,9 +42,15 @@ private:
void decodeOld();
void decodeHuffman();
+ Common::String getNoun(ObjID id);
+
private:
+ MacVentureEngine *_engine;
+
Container *_container;
ObjID _id;
+ ObjID _targetObj;
+ ObjID _sourceObj;
const HuffmanLists *_huffman;
bool _isOld;