From c2afb25ec556b78947d7caa47a24f8db10f529db Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 11 Feb 2009 10:03:01 +0000 Subject: Added debugger console svn-id: r36259 --- engines/cruise/cruise.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'engines/cruise/cruise.h') diff --git a/engines/cruise/cruise.h b/engines/cruise/cruise.h index e87223df57..0ed3e57d1b 100644 --- a/engines/cruise/cruise.h +++ b/engines/cruise/cruise.h @@ -32,6 +32,7 @@ #include "engines/engine.h" #include "cruise/cruise_main.h" +#include "cruise/debugger.h" namespace Cruise { @@ -42,6 +43,13 @@ enum CruiseGameType { struct CRUISEGameDescription; class CruiseEngine: public Engine { +private: + void initialize(void); + bool makeLoad(char *saveName); + void mainLoop(int bootScriptIdx); + + bool _preLoad; + Debugger *_debugger; protected: // Engine APIs @@ -60,6 +68,7 @@ public: uint32 getFeatures() const; Common::Language getLanguage() const; Common::Platform getPlatform() const; + virtual GUI::Debugger *getDebugger() { return _debugger; } bool loadSaveDirectory(void); void makeSystemMenu(void); @@ -67,13 +76,6 @@ public: const CRUISEGameDescription *_gameDescription; Common::RandomSource _rnd; - -private: - void initialize(void); - bool makeLoad(char *saveName); - void mainLoop(int bootScriptIdx); - - bool _preLoad; }; extern CruiseEngine *_vm; -- cgit v1.2.3