[Scummvm-cvs-logs] SF.net SVN: scummvm:[38288] scummvm/trunk/backends/platform/wince
knakos at users.sourceforge.net
knakos at users.sourceforge.net
Sun Feb 15 21:22:08 CET 2009
Revision: 38288
http://scummvm.svn.sourceforge.net/scummvm/?rev=38288&view=rev
Author: knakos
Date: 2009-02-15 20:22:07 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
add support for groovie
Modified Paths:
--------------
scummvm/trunk/backends/platform/wince/CEActionsPocket.cpp
scummvm/trunk/backends/platform/wince/CEActionsSmartphone.cpp
Modified: scummvm/trunk/backends/platform/wince/CEActionsPocket.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/CEActionsPocket.cpp 2009-02-15 20:19:06 UTC (rev 38287)
+++ scummvm/trunk/backends/platform/wince/CEActionsPocket.cpp 2009-02-15 20:22:07 UTC (rev 38288)
@@ -130,7 +130,8 @@
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);
+ bool is_tucker = (gameid == "tucker");
+ bool is_groovie = (gameid == "groovie");
GUI_Actions::initInstanceGame();
@@ -140,7 +141,7 @@
_right_click_needed = true;
// See if a "hide toolbar" mapping could be needed
- if (is_sword1 || is_sword2 || is_comi)
+ if (is_sword1 || is_sword2 || is_comi || is_groovie)
_hide_toolbar_needed = true;
// Initialize keys for different actions
@@ -148,7 +149,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_feeble || is_tucker)
+ if (is_simon || is_sword2 || is_gob || is_kyra || is_feeble || is_tucker || is_groovie)
_action_enabled[POCKET_ACTION_SAVE] = false;
else if (is_queen) {
_action_enabled[POCKET_ACTION_SAVE] = true;
@@ -172,7 +173,7 @@
// Quit
_action_enabled[POCKET_ACTION_QUIT] = true;
// Skip
- if (!is_cine && !is_parallaction)
+ if (!is_cine && !is_parallaction && !is_groovie)
_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_tucker)
Modified: scummvm/trunk/backends/platform/wince/CEActionsSmartphone.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/CEActionsSmartphone.cpp 2009-02-15 20:19:06 UTC (rev 38287)
+++ scummvm/trunk/backends/platform/wince/CEActionsSmartphone.cpp 2009-02-15 20:22:07 UTC (rev 38288)
@@ -120,7 +120,8 @@
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);
+ bool is_tucker = (gameid == "tucker");
+ bool is_groovie = (gameid == "groovie");
GUI_Actions::initInstanceGame();
@@ -131,7 +132,7 @@
// Initialize keys for different actions
// Save
- if (is_simon || is_sword2 || is_gob || is_kyra || is_feeble)
+ if (is_simon || is_sword2 || is_gob || is_kyra || is_feeble || is_groovie)
_action_enabled[SMARTPHONE_ACTION_SAVE] = false;
else if (is_queen) {
_action_enabled[SMARTPHONE_ACTION_SAVE] = true;
@@ -155,7 +156,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 || is_feeble || is_drascula || is_tucker)
+ is_saga || is_kyra || is_touche || is_lure || is_feeble || is_drascula || is_tucker || is_groovie)
_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