Ticket #8461: iq-hack-updated.diff
File iq-hack-updated.diff, 3.2 KB (added by , 17 years ago) |
---|
-
engines/scumm/input.cpp
313 313 314 314 #ifndef DISABLE_SCUMM_7_8 315 315 void ScummEngine_v8::processKeyboard(int lastKeyHit) { 316 // Alt-F5 brings up the original save/load dialog 317 318 if (lastKeyHit == 440 && !(_game.features & GF_DEMO)) { 319 lastKeyHit = 315; 320 } 321 316 322 // If a key script was specified (a V8 feature), and it's trigger 317 323 // key was pressed, run it. 318 324 if (_keyScriptNo && (_keyScriptKey == lastKeyHit)) { … … 435 441 // Fall back to default behavior 436 442 ScummEngine::processKeyboard(lastKeyHit); 437 443 } 444 445 // Alt-F5 brings up the original save/load dialog 446 447 if (lastKeyHit == 440) { 448 lastKeyHit = 314+5; 449 } 438 450 439 451 // Store the input type. So far we can't distinguish 440 452 // between 1, 3 and 5. … … 469 481 else 470 482 saveloadkey = VAR(VAR_MAINMENU_KEY); 471 483 484 // Alt-F5 brings up the original save/load dialog. 485 486 if (lastKeyHit == 440 && _game.version > 2 && _game.version < 8) { 487 lastKeyHit = saveloadkey; 488 saveloadkey = -1; 489 } 490 472 491 if (lastKeyHit == saveloadkey) { 473 492 if (VAR_SAVELOAD_SCRIPT != 0xFF && _currentRoom != 0) 474 493 runScript(VAR(VAR_SAVELOAD_SCRIPT), 0, 0, 0); -
README
810 810 [ and ] - Music volume, down/up 811 811 - and + - Text speed, slower/faster 812 812 F5 - Displays a save/load box 813 Alt-F5 - Displays the original save/load box, if the 814 game has one. This is not intended for saving 815 or loading a game, and may even crash ScummVM 816 in some games, but it is currently the only 817 way to see your IQ points in Indiana Jones and 818 the Last Crusade without dying. 813 819 Space - Pauses 814 820 Period (.) - Skips current line of text in some games 815 821 Enter - Simulate left mouse button press -
doc/running-hotkeys.tex
34 34 $[$ and $]$ & Music volume, down/up\\ 35 35 - and + & Text speed, slower/faster\\ 36 36 F5 & Displays a save/load box\\ 37 Alt-F5 & Displays the original save/load box, if the game\\ 38 & has one. This is not intended for saving or\\ 39 & loading a game, and may even crash ScummVM in\\ 40 & some games, but it is currently the only way to\\ 41 & see your IQ points in Indiana Jones and the Last\\ 42 & Crusade without dying.\\ 37 43 Space & Pauses\\ 38 44 Period (.) & Skips current line of text in some games\\ 39 45 Enter & Simulate left mouse button press\\