changed Shift-NUM shortcut (quicksave) to Alt-NUM to avoid problems on french keyboards

svn-id: r5756
This commit is contained in:
Max Horn 2002-11-30 00:06:15 +00:00
parent 613423037f
commit c6672edb58
2 changed files with 3 additions and 3 deletions

2
README
View File

@ -288,7 +288,7 @@ Command Line Options:
In game Hot Keys:
-----------------
Ctrl 0-9 and Shift 0-9 - load and save games
Ctrl 0-9 and Alt 0-9 - load and save games
Ctrl-Alt 1-7 - cycles between graphics filters
Ctrl-z OR Alt-x - quits
Ctrl-f - runs in fast mode.

View File

@ -1419,11 +1419,11 @@ void Scumm::waitForTimer(int msec_delay) {
switch(event.event_code) {
case OSystem::EVENT_KEYDOWN:
if (event.kbd.keycode >= '0' && event.kbd.keycode<='9'
&& (event.kbd.flags == OSystem::KBD_SHIFT ||
&& (event.kbd.flags == OSystem::KBD_ALT ||
event.kbd.flags == OSystem::KBD_CTRL)) {
_saveLoadSlot = event.kbd.keycode - '0';
sprintf(_saveLoadName, "Quicksave %d", _saveLoadSlot);
_saveLoadFlag = (event.kbd.flags == OSystem::KBD_SHIFT) ? 1 : 2;
_saveLoadFlag = (event.kbd.flags == OSystem::KBD_ALT) ? 1 : 2;
_saveLoadCompatible = false;
} else if (event.kbd.flags==OSystem::KBD_CTRL) {
if (event.kbd.keycode=='f')