diff options
Diffstat (limited to 'engines/scumm/input.cpp')
-rw-r--r-- | engines/scumm/input.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp index 94fafc78de..6b45b7b415 100644 --- a/engines/scumm/input.cpp +++ b/engines/scumm/input.cpp @@ -23,7 +23,7 @@ * */ -#include "common/stdafx.h" + #include "common/config-manager.h" #include "common/events.h" @@ -322,7 +322,7 @@ void ScummEngine::processInput() { if (!lastKeyHit.ascii) return; - + processKeyboard(lastKeyHit); } @@ -334,7 +334,7 @@ void ScummEngine_v8::processKeyboard(Common::KeyState lastKeyHit) { if (lastKeyHit.keycode == Common::KEYCODE_F1 && lastKeyHit.flags == 0) { lastKeyHit = Common::KeyState(Common::KEYCODE_F5, 319); } - + // Alt-F5 should bring up the original save/load dialog, so map it to F1. if (lastKeyHit.keycode == Common::KEYCODE_F5 && lastKeyHit.flags == Common::KBD_ALT) { lastKeyHit = Common::KeyState(Common::KEYCODE_F1, 315); @@ -491,7 +491,7 @@ void ScummEngine::processKeyboard(Common::KeyState lastKeyHit) { } else if (cutsceneExitKeyEnabled && (lastKeyHit.keycode == Common::KEYCODE_ESCAPE && lastKeyHit.flags == 0)) { abortCutscene(); - + // FIXME: Is the following line really necessary? _mouseAndKeyboardStat = VAR(VAR_CUTSCENEEXIT_KEY); @@ -522,7 +522,7 @@ void ScummEngine::processKeyboard(Common::KeyState lastKeyHit) { // Display the talk speed ValueDisplayDialog dlg("Subtitle speed: ", 0, 9, 9 - _defaultTalkDelay, '+', '-'); _defaultTalkDelay = 9 - runDialog(dlg); - + // Save the new talkspeed value to ConfMan setTalkspeed(_defaultTalkDelay); |