[Scummvm-cvs-logs] CVS: scummvm/scumm help.cpp,1.23,1.24

Eugene Sandulenko sev at users.sourceforge.net
Sun Oct 16 15:13:46 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2927

Modified Files:
	help.cpp 
Log Message:
Put correct order of MM NES verbs in help. Will try to make them work
later. Currently mapping is all wrong.


Index: help.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/help.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- help.cpp	30 Jul 2005 21:11:25 -0000	1.23
+++ help.cpp	16 Oct 2005 22:12:00 -0000	1.24
@@ -119,6 +119,25 @@
 		case GID_ZAK:
 		case GID_ZAK256:
 		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->_platform == Common::kPlatformNES) {
+				ADD_BIND("q", "Push");
+				ADD_BIND("a", "Pull");
+				ADD_BIND("z", "Give");
+				ADD_BIND("w", "Open");
+				ADD_BIND("s", "Close");
+				ADD_BIND("x", "Go to");
+				ADD_BIND("e", "Get");
+				ADD_BIND("d", "Use");
+				ADD_BIND("c", "Read");
+				ADD_BIND("r", "New kid");
+				ADD_BIND("f", "Turn on");
+				ADD_BIND("v", "Turn off");
+				break;
+			}
+
 			ADD_BIND("q", "Push");
 			ADD_BIND("a", "Pull");
 			ADD_BIND("z", "Give");





More information about the Scummvm-git-logs mailing list