[Scummvm-cvs-logs] SF.net SVN: scummvm: [23189] scummvm/branches/branch-0-9-0/backends/wince/CEActionsPocket.cpp
knakos at users.sourceforge.net
knakos at users.sourceforge.net
Tue Jun 20 19:53:01 CEST 2006
Revision: 23189
Author: knakos
Date: 2006-06-20 10:52:55 -0700 (Tue, 20 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23189&view=rev
Log Message:
-----------
kyra engine support
Modified Paths:
--------------
scummvm/branches/branch-0-9-0/backends/wince/CEActionsPocket.cpp
Modified: scummvm/branches/branch-0-9-0/backends/wince/CEActionsPocket.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/backends/wince/CEActionsPocket.cpp 2006-06-20 17:52:25 UTC (rev 23188)
+++ scummvm/branches/branch-0-9-0/backends/wince/CEActionsPocket.cpp 2006-06-20 17:52:55 UTC (rev 23189)
@@ -124,6 +124,7 @@
bool is_gob = (strncmp(gameid.c_str(), "gob", 3) == 0);
bool is_ite = ((strncmp(gameid.c_str(), "ite", 3) == 0) ||
(strncmp(gameid.c_str(), "ihnm", 4) == 0));
+ bool is_kyra = (gameid == "kyra1");
GUI_Actions::initInstanceGame();
@@ -141,7 +142,7 @@
_key_action[POCKET_ACTION_PAUSE].setAscii(VK_SPACE);
_action_enabled[POCKET_ACTION_PAUSE] = true;
// Save
- if (is_simon || is_sword2 || is_gob)
+ if (is_simon || is_sword2 || is_gob || is_kyra)
_action_enabled[POCKET_ACTION_SAVE] = false;
else
if (is_queen || is_ite) {
@@ -161,7 +162,7 @@
_action_enabled[POCKET_ACTION_QUIT] = true;
// Skip
_action_enabled[POCKET_ACTION_SKIP] = true;
- if (is_simon || is_sky || is_sword2 || is_queen || is_sword1 || is_gob || is_ite)
+ if (is_simon || is_sky || is_sword2 || is_queen || is_sword1 || is_gob || is_ite || is_kyra)
_key_action[POCKET_ACTION_SKIP].setAscii(VK_ESCAPE);
else
_key_action[POCKET_ACTION_SKIP].setAscii(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