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
This commit is contained in:
parent
7c43635212
commit
03c32f05b0
2 changed files with 9 additions and 9 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue