From 56c0a41b71256118eda1ffa08f2317aba673faf9 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 30 May 2009 10:22:53 +0000 Subject: SCI: Moved the rest of the console code out of sciconsole.cpp and into console.cpp. "list" and "hexgrep" have been added to the console commands. parse_reg_t() has been moved to kmovement.cpp (as it's the only code using it). Note that the debug commands in scriptdebug.cpp have not been converted yet, so they don't work at the moment svn-id: r41024 --- engines/sci/console.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/sci/console.h') diff --git a/engines/sci/console.h b/engines/sci/console.h index 68ff89f6f8..2f54d4d8d4 100644 --- a/engines/sci/console.h +++ b/engines/sci/console.h @@ -29,7 +29,6 @@ #define SCI_CONSOLE_H #include "gui/debugger.h" -#include "sci/engine/sciconsole.h" namespace Sci { @@ -40,8 +39,6 @@ public: Console(SciEngine *vm); virtual ~Console(); - void con_hook_command(ConCommand command, const char *name, const char *param, const char *description); - private: bool cmdGetVersion(int argc, const char **argv); // bool cmdClasses(int argc, const char **argv); // TODO @@ -56,6 +53,8 @@ private: bool cmdResourceSize(int argc, const char **argv); bool cmdResourceTypes(int argc, const char **argv); bool cmdSci0Palette(int argc, const char **argv); + bool cmdHexgrep(int argc, const char **argv); + bool cmdList(int argc, const char **argv); bool cmdExit(int argc, const char **argv); private: -- cgit v1.2.3