diff options
author | Torbjörn Andersson | 2004-11-25 07:18:35 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-11-25 07:18:35 +0000 |
commit | 03c32f05b012c4a26d607d900cb17a4d55bdaaf9 (patch) | |
tree | 3ef48ee680e49208583aa400c9667b5335ea0eab | |
parent | 7c436352124acc3c82b7588d076f68b7f37e8399 (diff) | |
download | scummvm-rg350-03c32f05b012c4a26d607d900cb17a4d55bdaaf9.tar.gz scummvm-rg350-03c32f05b012c4a26d607d900cb17a4d55bdaaf9.tar.bz2 scummvm-rg350-03c32f05b012c4a26d607d900cb17a4d55bdaaf9.zip |
Temporarily disable the status bar in IHNM. The only place where we drew it
so far, it shouldn't be drawn. Eventually we could probably handle this
with yet another panel mode: no panel at all.
svn-id: r15882
-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 |