diff options
author | uruk | 2013-07-24 13:54:39 +0200 |
---|---|---|
committer | uruk | 2013-07-24 13:54:39 +0200 |
commit | aed0c42f152ab9a0bcbefabdc7935d3646433d79 (patch) | |
tree | 88dfea7dea571a658b9d2dd9d97f29a8dff24b70 /engines | |
parent | e8841fbe5c39ff07aa099f8207cd8d571779585e (diff) | |
download | scummvm-rg350-aed0c42f152ab9a0bcbefabdc7935d3646433d79.tar.gz scummvm-rg350-aed0c42f152ab9a0bcbefabdc7935d3646433d79.tar.bz2 scummvm-rg350-aed0c42f152ab9a0bcbefabdc7935d3646433d79.zip |
AVALANCHE: Add comments to Avalot:handleKeyDown().
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/avalot.cpp | 6 | ||||
-rw-r--r-- | engines/avalanche/avalot.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index 1d62e0b96c..f9b6a1fcf5 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -155,6 +155,11 @@ void Avalot::setup() { void Avalot::handleKeyDown(const Common::Event &event) { + //if (keyboardclick) + // click(); + // + // To be implemented later with the sounds, I assume. + switch (event.kbd.keycode) { case Common::KEYCODE_UP: case Common::KEYCODE_DOWN: @@ -168,7 +173,6 @@ void Avalot::handleKeyDown(const Common::Event &event) { _vm->_trip.handleMoveKey(event); // Fallthroughs are intended. break; } - } diff --git a/engines/avalanche/avalot.h b/engines/avalanche/avalot.h index 24ee4fe03e..d309138c5a 100644 --- a/engines/avalanche/avalot.h +++ b/engines/avalanche/avalot.h @@ -44,7 +44,7 @@ public: - void handleKeyDown(const Common::Event &event); + void handleKeyDown(const Common::Event &event); // To replace Basher::keyboard_link(). |