diff options
author | Kari Salminen | 2008-08-09 10:52:48 +0000 |
---|---|---|
committer | Kari Salminen | 2008-08-09 10:52:48 +0000 |
commit | 36e6bb27b5c5fed7f304e80801afc4b8fa292ccd (patch) | |
tree | 7565cbe35099fcfa77454a39fa6e6352d3abcc5f | |
parent | 8e33f1530c2b61ca49dd62fdcb14c0c6b128c9d4 (diff) | |
download | scummvm-rg350-36e6bb27b5c5fed7f304e80801afc4b8fa292ccd.tar.gz scummvm-rg350-36e6bb27b5c5fed7f304e80801afc4b8fa292ccd.tar.bz2 scummvm-rg350-36e6bb27b5c5fed7f304e80801afc4b8fa292ccd.zip |
Removing moving with keys qweasdzxc for now because they messed with savegame name typing. One can move with the cursor keys anyway.
svn-id: r33710
-rw-r--r-- | engines/cine/main_loop.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/engines/cine/main_loop.cpp b/engines/cine/main_loop.cpp index ce86547dda..7ad6a53a14 100644 --- a/engines/cine/main_loop.cpp +++ b/engines/cine/main_loop.cpp @@ -68,7 +68,6 @@ static void processEvent(Common::Event &event) { switch (event.kbd.keycode) { case Common::KEYCODE_RETURN: case Common::KEYCODE_KP_ENTER: - case Common::KEYCODE_s: case Common::KEYCODE_KP5: if (allowPlayerInput) { mouseLeft = 1; @@ -136,38 +135,30 @@ static void processEvent(Common::Event &event) { break; case Common::KEYCODE_LEFT: case Common::KEYCODE_KP4: - case Common::KEYCODE_a: moveUsingKeyboard(-1, 0); // Left break; case Common::KEYCODE_RIGHT: case Common::KEYCODE_KP6: - case Common::KEYCODE_d: moveUsingKeyboard(+1, 0); // Right break; case Common::KEYCODE_UP: case Common::KEYCODE_KP8: - case Common::KEYCODE_w: moveUsingKeyboard(0, +1); // Up break; case Common::KEYCODE_DOWN: case Common::KEYCODE_KP2: - case Common::KEYCODE_x: moveUsingKeyboard(0, -1); // Down break; case Common::KEYCODE_KP9: - case Common::KEYCODE_e: moveUsingKeyboard(+1, +1); // Up & Right break; case Common::KEYCODE_KP7: - case Common::KEYCODE_q: moveUsingKeyboard(-1, +1); // Up & Left break; case Common::KEYCODE_KP1: - case Common::KEYCODE_z: moveUsingKeyboard(-1, -1); // Down & Left break; case Common::KEYCODE_KP3: - case Common::KEYCODE_c: moveUsingKeyboard(+1, -1); // Down & Right break; default: @@ -177,28 +168,19 @@ static void processEvent(Common::Event &event) { break; case Common::EVENT_KEYUP: switch (event.kbd.keycode) { - case Common::KEYCODE_s: // Emulated left mouse button click case Common::KEYCODE_KP5: // Emulated left mouse button click case Common::KEYCODE_LEFT: // Left case Common::KEYCODE_KP4: // Left - case Common::KEYCODE_a: // Left case Common::KEYCODE_RIGHT: // Right case Common::KEYCODE_KP6: // Right - case Common::KEYCODE_d: // Right case Common::KEYCODE_UP: // Up case Common::KEYCODE_KP8: // Up - case Common::KEYCODE_w: // Up case Common::KEYCODE_DOWN: // Down case Common::KEYCODE_KP2: // Down - case Common::KEYCODE_x: // Down case Common::KEYCODE_KP9: // Up & Right - case Common::KEYCODE_e: // Up & Right case Common::KEYCODE_KP7: // Up & Left - case Common::KEYCODE_q: // Up & Left case Common::KEYCODE_KP1: // Down & Left - case Common::KEYCODE_z: // Down & Left case Common::KEYCODE_KP3: // Down & Right - case Common::KEYCODE_c: // Down & Right // Stop ego movement made with keyboard when releasing a known key moveUsingKeyboard(0, 0); break; |