[Scummvm-cvs-logs] SF.net SVN: scummvm: [23577] scummvm/trunk/backends/platform/wince/CEActionsSmartphone.cpp

knakos at users.sourceforge.net knakos at users.sourceforge.net
Sun Jul 23 11:36:40 CEST 2006


Revision: 23577
Author:   knakos
Date:     2006-07-23 02:36:34 -0700 (Sun, 23 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23577&view=rev

Log Message:
-----------
Add kyra skip intro key (backport).

Modified Paths:
--------------
    scummvm/trunk/backends/platform/wince/CEActionsSmartphone.cpp
Modified: scummvm/trunk/backends/platform/wince/CEActionsSmartphone.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/CEActionsSmartphone.cpp	2006-07-23 09:34:03 UTC (rev 23576)
+++ scummvm/trunk/backends/platform/wince/CEActionsSmartphone.cpp	2006-07-23 09:36:34 UTC (rev 23577)
@@ -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();
 
@@ -151,7 +152,7 @@
 	}
 	// Skip
 	_action_enabled[SMARTPHONE_ACTION_SKIP] = true;
-	if (is_simon || is_sky || is_gob || is_ite)
+	if (is_simon || is_sky || is_gob || is_ite || is_kyra)
 		_key_action[SMARTPHONE_ACTION_SKIP].setAscii(VK_ESCAPE);
 	else
 		_key_action[SMARTPHONE_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