svn-id: r24832
This commit is contained in:
parent
08c261a5a6
commit
8a32720213
3 changed files with 31 additions and 0 deletions
6
README
6
README
|
@ -810,6 +810,12 @@ other games.
|
||||||
[ and ] - Music volume, down/up
|
[ and ] - Music volume, down/up
|
||||||
- and + - Text speed, slower/faster
|
- and + - Text speed, slower/faster
|
||||||
F5 - Displays a save/load box
|
F5 - Displays a save/load box
|
||||||
|
Alt-F5 - Displays the original save/load box, if the
|
||||||
|
game has one. This is not intended for saving
|
||||||
|
or loading a game, and may even crash ScummVM
|
||||||
|
in some games, but it is currently the only
|
||||||
|
way to see your IQ points in Indiana Jones and
|
||||||
|
the Last Crusade without dying.
|
||||||
Space - Pauses
|
Space - Pauses
|
||||||
Period (.) - Skips current line of text in some games
|
Period (.) - Skips current line of text in some games
|
||||||
Enter - Simulate left mouse button press
|
Enter - Simulate left mouse button press
|
||||||
|
|
|
@ -34,6 +34,12 @@ other games.
|
||||||
$[$ and $]$ & Music volume, down/up\\
|
$[$ and $]$ & Music volume, down/up\\
|
||||||
- and + & Text speed, slower/faster\\
|
- and + & Text speed, slower/faster\\
|
||||||
F5 & Displays a save/load box\\
|
F5 & Displays a save/load box\\
|
||||||
|
Alt-F5 & Displays the original save/load box, if the game\\
|
||||||
|
& has one. This is not intended for saving or\\
|
||||||
|
& loading a game, and may even crash ScummVM in\\
|
||||||
|
& some games, but it is currently the only way to\\
|
||||||
|
& see your IQ points in Indiana Jones and the Last\\
|
||||||
|
& Crusade without dying.\\
|
||||||
Space & Pauses\\
|
Space & Pauses\\
|
||||||
Period (.) & Skips current line of text in some games\\
|
Period (.) & Skips current line of text in some games\\
|
||||||
Enter & Simulate left mouse button press\\
|
Enter & Simulate left mouse button press\\
|
||||||
|
|
|
@ -313,6 +313,12 @@ void ScummEngine::processInput() {
|
||||||
|
|
||||||
#ifndef DISABLE_SCUMM_7_8
|
#ifndef DISABLE_SCUMM_7_8
|
||||||
void ScummEngine_v8::processKeyboard(int lastKeyHit) {
|
void ScummEngine_v8::processKeyboard(int lastKeyHit) {
|
||||||
|
// Alt-F5 brings up the original save/load dialog
|
||||||
|
|
||||||
|
if (lastKeyHit == 440 && !(_game.features & GF_DEMO)) {
|
||||||
|
lastKeyHit = 315;
|
||||||
|
}
|
||||||
|
|
||||||
// If a key script was specified (a V8 feature), and it's trigger
|
// If a key script was specified (a V8 feature), and it's trigger
|
||||||
// key was pressed, run it.
|
// key was pressed, run it.
|
||||||
if (_keyScriptNo && (_keyScriptKey == lastKeyHit)) {
|
if (_keyScriptNo && (_keyScriptKey == lastKeyHit)) {
|
||||||
|
@ -435,6 +441,12 @@ void ScummEngine_v2::processKeyboard(int lastKeyHit) {
|
||||||
// Fall back to default behavior
|
// Fall back to default behavior
|
||||||
ScummEngine::processKeyboard(lastKeyHit);
|
ScummEngine::processKeyboard(lastKeyHit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Alt-F5 brings up the original save/load dialog
|
||||||
|
|
||||||
|
if (lastKeyHit == 440) {
|
||||||
|
lastKeyHit = 314+5;
|
||||||
|
}
|
||||||
|
|
||||||
// Store the input type. So far we can't distinguish
|
// Store the input type. So far we can't distinguish
|
||||||
// between 1, 3 and 5.
|
// between 1, 3 and 5.
|
||||||
|
@ -469,6 +481,13 @@ void ScummEngine::processKeyboard(int lastKeyHit) {
|
||||||
else
|
else
|
||||||
saveloadkey = VAR(VAR_MAINMENU_KEY);
|
saveloadkey = VAR(VAR_MAINMENU_KEY);
|
||||||
|
|
||||||
|
// Alt-F5 brings up the original save/load dialog.
|
||||||
|
|
||||||
|
if (lastKeyHit == 440 && _game.version > 2 && _game.version < 8) {
|
||||||
|
lastKeyHit = saveloadkey;
|
||||||
|
saveloadkey = -1;
|
||||||
|
}
|
||||||
|
|
||||||
if (lastKeyHit == saveloadkey) {
|
if (lastKeyHit == saveloadkey) {
|
||||||
if (VAR_SAVELOAD_SCRIPT != 0xFF && _currentRoom != 0)
|
if (VAR_SAVELOAD_SCRIPT != 0xFF && _currentRoom != 0)
|
||||||
runScript(VAR(VAR_SAVELOAD_SCRIPT), 0, 0, 0);
|
runScript(VAR(VAR_SAVELOAD_SCRIPT), 0, 0, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue