aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/talk.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge2/talk.h')
-rw-r--r--engines/cge2/talk.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/cge2/talk.h b/engines/cge2/talk.h
index 771478c5d1..84ba7281f9 100644
--- a/engines/cge2/talk.h
+++ b/engines/cge2/talk.h
@@ -82,12 +82,13 @@ private:
};
class InfoLine : public Talk {
- const char *_oldText;
+ const char *_oldText, *_newText;
public:
- InfoLine(CGE2Engine *vm, uint16 wid);
+ bool _realTime;
+ InfoLine(CGE2Engine *vm, uint16 wid, ColorBank color = kCBStd);
void update(const char *text);
- void update();
- void setText(const char *txt);
+ void update() { update(_newText); }
+ void setText(const char *txt) { _newText = txt; }
private:
CGE2Engine *_vm;
};