diff options
author | Nipun Garg | 2019-06-23 22:15:03 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:58 +0200 |
commit | 8be8ef73df89c1b53b62cae3209b938b36125540 (patch) | |
tree | 715fbb61243df6d442f368c8bea9ef36b6dd32f1 /engines/hdb | |
parent | e625ce1ccd4f5013744c5a2809aab39401f910ae (diff) | |
download | scummvm-rg350-8be8ef73df89c1b53b62cae3209b938b36125540.tar.gz scummvm-rg350-8be8ef73df89c1b53b62cae3209b938b36125540.tar.bz2 scummvm-rg350-8be8ef73df89c1b53b62cae3209b938b36125540.zip |
HDB: Add Infobar data
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/window.cpp | 7 | ||||
-rw-r--r-- | engines/hdb/window.h | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp index 5e4482b5fb..db245529cc 100644 --- a/engines/hdb/window.cpp +++ b/engines/hdb/window.cpp @@ -68,6 +68,12 @@ bool Window::init() { _gfxInvSelect = g_hdb->_drawMan->loadPic("inventory_normal"); _gfxHandright = g_hdb->_drawMan->loadPic("menu_hand_pointright"); + _gfxInfobar = g_hdb->_drawMan->loadPic("pic_infobar"); + _gfxDarken = g_hdb->_drawMan->loadPic("screen_darken"); + _gfxPausePlaque = g_hdb->_drawMan->loadPic("pause_plaque"); + + _infobarDimmed = 0; + restartSystem(); return true; @@ -76,6 +82,7 @@ bool Window::init() { void Window::restartSystem() { _dialogInfo.active = false; _dialogDelay = 0; + _infobarDimmed = 0; } void Window::openDialog(const char *title, int tileIndex, const char *string, int more, const char *luaMore) { diff --git a/engines/hdb/window.h b/engines/hdb/window.h index 8a22b9d4cc..a498ac3d3f 100644 --- a/engines/hdb/window.h +++ b/engines/hdb/window.h @@ -83,8 +83,11 @@ private: Picture *_gfxIndent, *_gfxArrowTo, *_gfxHandright; Picture *_gfxTry, *_gfxAgain, *_gfxInvSelect; Tile *_gfxMonkeystone; - Picture *_gfxLevelRestart, *_gfxPuasePlaque; + Picture *_gfxLevelRestart, *_gfxPausePlaque; + // Info Bar + Picture *_gfxInfobar, *_gfxDarken; + int _infobarDimmed; }; } // End of Namespace |