diff options
author | Kostas Nakos | 2009-02-15 18:34:39 +0000 |
---|---|---|
committer | Kostas Nakos | 2009-02-15 18:34:39 +0000 |
commit | d8a0e9d46681bfa64add34edd012c328881b7406 (patch) | |
tree | 727980c68bf3a733b908824e37895cf06713d3e8 /backends/platform | |
parent | 8392dd3aab36824d53d957fbf0879b6d95abe24e (diff) | |
download | scummvm-rg350-d8a0e9d46681bfa64add34edd012c328881b7406.tar.gz scummvm-rg350-d8a0e9d46681bfa64add34edd012c328881b7406.tar.bz2 scummvm-rg350-d8a0e9d46681bfa64add34edd012c328881b7406.zip |
add support for tucker
svn-id: r38273
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/wince/CEActionsPocket.cpp | 5 | ||||
-rw-r--r-- | backends/platform/wince/CEActionsSmartphone.cpp | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/backends/platform/wince/CEActionsPocket.cpp b/backends/platform/wince/CEActionsPocket.cpp index 3a83d4dadf..4df93962aa 100644 --- a/backends/platform/wince/CEActionsPocket.cpp +++ b/backends/platform/wince/CEActionsPocket.cpp @@ -130,6 +130,7 @@ void CEActionsPocket::initInstanceGame() { bool is_lure = (gameid == "lure"); bool is_feeble = (gameid == "feeble"); bool is_drascula = (strncmp(gameid.c_str(), "drascula",8) == 0); + bool is_tucker = (strncmp(gameid.c_str(), "tucker",6) == 0); GUI_Actions::initInstanceGame(); @@ -147,7 +148,7 @@ void CEActionsPocket::initInstanceGame() { _key_action[POCKET_ACTION_PAUSE].setKey(VK_SPACE); _action_enabled[POCKET_ACTION_PAUSE] = true; // Save - if (is_simon || is_sword2 || is_gob || is_kyra || is_feeble) + if (is_simon || is_sword2 || is_gob || is_kyra || is_feeble || is_tucker) _action_enabled[POCKET_ACTION_SAVE] = false; else if (is_queen) { _action_enabled[POCKET_ACTION_SAVE] = true; @@ -174,7 +175,7 @@ void CEActionsPocket::initInstanceGame() { if (!is_cine && !is_parallaction) _action_enabled[POCKET_ACTION_SKIP] = true; if (is_simon || is_sky || is_sword2 || is_queen || is_sword1 || is_gob || - is_saga || is_kyra || is_touche || is_lure || is_feeble || is_drascula) + is_saga || is_kyra || is_touche || is_lure || is_feeble || is_drascula || is_tucker) _key_action[POCKET_ACTION_SKIP].setKey(VK_ESCAPE); else _key_action[POCKET_ACTION_SKIP].setKey(KEY_ALL_SKIP); diff --git a/backends/platform/wince/CEActionsSmartphone.cpp b/backends/platform/wince/CEActionsSmartphone.cpp index 0c4113cc0c..16438538ef 100644 --- a/backends/platform/wince/CEActionsSmartphone.cpp +++ b/backends/platform/wince/CEActionsSmartphone.cpp @@ -120,6 +120,7 @@ void CEActionsSmartphone::initInstanceGame() { bool is_lure = (gameid == "lure"); bool is_feeble = (gameid == "feeble"); bool is_drascula = (strncmp(gameid.c_str(), "drascula",8) == 0); + bool is_tucker = (strncmp(gameid.c_str(), "tucker",6) == 0); GUI_Actions::initInstanceGame(); @@ -154,7 +155,7 @@ void CEActionsSmartphone::initInstanceGame() { // Skip _action_enabled[SMARTPHONE_ACTION_SKIP] = true; if (is_simon || is_sky || is_sword2 || is_queen || is_sword1 || is_gob || - is_saga || is_kyra || is_touche || is_lure || is_feeble || is_drascula) + is_saga || is_kyra || is_touche || is_lure || is_feeble || is_drascula || is_tucker) _key_action[SMARTPHONE_ACTION_SKIP].setKey(VK_ESCAPE); else _key_action[SMARTPHONE_ACTION_SKIP].setKey(KEY_ALL_SKIP); |