[Scummvm-cvs-logs] SF.net SVN: scummvm:[47515] scummvm/trunk/engines/cine/various.cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Sun Jan 24 20:47:54 CET 2010
Revision: 47515
http://scummvm.svn.sourceforge.net/scummvm/?rev=47515&view=rev
Author: buddha_
Date: 2010-01-24 19:47:53 +0000 (Sun, 24 Jan 2010)
Log Message:
-----------
Cine: executePlayerInput: Add makeActionMenu-part to keyboard handling and a couple of TODOs for Operation Stealth.
- NOTE: This doesn't seem to work correctly yet.
My current guess is that it has to do with how
some keyboard events are handled in cine/main_loop.cpp's
processEvent-function and some in cine/various.cpp's
executePlayerInput.
Modified Paths:
--------------
scummvm/trunk/engines/cine/various.cpp
Modified: scummvm/trunk/engines/cine/various.cpp
===================================================================
--- scummvm/trunk/engines/cine/various.cpp 2010-01-24 19:42:12 UTC (rev 47514)
+++ scummvm/trunk/engines/cine/various.cpp 2010-01-24 19:47:53 UTC (rev 47515)
@@ -1119,6 +1119,7 @@
case 5: // F6 = SPEAK
if (allowPlayerInput) {
playerCommand = var_2 - 59;
+ // TODO: Operation Stealth uses shift key here for handling canUseOnObject differently... investigate and implement.
makeCommandLine();
}
break;
@@ -1126,13 +1127,18 @@
case 7: // F8
case 8: // F9
case 23: // Keypad-0/Ins
+ // TODO: Restrict this case only to F7 for Operation Stealth
+ if (allowPlayerInput) {
+ makeActionMenu();
+ makeCommandLine();
+ }
break;
case 9: // F10
case 24: // Keypad-./Del
+ // TODO: Restrict this case only to F10 for Operation Stealth
g_cine->makeSystemMenu();
break;
default:
- // printf("Unhandled case %d in last part of executePlayerInput\n",var2-59);
break;
}
}
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