[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.320,2.321

Jonathan Gray khalek at users.sourceforge.net
Sat Aug 9 23:11:01 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv14504

Modified Files:
	scummvm.cpp 
Log Message:
remap F1 to F5 for comi so people don't get the broken in game menu

Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.320
retrieving revision 2.321
diff -u -d -r2.320 -r2.321
--- scummvm.cpp	8 Aug 2003 11:32:40 -0000	2.320
+++ scummvm.cpp	10 Aug 2003 06:10:07 -0000	2.321
@@ -1423,7 +1423,11 @@
 				// because that's what MI2 looks for in
 				// its "instant win" cheat.
 				_keyPressed = event.kbd.keycode + 154;
-			} else
+			// FIXME support in game screen
+			// this remaps F1 to F5 for comi
+			} else if (event.kbd.ascii == 315 && _gameId == GID_CMI)
+				_keyPressed = 319;
+			else
 				_keyPressed = event.kbd.ascii;	// Normal key press, pass on to the game.
 			break;
 





More information about the Scummvm-git-logs mailing list