[Scummvm-cvs-logs] SF.net SVN: scummvm: [25559] scummvm/trunk/engines/scumm/help.cpp

cyx at users.sourceforge.net cyx at users.sourceforge.net
Tue Feb 13 21:56:52 CET 2007


Revision: 25559
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25559&view=rev
Author:   cyx
Date:     2007-02-13 12:56:48 -0800 (Tue, 13 Feb 2007)

Log Message:
-----------
update

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/help.cpp

Modified: scummvm/trunk/engines/scumm/help.cpp
===================================================================
--- scummvm/trunk/engines/scumm/help.cpp	2007-02-13 20:35:44 UTC (rev 25558)
+++ scummvm/trunk/engines/scumm/help.cpp	2007-02-13 20:56:48 UTC (rev 25559)
@@ -116,10 +116,7 @@
 		switch (gameId) {
 		case GID_ZAK:
 		case GID_MANIAC:
-			// HACK. I know use of g_scumm here is evil, however, 
-			// introducing new GID and putting it everywhere will
-			// pollute code much more that this single instance
-			if (g_scumm->_game.platform == Common::kPlatformNES) {
+			if (platform == Common::kPlatformNES) {
 				ADD_BIND("q", "Push");
 				ADD_BIND("a", "Pull");
 				ADD_BIND("z", "Give");
@@ -215,10 +212,8 @@
 			ADD_BIND("s", "puSh");
 			ADD_BIND("y", "pull (Yank)");
 			if (platform == Common::kPlatformSegaCD) {
-			// FIXME look at scripts to figure all options out...
-			// keys 1->4 seem to do something as well
-				ADD_BIND("6", "Highlight prev dialogue");
-				ADD_BIND("7", "Highlight next dialogue");
+				ADD_BIND("KeyUp", "Highlight prev dialogue");
+				ADD_BIND("KeyDown", "Highlight next dialogue");
 			}
 			break;
 		case GID_SAMNMAX:


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