aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/parser.h
diff options
context:
space:
mode:
authoruruk2013-07-28 10:46:46 +0200
committeruruk2013-07-28 10:46:46 +0200
commitad7f8add4d8d9f888f5a2c5bcdae1b861d35ab06 (patch)
tree469465c4a0228d9a4724ae19220a9e4b5c872c9a /engines/avalanche/parser.h
parenta1a2fa2da8f54d5c573e45ff553c1440137b8b6a (diff)
downloadscummvm-rg350-ad7f8add4d8d9f888f5a2c5bcdae1b861d35ab06.tar.gz
scummvm-rg350-ad7f8add4d8d9f888f5a2c5bcdae1b861d35ab06.tar.bz2
scummvm-rg350-ad7f8add4d8d9f888f5a2c5bcdae1b861d35ab06.zip
AVALANCHE: Add tryDropdown() and _inputTextBackup to Parser, implement handleReturn(), stub tryDropdown() in Parser.
Diffstat (limited to 'engines/avalanche/parser.h')
-rw-r--r--engines/avalanche/parser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/avalanche/parser.h b/engines/avalanche/parser.h
index 748498816f..1cfb21bb52 100644
--- a/engines/avalanche/parser.h
+++ b/engines/avalanche/parser.h
@@ -36,11 +36,12 @@ class AvalancheEngine;
class Parser {
public:
Common::String _inputText;
+ Common::String _inputTextBackup;
byte _inputTextPos;
bool _quote; // 66 or 99 next?
byte _leftMargin;
bool _cursorState;
-
+
Parser(AvalancheEngine *vm);
@@ -57,6 +58,8 @@ public:
void cursorOff();
+ void tryDropdown(); // This asks the parsekey proc in Dropdown if it knows it.
+
private:
AvalancheEngine *_vm;