diff options
-rw-r--r-- | saga/interface.cpp | 16 | ||||
-rw-r--r-- | saga/interface.h | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp index c104d6092a..4ae40ece9f 100644 --- a/saga/interface.cpp +++ b/saga/interface.cpp @@ -322,7 +322,6 @@ int Interface::draw() { int rportrait_x; int rportrait_y; - Rect rect; Point origin; back_buf = _vm->_gfx->getBackBuffer(); @@ -334,13 +333,7 @@ int Interface::draw() { // Get game display info GAME_GetDisplayInfo(&g_di); - // Erase background of status bar - rect.left = 0; - rect.top = _iDesc.status_y; - rect.right = g_di.logical_w; - rect.bottom = _iDesc.status_y + _iDesc.status_h; - - drawRect(back_buf, &rect, _iDesc.status_bgcol); + drawStatusBar(back_buf); // Draw command panel background if (_panelMode == kPanelCommand) { @@ -430,6 +423,13 @@ int Interface::drawStatusBar(SURFACE *ds) { int string_w; + // Disable this for IHNM for now, since that game uses the full screen + // in some cases. + + if (GAME_GetGameType() == GID_IHNM) { + return SUCCESS; + } + // Get game display info GAME_GetDisplayInfo(&g_di); diff --git a/saga/interface.h b/saga/interface.h index a391b5546b..908b629a7a 100644 --- a/saga/interface.h +++ b/saga/interface.h @@ -78,7 +78,7 @@ enum INTERFACE_UPDATE_FLAGS { #define IHNM_STATUS_H 24 #define IHNM_STATUS_TEXT_Y 8 #define IHNM_STATUS_TXTCOL 186 -#define IHNM_STATUS_BGCOL 0 +#define IHNM_STATUS_BGCOL 11 #define IHNM_CMD_TEXT_COL 147 #define IHNM_CMD_TEXT_SHADOWCOL 15 |