diff options
author | David Turner | 2010-11-08 12:22:58 +0000 |
---|---|---|
committer | David Turner | 2010-11-08 12:22:58 +0000 |
commit | cb734285a50af24dd0453ab292855f038e936acf (patch) | |
tree | 87444882f6157870e16c0d16c325b841ea79a098 /engines/sword1/sword1.h | |
parent | c76f0c6c022766a2db7e96e3e68260d3b9bd7a25 (diff) | |
download | scummvm-rg350-cb734285a50af24dd0453ab292855f038e936acf.tar.gz scummvm-rg350-cb734285a50af24dd0453ab292855f038e936acf.tar.bz2 scummvm-rg350-cb734285a50af24dd0453ab292855f038e936acf.zip |
SWORD1: Added basic debugging console to engine
SWORD1 does not currently use Debug Channels, but this does provide a base for adding them along with any other debugging commands.
svn-id: r54140
Diffstat (limited to 'engines/sword1/sword1.h')
-rw-r--r-- | engines/sword1/sword1.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sword1/sword1.h b/engines/sword1/sword1.h index f4e60e9fa3..592d2da6f4 100644 --- a/engines/sword1/sword1.h +++ b/engines/sword1/sword1.h @@ -30,6 +30,7 @@ #include "common/events.h" #include "common/util.h" #include "sword1/sworddefs.h" +#include "sword1/console.h" /** * This is the namespace of the Sword1 engine. @@ -106,6 +107,8 @@ protected: virtual bool hasFeature(EngineFeature f) const; virtual void syncSoundSettings(); + GUI::Debugger *getDebugger() { return _console; } + Common::Error loadGameState(int slot); bool canLoadGameStateCurrently(); Common::Error saveGameState(int slot, const char *desc); @@ -121,6 +124,8 @@ private: void reinitRes(); //Reinits the resources after a GMM load + SwordConsole *_console; + uint8 mainLoop(); Common::Point _mouseCoord; |