diff options
author | Gregory Montoir | 2004-03-07 10:46:02 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-03-07 10:46:02 +0000 |
commit | ec5f7b87c6097cf600d5e38acaa893337a88baca (patch) | |
tree | 96ad86ae1e7e90071d602d87efaf0f772b100927 /queen/debug.cpp | |
parent | f1c730d27b39aff8bb08e53abb439807aa590053 (diff) | |
download | scummvm-rg350-ec5f7b87c6097cf600d5e38acaa893337a88baca.tar.gz scummvm-rg350-ec5f7b87c6097cf600d5e38acaa893337a88baca.tar.bz2 scummvm-rg350-ec5f7b87c6097cf600d5e38acaa893337a88baca.zip |
cleanup (removed irrevelant comments and useless XXX'ed code)
svn-id: r13214
Diffstat (limited to 'queen/debug.cpp')
-rw-r--r-- | queen/debug.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/queen/debug.cpp b/queen/debug.cpp index 81e75ba194..c718275bce 100644 --- a/queen/debug.cpp +++ b/queen/debug.cpp @@ -35,7 +35,6 @@ namespace Queen { - Debugger::Debugger(QueenEngine *vm) : _drawAreas(false), _vm(vm) { @@ -52,24 +51,18 @@ Debugger::Debugger(QueenEngine *vm) DCmd_Register("song", &Debugger::Cmd_Song); } - void Debugger::preEnter() { - // XXX mute all sounds } - void Debugger::postEnter() { - // XXX un-mute all sounds _vm->graphics()->setupMouseCursor(); } - bool Debugger::Cmd_Exit(int argc, const char **argv) { _detach_now = true; return false; } - bool Debugger::Cmd_Help(int argc, const char **argv) { // console normally has 39 line width // wrap around nicely @@ -91,7 +84,6 @@ bool Debugger::Cmd_Help(int argc, const char **argv) { return true; } - bool Debugger::Cmd_Asm(int argc, const char **argv) { if (argc == 2) { uint16 sm = atoi(argv[1]); @@ -103,14 +95,12 @@ bool Debugger::Cmd_Asm(int argc, const char **argv) { return true; } - bool Debugger::Cmd_Areas(int argc, const char **argv) { _drawAreas = !_drawAreas; DebugPrintf("Room areas display %s\n", _drawAreas ? "on" : "off"); return true; } - bool Debugger::Cmd_Bob(int argc, const char **argv) { if (argc >= 3) { int bobNum = atoi(argv[1]); @@ -144,7 +134,6 @@ bool Debugger::Cmd_Bob(int argc, const char **argv) { return true; } - bool Debugger::Cmd_GameState(int argc, const char **argv) { uint16 slot; switch (argc) { @@ -167,14 +156,12 @@ bool Debugger::Cmd_GameState(int argc, const char **argv) { return true; } - bool Debugger::Cmd_Info(int argc, const char **argv) { DebugPrintf("Version: %s\n", _vm->resource()->JASVersion()); DebugPrintf("Audio compression: %d\n", _vm->resource()->compression()); return true; } - bool Debugger::Cmd_Items(int argc, const char **argv) { int n = _vm->logic()->itemDataCount(); ItemData *item = _vm->logic()->itemData(1); @@ -186,7 +173,6 @@ bool Debugger::Cmd_Items(int argc, const char **argv) { return true; } - bool Debugger::Cmd_PrintBobs(int argc, const char**argv) { int i; BobSlot *bob = _vm->graphics()->bob(0); @@ -204,7 +190,6 @@ bool Debugger::Cmd_PrintBobs(int argc, const char**argv) { return true; } - bool Debugger::Cmd_Room(int argc, const char **argv) { if (argc == 2) { uint16 roomNum = atoi(argv[1]); |