aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirben2014-03-06 15:38:45 +1100
committerKirben2014-03-06 15:38:45 +1100
commit5cccf1fa3a788090a3d670deccacb5a0ab32826f (patch)
tree319b39530bd239ade937ce0ab14eca1f5a3bb237
parenta310feb8a562ddce2a45f4ae1b5b46206cdda692 (diff)
downloadscummvm-rg350-5cccf1fa3a788090a3d670deccacb5a0ab32826f.tar.gz
scummvm-rg350-5cccf1fa3a788090a3d670deccacb5a0ab32826f.tar.bz2
scummvm-rg350-5cccf1fa3a788090a3d670deccacb5a0ab32826f.zip
AGOS: Switch keyboard shortcuts for dumps, to help prevent future conflicts.
-rw-r--r--engines/agos/event.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp
index 459b121919..95bcc68234 100644
--- a/engines/agos/event.cpp
+++ b/engines/agos/event.cpp
@@ -468,6 +468,14 @@ void AGOSEngine::delay(uint amount) {
sprintf(_saveLoadName, "Quick %d", _saveLoadSlot);
_saveLoadType = (event.kbd.hasFlags(Common::KBD_ALT)) ? 1 : 2;
quickLoadOrSave();
+ } else if (event.kbd.hasFlags(Common::KBD_ALT)) {
+ if (event.kbd.keycode == Common::KEYCODE_u) {
+ dumpAllSubroutines();
+ } else if (event.kbd.keycode == Common::KEYCODE_i) {
+ dumpAllVgaImageFiles();
+ } else if (event.kbd.keycode == Common::KEYCODE_v) {
+ dumpAllVgaScriptFiles();
+ }
} else if (event.kbd.hasFlags(Common::KBD_CTRL)) {
if (event.kbd.keycode == Common::KEYCODE_a) {
GUI::Dialog *_aboutDialog;
@@ -477,10 +485,6 @@ void AGOSEngine::delay(uint amount) {
_fastMode = !_fastMode;
} else if (event.kbd.keycode == Common::KEYCODE_d) {
_debugger->attach();
- } else if (event.kbd.keycode == Common::KEYCODE_s) {
- dumpAllSubroutines();
- } else if (event.kbd.keycode == Common::KEYCODE_i) {
- dumpAllVgaImageFiles();
}
}