[Scummvm-cvs-logs] SF.net SVN: scummvm: [30931] scummvm/branches/branch-0-11-0/backends/ platform/wince
knakos at users.sourceforge.net
knakos at users.sourceforge.net
Sat Feb 23 19:55:02 CET 2008
Revision: 30931
http://scummvm.svn.sourceforge.net/scummvm/?rev=30931&view=rev
Author: knakos
Date: 2008-02-23 10:55:01 -0800 (Sat, 23 Feb 2008)
Log Message:
-----------
properly support feeble
Modified Paths:
--------------
scummvm/branches/branch-0-11-0/backends/platform/wince/CEActionsPocket.cpp
scummvm/branches/branch-0-11-0/backends/platform/wince/CEActionsSmartphone.cpp
Modified: scummvm/branches/branch-0-11-0/backends/platform/wince/CEActionsPocket.cpp
===================================================================
--- scummvm/branches/branch-0-11-0/backends/platform/wince/CEActionsPocket.cpp 2008-02-23 17:19:12 UTC (rev 30930)
+++ scummvm/branches/branch-0-11-0/backends/platform/wince/CEActionsPocket.cpp 2008-02-23 18:55:01 UTC (rev 30931)
@@ -128,6 +128,7 @@
bool is_agi = (gameid == "agi");
bool is_parallaction = (gameid == "parallaction");
bool is_lure = (gameid == "lure");
+ bool is_feeble = (gameid == "feeble");
GUI_Actions::initInstanceGame();
@@ -144,7 +145,7 @@
_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_touche)
+ if (is_simon || is_sword2 || is_gob || is_kyra || is_touche || is_feeble)
_action_enabled[POCKET_ACTION_SAVE] = false;
else if (is_queen) {
_action_enabled[POCKET_ACTION_SAVE] = true;
@@ -170,7 +171,7 @@
// Skip
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)
+ if (is_simon || is_sky || is_sword2 || is_queen || is_sword1 || is_gob || is_saga || is_kyra || is_touche || is_lure || is_feeble)
_key_action[POCKET_ACTION_SKIP].setKey(VK_ESCAPE);
else
_key_action[POCKET_ACTION_SKIP].setKey(KEY_ALL_SKIP);
Modified: scummvm/branches/branch-0-11-0/backends/platform/wince/CEActionsSmartphone.cpp
===================================================================
--- scummvm/branches/branch-0-11-0/backends/platform/wince/CEActionsSmartphone.cpp 2008-02-23 17:19:12 UTC (rev 30930)
+++ scummvm/branches/branch-0-11-0/backends/platform/wince/CEActionsSmartphone.cpp 2008-02-23 18:55:01 UTC (rev 30931)
@@ -118,6 +118,7 @@
bool is_agi = (gameid == "agi");
bool is_parallaction = (gameid == "parallaction");
bool is_lure = (gameid == "lure");
+ bool is_feeble = (gameid == "feeble");
GUI_Actions::initInstanceGame();
@@ -127,7 +128,7 @@
// Initialize keys for different actions
// Save
- if (is_simon || is_sword2 || is_gob || is_kyra || is_touche)
+ if (is_simon || is_sword2 || is_gob || is_kyra || is_touche || is_feeble)
_action_enabled[SMARTPHONE_ACTION_SAVE] = false;
else if (is_queen) {
_action_enabled[SMARTPHONE_ACTION_SAVE] = true;
@@ -150,7 +151,7 @@
}
// 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)
+ if (is_simon || is_sky || is_sword2 || is_queen || is_sword1 || is_gob || is_saga || is_kyra || is_touche || is_lure || is_feeble)
_key_action[SMARTPHONE_ACTION_SKIP].setKey(VK_ESCAPE);
else
_key_action[SMARTPHONE_ACTION_SKIP].setKey(KEY_ALL_SKIP);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list