aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/teenagent.h
diff options
context:
space:
mode:
authorD G Turner2013-12-07 01:32:53 +0000
committerD G Turner2013-12-07 01:32:53 +0000
commit11b320a6ee699f023f0cf81bfe643acbb4f12f04 (patch)
treed6aa3991f3b7cec4296f91a9479ea0e4916145e6 /engines/teenagent/teenagent.h
parent521b1c729cc25941a48ecc56f899247a895b407c (diff)
downloadscummvm-rg350-11b320a6ee699f023f0cf81bfe643acbb4f12f04.tar.gz
scummvm-rg350-11b320a6ee699f023f0cf81bfe643acbb4f12f04.tar.bz2
scummvm-rg350-11b320a6ee699f023f0cf81bfe643acbb4f12f04.zip
TEENAGENT: Add missing getDebugger() for engine API.
Diffstat (limited to 'engines/teenagent/teenagent.h')
-rw-r--r--engines/teenagent/teenagent.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/teenagent/teenagent.h b/engines/teenagent/teenagent.h
index d6a2c0d3c6..3c3bc25e56 100644
--- a/engines/teenagent/teenagent.h
+++ b/engines/teenagent/teenagent.h
@@ -31,6 +31,9 @@
#include "common/rect.h"
#include "common/array.h"
+#include "gui/debugger.h"
+
+#include "teenagent/console.h"
#include "teenagent/dialog.h"
struct ADGameDescription;
@@ -50,7 +53,6 @@ struct UseHotspot;
class Scene;
class MusicPlayer;
class Dialog;
-class Console;
class Resources;
class Inventory;
@@ -84,6 +86,8 @@ public:
virtual bool canSaveGameStateCurrently() { return !_sceneBusy; }
virtual bool hasFeature(EngineFeature f) const;
+ GUI::Debugger *getDebugger() { return console; }
+
void init();
enum Action { kActionNone, kActionExamine, kActionUse };