[Scummvm-cvs-logs] SF.net SVN: scummvm: [27186] scummvm/branches/branch-0-10-0/backends/ platform/wince

knakos at users.sourceforge.net knakos at users.sourceforge.net
Fri Jun 8 08:10:17 CEST 2007


Revision: 27186
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27186&view=rev
Author:   knakos
Date:     2007-06-07 23:10:16 -0700 (Thu, 07 Jun 2007)

Log Message:
-----------
adding F1 for bargon and KP0 for indy3 functionality to multi function key (sync)

Modified Paths:
--------------
    scummvm/branches/branch-0-10-0/backends/platform/wince/CEActionsPocket.cpp
    scummvm/branches/branch-0-10-0/backends/platform/wince/CEActionsSmartphone.cpp

Modified: scummvm/branches/branch-0-10-0/backends/platform/wince/CEActionsPocket.cpp
===================================================================
--- scummvm/branches/branch-0-10-0/backends/platform/wince/CEActionsPocket.cpp	2007-06-08 06:09:09 UTC (rev 27185)
+++ scummvm/branches/branch-0-10-0/backends/platform/wince/CEActionsPocket.cpp	2007-06-08 06:10:16 UTC (rev 27186)
@@ -188,12 +188,16 @@
 		_action_enabled[POCKET_ACTION_ZOOM_UP] = true;
 		_action_enabled[POCKET_ACTION_ZOOM_DOWN] = true;
 	}
-	// FT Cheat
+	// Multi function key
 	_action_enabled[POCKET_ACTION_MULTI] = true;
 	if (is_agi)
-		_key_action[POCKET_ACTION_MULTI].setAscii(SDLK_PAUSE);
+		_key_action[POCKET_ACTION_MULTI].setAscii(SDLK_PAUSE); // agi: show predictive dialog
+	else if (is_gob)
+		_key_action[POCKET_ACTION_MULTI].setAscii(315); // bargon : F1 to start
+	else if (gameid == "atlantis")
+		_key_action[POCKET_ACTION_MULTI].setAscii(SDLK_KP0); // fate of atlantis : Ins to sucker-punch
 	else
-		_key_action[POCKET_ACTION_MULTI].setAscii(86); // shift-V
+		_key_action[POCKET_ACTION_MULTI].setAscii(86); // FT cheat : shift-V
 	// Key bind method
 	_action_enabled[POCKET_ACTION_BINDKEYS] = true;
 }

Modified: scummvm/branches/branch-0-10-0/backends/platform/wince/CEActionsSmartphone.cpp
===================================================================
--- scummvm/branches/branch-0-10-0/backends/platform/wince/CEActionsSmartphone.cpp	2007-06-08 06:09:09 UTC (rev 27185)
+++ scummvm/branches/branch-0-10-0/backends/platform/wince/CEActionsSmartphone.cpp	2007-06-08 06:10:16 UTC (rev 27186)
@@ -155,9 +155,13 @@
 	// Multi function key
 	_action_enabled[SMARTPHONE_ACTION_MULTI] = true;
 	if (is_agi)
-		_key_action[SMARTPHONE_ACTION_MULTI].setAscii(SDLK_PAUSE);
+		_key_action[SMARTPHONE_ACTION_MULTI].setAscii(SDLK_PAUSE); // agi: show predictive dialog
+	else if (is_gob)
+		_key_action[SMARTPHONE_ACTION_MULTI].setAscii(315); // bargon : F1 to start
+	else if (gameid == "atlantis")
+		_key_action[SMARTPHONE_ACTION_MULTI].setAscii(SDLK_KP0); // fate of atlantis : Ins to sucker-punch
 	else
-		_key_action[SMARTPHONE_ACTION_MULTI].setAscii(86); // shift-V
+		_key_action[SMARTPHONE_ACTION_MULTI].setAscii(86); // FT cheat : shift-V
 	// Bind keys
 	_action_enabled[SMARTPHONE_ACTION_BINDKEYS] = true;
 }


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