diff options
author | Kari Salminen | 2010-01-24 17:56:23 +0000 |
---|---|---|
committer | Kari Salminen | 2010-01-24 17:56:23 +0000 |
commit | 40cb795fe7bee0576026fd45fe8abc29485b6dc1 (patch) | |
tree | 97a5493a034ccb0befdabe69e502a601cdc88a5c /engines | |
parent | 10da245619c520791430147ce0229824c53083cf (diff) | |
download | scummvm-rg350-40cb795fe7bee0576026fd45fe8abc29485b6dc1.tar.gz scummvm-rg350-40cb795fe7bee0576026fd45fe8abc29485b6dc1.tar.bz2 scummvm-rg350-40cb795fe7bee0576026fd45fe8abc29485b6dc1.zip |
Cine: executePlayerInput: Name used keys in switch-clause (F1-F10, Ins, Del).
svn-id: r47507
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cine/various.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp index c70062ca4c..0a9e7eb8eb 100644 --- a/engines/cine/various.cpp +++ b/engines/cine/various.cpp @@ -1059,24 +1059,24 @@ uint16 executePlayerInput() { getMouseData(mouseUpdateStatus, &mouseButton, &mouseX, &mouseY); switch (var_2 - 59) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: + case 0: // F1 = EXAMINE + case 1: // F2 = TAKE + case 2: // F3 = INVENTORY + case 3: // F4 = USE + case 4: // F5 = OPERATE + case 5: // F6 = SPEAK if (allowPlayerInput) { playerCommand = var_2 - 59; makeCommandLine(); } break; - case 6: - case 7: - case 8: - case 23: + case 6: // F7 + case 7: // F8 + case 8: // F9 + case 23: // Keypad-0/Ins break; - case 9: - case 24: + case 9: // F10 + case 24: // Keypad-./Del g_cine->makeSystemMenu(); break; default: |