diff options
author | Filippos Karapetis | 2007-06-06 19:46:10 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-06-06 19:46:10 +0000 |
commit | 9b14f5faedef513be2f17da57b7fb9182a751150 (patch) | |
tree | aa8c1da730cf2361c21f870996a6274e0d8d1587 /engines/saga/saga.h | |
parent | 9e651592ec9d58d8f5c0d2dea0e351bf048d2743 (diff) | |
download | scummvm-rg350-9b14f5faedef513be2f17da57b7fb9182a751150.tar.gz scummvm-rg350-9b14f5faedef513be2f17da57b7fb9182a751150.tar.bz2 scummvm-rg350-9b14f5faedef513be2f17da57b7fb9182a751150.zip |
Implemented the sfGetMouseClicks and sfResetMouseClicks opcodes and created the skeleton for sfScriptStartVideo, sfScriptReturnFromVideo and sfScriptEndVideo opcodes
svn-id: r27145
Diffstat (limited to 'engines/saga/saga.h')
-rw-r--r-- | engines/saga/saga.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/saga/saga.h b/engines/saga/saga.h index 1a8da5533a..b596d2c2a1 100644 --- a/engines/saga/saga.h +++ b/engines/saga/saga.h @@ -559,6 +559,18 @@ public: int processInput(void); Point mousePos() const; + int getMouseClickCount() { + return _mouseClickCount; + } + + void incrementMouseClickCount() { + _mouseClickCount++; + } + + void resetMouseClickCount() { + _mouseClickCount = 0; + } + const bool leftMouseButtonPressed() const { return _leftMouseButtonPressed; } @@ -580,6 +592,7 @@ public: bool _leftMouseButtonPressed; bool _rightMouseButtonPressed; + int _mouseClickCount; bool _quit; |