aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/draw-manager.h3
-rw-r--r--engines/hdb/window.cpp14
2 files changed, 16 insertions, 1 deletions
diff --git a/engines/hdb/draw-manager.h b/engines/hdb/draw-manager.h
index e70b673241..3b908e7bd2 100644
--- a/engines/hdb/draw-manager.h
+++ b/engines/hdb/draw-manager.h
@@ -186,9 +186,10 @@ public:
void draw(int x, int y);
void drawMasked(int x, int y);
+ uint _width, _height;
+
private:
- uint _width, _height;
char _name[64];
Graphics::ManagedSurface _surface;
diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp
index d7221fcc57..d2dc204f76 100644
--- a/engines/hdb/window.cpp
+++ b/engines/hdb/window.cpp
@@ -137,6 +137,20 @@ void Window::openDialog(const char *title, int tileIndex, const char *string, in
void Window::drawDialog() {
+#if 0
+ _gfxTL->drawMasked(0, 0);
+ _gfxTM->drawMasked(_gfxTL->_width, 0);
+ _gfxTR->drawMasked(_gfxTL->_width + _gfxTM->_width, 0);
+
+ _gfxL->drawMasked(0, _gfxTL->_height);
+ _gfxM->drawMasked(_gfxL->_width, _gfxTL->_height);
+ _gfxR->drawMasked(_gfxL->_width + _gfxM->_width, _gfxTL->_height);
+
+ _gfxBL->drawMasked(0, _gfxTL->_height + _gfxL->_height);
+ _gfxBM->drawMasked(_gfxBL->_width, _gfxTL->_height + _gfxL->_height);
+ _gfxBR->drawMasked(_gfxBL->_width + _gfxBM->_width, _gfxTL->_height + _gfxL->_height);
+#endif
+
if (g_hdb->getActionMode())
warning("STUB: drawDialog: Draw Player Weapon");