aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/hugo.h
diff options
context:
space:
mode:
authorDavid Turner2010-11-07 15:04:47 +0000
committerDavid Turner2010-11-07 15:04:47 +0000
commit1cbab9885bc7af3ee758c4ca9ce61bb9cb3e5af9 (patch)
treed5ac040fdbe6cc53f64ff60d481e09f25c9971fd /engines/hugo/hugo.h
parent3d961469fdce1e727249534d5710c1f58955bb20 (diff)
downloadscummvm-rg350-1cbab9885bc7af3ee758c4ca9ce61bb9cb3e5af9.tar.gz
scummvm-rg350-1cbab9885bc7af3ee758c4ca9ce61bb9cb3e5af9.tar.bz2
scummvm-rg350-1cbab9885bc7af3ee758c4ca9ce61bb9cb3e5af9.zip
HUGO: Added basic debugging console to engine
Since HUGO uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands. svn-id: r54117
Diffstat (limited to 'engines/hugo/hugo.h')
-rw-r--r--engines/hugo/hugo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/hugo/hugo.h b/engines/hugo/hugo.h
index 257ccd5833..c829824638 100644
--- a/engines/hugo/hugo.h
+++ b/engines/hugo/hugo.h
@@ -28,6 +28,7 @@
#include "engines/engine.h"
#include "common/file.h"
+#include "hugo/console.h"
// This include is here temporarily while the engine is being refactored.
#include "hugo/game.h"
@@ -156,6 +157,8 @@ public:
uint16 _drop;
uint16 _numObj;
+ GUI::Debugger *getDebugger() { return _console; }
+
Common::RandomSource *_rnd;
const char *_episode;
@@ -264,6 +267,8 @@ private:
static HugoEngine *s_Engine;
+ HugoConsole *_console;
+
// The following are bit plane display overlays which mark travel boundaries,
// foreground stationary objects and baselines for those objects (used to
// determine foreground/background wrt moving objects)