aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cstime_ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/cstime_ui.h')
-rw-r--r--engines/mohawk/cstime_ui.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/engines/mohawk/cstime_ui.h b/engines/mohawk/cstime_ui.h
index 8a029876b7..b849ddbdfb 100644
--- a/engines/mohawk/cstime_ui.h
+++ b/engines/mohawk/cstime_ui.h
@@ -31,12 +31,25 @@
namespace Mohawk {
+struct CSTimeHelpQaR {
+ uint16 text, speech;
+};
+
class CSTimeHelp {
public:
CSTimeHelp(MohawkEngine_CSTime *vm);
~CSTimeHelp();
+ void addQaR(uint16 text, uint16 speech);
+ void start();
void end(bool runEvents = true);
+ void cleanupAfterFlapping();
+
+ void mouseDown(Common::Point &pos);
+ void mouseMove(Common::Point &pos);
+ void mouseUp(Common::Point &pos);
+
+ void reset();
uint getState() { return _state; }
@@ -44,6 +57,16 @@ protected:
MohawkEngine_CSTime *_vm;
uint _state;
+ uint16 _currHover, _currEntry, _nextToProcess;
+ Common::Array<CSTimeHelpQaR> _qars;
+ Common::Array<uint16> _askedAlready;
+
+ void display();
+ void highlightLine(uint line);
+ void unhighlightLine(uint line);
+ void selectStrings();
+
+ bool noHelperChanges();
};
class CSTimeOptions {