diff options
author | Johannes Schickel | 2007-04-15 16:41:20 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-04-15 16:41:20 +0000 |
commit | 21b2c7bceb5947e1eaa79890fe24f59def54aef9 (patch) | |
tree | d13d67e0c2c2db33651a51eb24679bac867a09d8 /engines/kyra/debugger.cpp | |
parent | e962db5b6d6856a31e52f7e3c4038a0f8f47e25d (diff) | |
download | scummvm-rg350-21b2c7bceb5947e1eaa79890fe24f59def54aef9.tar.gz scummvm-rg350-21b2c7bceb5947e1eaa79890fe24f59def54aef9.tar.bz2 scummvm-rg350-21b2c7bceb5947e1eaa79890fe24f59def54aef9.zip |
Formatting/Cleanup.
svn-id: r26511
Diffstat (limited to 'engines/kyra/debugger.cpp')
-rw-r--r-- | engines/kyra/debugger.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/engines/kyra/debugger.cpp b/engines/kyra/debugger.cpp index 30ec201f27..48f1787ceb 100644 --- a/engines/kyra/debugger.cpp +++ b/engines/kyra/debugger.cpp @@ -119,8 +119,9 @@ bool Debugger::cmd_toggleFlag(int argc, const char **argv) { else _vm->setGameFlag(flag); DebugPrintf("Flag %i is now %i\n", flag, _vm->queryGameFlag(flag)); - } else + } else { DebugPrintf("Syntax: toggleflag <flag>\n"); + } return true; } @@ -129,8 +130,9 @@ bool Debugger::cmd_queryFlag(int argc, const char **argv) { if (argc > 1) { uint flag = atoi(argv[1]); DebugPrintf("Flag %i is %i\n", flag, _vm->queryGameFlag(flag)); - } else + } else { DebugPrintf("Syntax: queryflag <flag>\n"); + } return true; } @@ -148,8 +150,9 @@ bool Debugger::cmd_setTimerCountdown(int argc, const char **argv) { uint countdown = atoi(argv[2]); _vm->setTimerCountdown(timer, countdown); DebugPrintf("Timer %i now has countdown %i\n", timer, _vm->_timers[timer].countdown); - } else + } else { DebugPrintf("Syntax: settimercountdown <timer> <countdown>\n"); + } return true; } @@ -166,9 +169,11 @@ bool Debugger::cmd_giveItem(int argc, const char **argv) { _vm->setMouseItem(item); _vm->_itemInHand = item; - } else + } else { DebugPrintf("Syntax: give <itemid>\n"); + } return true; } } // End of namespace Kyra + |