aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-27 20:03:45 +0000
committerMartin Kiewitz2010-01-27 20:03:45 +0000
commitf376572ed825ab55666a02aa300c3674ca65eec5 (patch)
treeb08413706c080dd85c6fdc51d498af000859b1f4 /engines/sci
parent155660c44370adcefeb994b9f0588730210202af (diff)
downloadscummvm-rg350-f376572ed825ab55666a02aa300c3674ca65eec5.tar.gz
scummvm-rg350-f376572ed825ab55666a02aa300c3674ca65eec5.tar.bz2
scummvm-rg350-f376572ed825ab55666a02aa300c3674ca65eec5.zip
SCI: renamed exit console command to quit, so that systemwide "exit" works (exits console instead of quitting game)
svn-id: r47607
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/console.cpp4
-rw-r--r--engines/sci/console.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 3451ee01d3..e10d8e4d61 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -103,7 +103,7 @@ Console::Console(SciEngine *vm) : GUI::Debugger() {
DCmd_Register("restart_game", WRAP_METHOD(Console, cmdRestartGame));
DCmd_Register("version", WRAP_METHOD(Console, cmdGetVersion));
DCmd_Register("room", WRAP_METHOD(Console, cmdRoomNumber));
- DCmd_Register("exit", WRAP_METHOD(Console, cmdExit));
+ DCmd_Register("quit", WRAP_METHOD(Console, cmdQuit));
DCmd_Register("list_saves", WRAP_METHOD(Console, cmdListSaves));
// Screen
DCmd_Register("show_map", WRAP_METHOD(Console, cmdShowMap));
@@ -2629,7 +2629,7 @@ bool Console::cmdSfx01Track(int argc, const char **argv) {
return true;
}
-bool Console::cmdExit(int argc, const char **argv) {
+bool Console::cmdQuit(int argc, const char **argv) {
if (argc != 2) {
DebugPrintf("%s game - exit gracefully\n", argv[0]);
DebugPrintf("%s now - exit ungracefully\n", argv[0]);
diff --git a/engines/sci/console.h b/engines/sci/console.h
index 5917d64e02..b5e0de19fe 100644
--- a/engines/sci/console.h
+++ b/engines/sci/console.h
@@ -78,7 +78,7 @@ private:
bool cmdRestartGame(int argc, const char **argv);
bool cmdGetVersion(int argc, const char **argv);
bool cmdRoomNumber(int argc, const char **argv);
- bool cmdExit(int argc, const char **argv);
+ bool cmdQuit(int argc, const char **argv);
bool cmdListSaves(int argc, const char **argv);
// Screen
bool cmdShowMap(int argc, const char **argv);