aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/window.cpp7
-rw-r--r--engines/hdb/window.h5
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