diff options
author | Paul Gilbert | 2015-05-01 17:17:24 -1000 |
---|---|---|
committer | Paul Gilbert | 2015-05-01 17:17:24 -1000 |
commit | b4c3d9840c99ce5d4e23eb0f646bd995f7d2c002 (patch) | |
tree | 0aea1dacb057a63d1e32841a6a377f37c9542a8a /engines/sherlock/debugger.cpp | |
parent | 42a99354f9d0c4719e955008f57bf433fdbeabb3 (diff) | |
download | scummvm-rg350-b4c3d9840c99ce5d4e23eb0f646bd995f7d2c002.tar.gz scummvm-rg350-b4c3d9840c99ce5d4e23eb0f646bd995f7d2c002.tar.bz2 scummvm-rg350-b4c3d9840c99ce5d4e23eb0f646bd995f7d2c002.zip |
SHERLOCK: Extra method comments
Diffstat (limited to 'engines/sherlock/debugger.cpp')
-rw-r--r-- | engines/sherlock/debugger.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sherlock/debugger.cpp b/engines/sherlock/debugger.cpp index b8ac8bef6a..b3dac71d5e 100644 --- a/engines/sherlock/debugger.cpp +++ b/engines/sherlock/debugger.cpp @@ -30,6 +30,9 @@ Debugger::Debugger(SherlockEngine *vm) : GUI::Debugger(), _vm(vm) { registerCmd("scene", WRAP_METHOD(Debugger, cmd_scene)); } +/** + * Converts a decimal or hexadecimal string into a number + */ static int strToInt(const char *s) { if (!*s) // No string at all @@ -46,6 +49,9 @@ static int strToInt(const char *s) { return (int)tmp; } +/** + * Switch to another scene + */ bool Debugger::cmd_scene(int argc, const char **argv) { if (argc != 2) { debugPrintf("Format: scene <room>\n"); |