diff options
author | Nipun Garg | 2019-06-24 01:10:30 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:58 +0200 |
commit | 8419b988556905d912133286fb85b43fcf0bf4d5 (patch) | |
tree | 7673086d8e8f7aa4ae9a4163676b10388036fbae /engines/hdb/window.cpp | |
parent | 9671f336cfe4c581770143af6585983b53d96e77 (diff) | |
download | scummvm-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.cpp | 14 |
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"); |