aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/events.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-19 20:56:29 -0400
committerPaul Gilbert2016-03-19 20:56:29 -0400
commitdbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5 (patch)
treeb52c4f12ec3a6ecd25a23896d03faf3a2b156e84 /engines/titanic/events.h
parent46d5af527d5731eee812a18a57c4105bc01447c6 (diff)
downloadscummvm-rg350-dbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5.tar.gz
scummvm-rg350-dbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5.tar.bz2
scummvm-rg350-dbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5.zip
TITANIC: Implement view change logic
Diffstat (limited to 'engines/titanic/events.h')
-rw-r--r--engines/titanic/events.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/titanic/events.h b/engines/titanic/events.h
index dc1781fae1..fe2c75166d 100644
--- a/engines/titanic/events.h
+++ b/engines/titanic/events.h
@@ -67,6 +67,8 @@ private:
void rightButtonDoubleClick();
void charPress(char c);
void keyDown(Common::KeyState keyState);
+ void keyUp(Common::KeyState keyState);
+ void handleKbdSpecial(Common::KeyState keyState);
public:
Events(TitanicEngine *vm);
~Events() {}
@@ -91,6 +93,11 @@ public:
* Get the elapsed playtime
*/
uint32 getTicksCount() const;
+
+ /**
+ * Return whether a given special key is currently pressed
+ */
+ bool isSpecialPressed(SpecialButtons btn) const { return _specialButtons; }
};
} // End of namespace Titanic