diff options
author | Kari Salminen | 2010-01-24 19:47:53 +0000 |
---|---|---|
committer | Kari Salminen | 2010-01-24 19:47:53 +0000 |
commit | c19afec75aa25474561aad2ed3854356867d181e (patch) | |
tree | 08f896cb54f73fba92910b1fb27f5b017fd835a4 /engines | |
parent | e51721f7b19849c52cc5e1c8e58c53f5ec96012d (diff) | |
download | scummvm-rg350-c19afec75aa25474561aad2ed3854356867d181e.tar.gz scummvm-rg350-c19afec75aa25474561aad2ed3854356867d181e.tar.bz2 scummvm-rg350-c19afec75aa25474561aad2ed3854356867d181e.zip |
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.
svn-id: r47515
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cine/various.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp index ce60bd9108..c2dfefad23 100644 --- a/engines/cine/various.cpp +++ b/engines/cine/various.cpp @@ -1119,6 +1119,7 @@ uint16 executePlayerInput() { 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 @@ uint16 executePlayerInput() { 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; } } |