aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-09 19:19:34 +0000
committerMartin Kiewitz2009-10-09 19:19:34 +0000
commite387d274dda33f6eac59780097a1a2d312b9d25f (patch)
tree1112f6bd4394d8dd5cc8e3bc5d0c015e505ea5a7 /engines/sci/gui
parent918827ce99583b5bd62fa5bdb10a55c5427e256c (diff)
downloadscummvm-rg350-e387d274dda33f6eac59780097a1a2d312b9d25f.tar.gz
scummvm-rg350-e387d274dda33f6eac59780097a1a2d312b9d25f.tar.bz2
scummvm-rg350-e387d274dda33f6eac59780097a1a2d312b9d25f.zip
SCI/newgui: adding inactivate code for debug purposes to forward single methods to SciGui32 (testing only)
svn-id: r44842
Diffstat (limited to 'engines/sci/gui')
-rw-r--r--engines/sci/gui/gui.cpp8
-rw-r--r--engines/sci/gui/gui.h3
2 files changed, 11 insertions, 0 deletions
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