diff options
Diffstat (limited to 'engines/glk/glk.h')
-rw-r--r-- | engines/glk/glk.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/glk/glk.h b/engines/glk/glk.h index 9c65fca3e6..e6516f1ee1 100644 --- a/engines/glk/glk.h +++ b/engines/glk/glk.h @@ -28,6 +28,7 @@ #include "common/system.h" #include "common/serializer.h" #include "engines/engine.h" +#include "glk/debugger.h" #include "glk/glk_types.h" #include "glk/streams.h" #include "glk/pc_speaker.h" @@ -99,6 +100,13 @@ protected: virtual Screen *createScreen(); /** + * Creates a debugger instance + */ + virtual Debugger *createDebugger() { + return new Debugger(this); + } + + /** * Main game loop for the individual interpreters */ virtual void runGame() = 0; @@ -106,6 +114,7 @@ public: Blorb *_blorb; Clipboard *_clipboard; Conf *_conf; + Debugger *_debugger; Events *_events; Pictures *_pictures; Screen *_screen; |