From 1cbab9885bc7af3ee758c4ca9ce61bb9cb3e5af9 Mon Sep 17 00:00:00 2001 From: David Turner Date: Sun, 7 Nov 2010 15:04:47 +0000 Subject: 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 --- engines/hugo/hugo.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/hugo/hugo.h') 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) -- cgit v1.2.3