diff options
author | Paul Gilbert | 2015-07-12 22:30:32 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-12 22:30:32 -0400 |
commit | 6c036549806491012a1921bbe4aa3b5a3252702d (patch) | |
tree | e4f7d2be1b9f0228dac559f35d87b1a1ee1a6073 /engines/sherlock/debugger.h | |
parent | 918f6c06a61e777ba200335a3595d90e21bdc6dd (diff) | |
download | scummvm-rg350-6c036549806491012a1921bbe4aa3b5a3252702d.tar.gz scummvm-rg350-6c036549806491012a1921bbe4aa3b5a3252702d.tar.bz2 scummvm-rg350-6c036549806491012a1921bbe4aa3b5a3252702d.zip |
SHERLOCK: Split up Debugger class for both games
Diffstat (limited to 'engines/sherlock/debugger.h')
-rw-r--r-- | engines/sherlock/debugger.h | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/engines/sherlock/debugger.h b/engines/sherlock/debugger.h index 2252f6d8ea..eec2579ca4 100644 --- a/engines/sherlock/debugger.h +++ b/engines/sherlock/debugger.h @@ -31,15 +31,7 @@ namespace Sherlock { class SherlockEngine; class Debugger : public GUI::Debugger { -public: - Debugger(SherlockEngine *vm); - virtual ~Debugger() {} - - void postEnter(); - private: - SherlockEngine *_vm; - /** * Converts a decimal or hexadecimal string into a number */ @@ -51,16 +43,6 @@ private: bool cmdScene(int argc, const char **argv); /** - * Plays a 3DO movie - */ - bool cmd3DO_PlayMovie(int argc, const char **argv); - - /** - * Plays a 3DO audio - */ - bool cmd3DO_PlayAudio(int argc, const char **argv); - - /** * Plays a song */ bool cmdSong(int argc, const char **argv); @@ -69,9 +51,15 @@ private: * Dumps a file to disk */ bool cmdDumpFile(int argc, const char **argv); - -private: +protected: + SherlockEngine *_vm; Common::String _3doPlayMovieFile; +public: + Debugger(SherlockEngine *vm); + virtual ~Debugger() {} + static Debugger *init(SherlockEngine *vm); + + void postEnter(); }; } // End of namespace Sherlock |