diff options
author | D G Turner | 2013-12-07 01:32:53 +0000 |
---|---|---|
committer | D G Turner | 2013-12-07 01:32:53 +0000 |
commit | 11b320a6ee699f023f0cf81bfe643acbb4f12f04 (patch) | |
tree | d6aa3991f3b7cec4296f91a9479ea0e4916145e6 /engines | |
parent | 521b1c729cc25941a48ecc56f899247a895b407c (diff) | |
download | scummvm-rg350-11b320a6ee699f023f0cf81bfe643acbb4f12f04.tar.gz scummvm-rg350-11b320a6ee699f023f0cf81bfe643acbb4f12f04.tar.bz2 scummvm-rg350-11b320a6ee699f023f0cf81bfe643acbb4f12f04.zip |
TEENAGENT: Add missing getDebugger() for engine API.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/teenagent/teenagent.h | 6 |
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 }; |