From e387d274dda33f6eac59780097a1a2d312b9d25f Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Fri, 9 Oct 2009 19:19:34 +0000 Subject: SCI/newgui: adding inactivate code for debug purposes to forward single methods to SciGui32 (testing only) svn-id: r44842 --- engines/sci/gui/gui.cpp | 8 ++++++++ engines/sci/gui/gui.h | 3 +++ 2 files changed, 11 insertions(+) (limited to 'engines/sci/gui') diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp index a35be7274a..2f5b499969 100644 --- a/engines/sci/gui/gui.cpp +++ b/engines/sci/gui/gui.cpp @@ -42,11 +42,19 @@ namespace Sci { +// for debug purposes +// class SciGui32 : public SciGui { +// public: +// SciGui32(EngineState *s, SciGuiScreen *screen, SciGuiPalette *palette, SciGuiCursor *cursor); +// ~SciGui32(); +// }; + SciGui::SciGui(EngineState *state, SciGuiScreen *screen, SciGuiPalette *palette, SciGuiCursor *cursor) : _s(state), _screen(screen), _palette(palette), _cursor(cursor) { _gfx = new SciGuiGfx(_s, _screen, _palette); _windowMgr = new SciGuiWindowMgr(_s, _screen, _gfx); + // _gui32 = new SciGui32(_s, _screen, _palette, _cursor); // for debug purposes } SciGui::SciGui() { diff --git a/engines/sci/gui/gui.h b/engines/sci/gui/gui.h index 427ce01cf0..fd2ecbc8dd 100644 --- a/engines/sci/gui/gui.h +++ b/engines/sci/gui/gui.h @@ -36,6 +36,7 @@ class SciGuiCursor; class SciGuiGfx; class SciGuiresources; class SciGuiWindowMgr; +class SciGui32; // for debug purposes class SciGui { public: @@ -111,6 +112,8 @@ private: SciGuiGfx *_gfx; SciGuiresources *_resources; SciGuiWindowMgr *_windowMgr; + + // SciGui32 *_gui32; // for debug purposes }; } // End of namespace Sci -- cgit v1.2.3