diff options
author | Nicolas Bacca | 2005-04-10 21:11:02 +0000 |
---|---|---|
committer | Nicolas Bacca | 2005-04-10 21:11:02 +0000 |
commit | f4262a1bbbf8e26b913e4da717e617ded2667466 (patch) | |
tree | 68b9229f21ff168c312cc103c28bbe3d80f7b119 | |
parent | ee6deedb03419e2942d7e19146f801753be86f40 (diff) | |
download | scummvm-rg350-f4262a1bbbf8e26b913e4da717e617ded2667466.tar.gz scummvm-rg350-f4262a1bbbf8e26b913e4da717e617ded2667466.tar.bz2 scummvm-rg350-f4262a1bbbf8e26b913e4da717e617ded2667466.zip |
Gobliiins tweaks
svn-id: r17528
-rw-r--r-- | backends/wince/CEActionsPocket.cpp | 7 | ||||
-rw-r--r-- | backends/wince/CEActionsSmartphone.cpp | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/backends/wince/CEActionsPocket.cpp b/backends/wince/CEActionsPocket.cpp index 0098961bfb..8ed93e341b 100644 --- a/backends/wince/CEActionsPocket.cpp +++ b/backends/wince/CEActionsPocket.cpp @@ -95,11 +95,12 @@ void CEActionsPocket::initInstanceGame() { bool is_queen = (_detector->_targetName == "queen"); bool is_sky = (_detector->_targetName == "sky"); bool is_comi = (strncmp(_detector->_targetName.c_str(), "comi", 4) == 0); + bool is_gob = (strncmp(_detector->_targetName.c_str(), "gob", 3) == 0); CEActions::initInstanceGame(); // See if a right click mapping could be needed - if (is_sword1 || is_sword2 || is_sky || is_queen || is_comi || + if (is_sword1 || is_sword2 || is_sky || is_queen || is_comi || is_gob || _detector->_targetName == "samnmax") _right_click_needed = true; @@ -112,7 +113,7 @@ void CEActionsPocket::initInstanceGame() { _key_action[POCKET_ACTION_PAUSE].setAscii(VK_SPACE); _action_enabled[POCKET_ACTION_PAUSE] = true; // Save - if (is_simon || is_sword2) + if (is_simon || is_sword2 || is_gob) _action_enabled[POCKET_ACTION_SAVE] = false; else if (is_queen) { @@ -132,7 +133,7 @@ void CEActionsPocket::initInstanceGame() { _action_enabled[POCKET_ACTION_QUIT] = true; // Skip _action_enabled[POCKET_ACTION_SKIP] = true; - if (is_simon || is_sky || is_sword2 || is_queen || is_sword1) + if (is_simon || is_sky || is_sword2 || is_queen || is_sword1 || is_gob) _key_action[POCKET_ACTION_SKIP].setAscii(VK_ESCAPE); else _key_action[POCKET_ACTION_SKIP].setAscii(Scumm::KEY_ALL_SKIP); diff --git a/backends/wince/CEActionsSmartphone.cpp b/backends/wince/CEActionsSmartphone.cpp index c2e59132a0..9ded7cc8ac 100644 --- a/backends/wince/CEActionsSmartphone.cpp +++ b/backends/wince/CEActionsSmartphone.cpp @@ -106,16 +106,17 @@ void CEActionsSmartphone::initInstanceGame() { bool is_simon = (strncmp(_detector->_targetName.c_str(), "simon", 5) == 0); bool is_sky = (_detector->_targetName == "sky"); bool is_queen = (_detector->_targetName == "queen"); + bool is_gob = (strncmp(_detector->_targetName.c_str(), "gob", 3) == 0); CEActions::initInstanceGame(); // See if a right click mapping could be needed - if (is_sky || _detector->_targetName == "samnmax") + if (is_sky || _detector->_targetName == "samnmax" || is_gob) _right_click_needed = true; // Initialize keys for different actions // Save - if (is_simon) + if (is_simon || is_gob) _action_enabled[SMARTPHONE_ACTION_SAVE] = false; else if (is_queen) { @@ -133,7 +134,7 @@ void CEActionsSmartphone::initInstanceGame() { } // Skip _action_enabled[SMARTPHONE_ACTION_SKIP] = true; - if (is_simon || is_sky) + if (is_simon || is_sky || is_gob) _key_action[SMARTPHONE_ACTION_SKIP].setAscii(VK_ESCAPE); else _key_action[SMARTPHONE_ACTION_SKIP].setAscii(Scumm::KEY_ALL_SKIP); |