aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/sword1.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword1/sword1.h')
-rw-r--r--engines/sword1/sword1.h5
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;