From f376572ed825ab55666a02aa300c3674ca65eec5 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Wed, 27 Jan 2010 20:03:45 +0000 Subject: SCI: renamed exit console command to quit, so that systemwide "exit" works (exits console instead of quitting game) svn-id: r47607 --- engines/sci/console.cpp | 4 ++-- engines/sci/console.h | 2 +- 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); -- cgit v1.2.3