aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/window.cpp
diff options
context:
space:
mode:
authorNipun Garg2019-06-24 01:10:30 +0530
committerEugene Sandulenko2019-09-03 17:16:58 +0200
commit8419b988556905d912133286fb85b43fcf0bf4d5 (patch)
tree7673086d8e8f7aa4ae9a4163676b10388036fbae /engines/hdb/window.cpp
parent9671f336cfe4c581770143af6585983b53d96e77 (diff)
downloadscummvm-rg350-8419b988556905d912133286fb85b43fcf0bf4d5.tar.gz
scummvm-rg350-8419b988556905d912133286fb85b43fcf0bf4d5.tar.bz2
scummvm-rg350-8419b988556905d912133286fb85b43fcf0bf4d5.zip
HDB: Add picture debugging code
Diffstat (limited to 'engines/hdb/window.cpp')
-rw-r--r--engines/hdb/window.cpp14
1 files changed, 14 insertions, 0 deletions
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");