aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.h
diff options
context:
space:
mode:
authorNicola Mettifogo2007-11-22 21:19:44 +0000
committerNicola Mettifogo2007-11-22 21:19:44 +0000
commitd8e8050015086f4139fb327a2a25a6859b858d8f (patch)
treea4a0175c5149f544a2d328a571414bceb1d1acd8 /engines/parallaction/parallaction.h
parentcd3f548407f90128c95deda368f3fd46613e1d5d (diff)
downloadscummvm-rg350-d8e8050015086f4139fb327a2a25a6859b858d8f.tar.gz
scummvm-rg350-d8e8050015086f4139fb327a2a25a6859b858d8f.tar.bz2
scummvm-rg350-d8e8050015086f4139fb327a2a25a6859b858d8f.zip
* added (incomplete) explicit state machine handling in engine class (see _inputMode)
* added service routines to Gfx * changed displayCharacterComment to work with the new state machine and gfx routines svn-id: r29613
Diffstat (limited to 'engines/parallaction/parallaction.h')
-rw-r--r--engines/parallaction/parallaction.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/parallaction/parallaction.h b/engines/parallaction/parallaction.h
index 874c5cb1b6..f6749d908f 100644
--- a/engines/parallaction/parallaction.h
+++ b/engines/parallaction/parallaction.h
@@ -376,6 +376,16 @@ public:
void waitTime(uint32 t);
+ enum {
+ kInputModeGame = 0,
+ kInputModeComment = 1
+ };
+
+ int _inputMode;
+
+ void updateGameInput();
+ void updateCommentInput();
+
uint _lookup;
Common::Stack<OpcodeSet*> _opcodes;
Common::Stack<Table*> _statements;