diff options
author | uruk | 2014-05-23 12:56:48 +0200 |
---|---|---|
committer | uruk | 2014-05-23 12:56:48 +0200 |
commit | 4dcfe4d7853cc59b0c93f43115dc13d17470386f (patch) | |
tree | f288433bee1c64d2917fe575fa4b6c3614707309 /engines/cge2/snail.h | |
parent | 02817a7bd5b5ade5afb51f2ea545238d284b2fd8 (diff) | |
download | scummvm-rg350-4dcfe4d7853cc59b0c93f43115dc13d17470386f.tar.gz scummvm-rg350-4dcfe4d7853cc59b0c93f43115dc13d17470386f.tar.bz2 scummvm-rg350-4dcfe4d7853cc59b0c93f43115dc13d17470386f.zip |
CGE2: Start implementation of CommandHandler.
Implement constructor, destructor, addCommand() and add clear() ant _count.
Diffstat (limited to 'engines/cge2/snail.h')
-rw-r--r-- | engines/cge2/snail.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/cge2/snail.h b/engines/cge2/snail.h index a2f4bec028..889b16cd2d 100644 --- a/engines/cge2/snail.h +++ b/engines/cge2/snail.h @@ -131,6 +131,7 @@ public: void insertCommand(CommandType com, int ref, int val, void *ptr); bool idle(); void reset(); + void clear(); int com(const char *com); private: CGE2Engine *_vm; @@ -139,7 +140,8 @@ private: uint8 _tail; bool _busy; bool _textDelay; - uint32 _timerExpiry; + uint32 _timerExpiry; // "pause" in the original. + int _count; }; } // End of namespace CGE2 |