[Scummvm-cvs-logs] SF.net SVN: scummvm: [26802] scummvm/trunk/engines/saga/interface.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Fri May 11 15:10:13 CEST 2007
Revision: 26802
http://scummvm.svn.sourceforge.net/scummvm/?rev=26802&view=rev
Author: thebluegr
Date: 2007-05-11 06:10:13 -0700 (Fri, 11 May 2007)
Log Message:
-----------
Changed the check for the status bar in IHNM to match the original, removed a relevant hack
Modified Paths:
--------------
scummvm/trunk/engines/saga/interface.cpp
Modified: scummvm/trunk/engines/saga/interface.cpp
===================================================================
--- scummvm/trunk/engines/saga/interface.cpp 2007-05-11 10:35:12 UTC (rev 26801)
+++ scummvm/trunk/engines/saga/interface.cpp 2007-05-11 13:10:13 UTC (rev 26802)
@@ -536,8 +536,8 @@
assert(text != NULL);
assert(strlen(text) < STATUS_TEXT_LEN);
- // Disable the status text in IHNM when the main panel is not shown (i.e. when the screen is full)
- if (_vm->getGameType() == GType_IHNM && !(_panelMode == kPanelMain || _panelMode == kPanelMap))
+ // Disable the status text in IHNM when the chapter is 8
+ if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 8)
return;
if (_vm->_render->getFlags() & (RF_PLACARD | RF_MAP))
@@ -1524,15 +1524,12 @@
int stringWidth;
int color;
- if (_panelMode == kPanelChapterSelection)
+ // Disable the status text in IHNM when the chapter is 8
+ if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 8)
return;
backBuffer = _vm->_gfx->getBackBuffer();
- // Disable the status bar in IHNM when the main panel is not shown (i.e. when the screen is full)
- if (_vm->getGameType() == GType_IHNM && !(_panelMode == kPanelMain || _panelMode == kPanelMap))
- return;
-
// Erase background of status bar
rect.left = _vm->getDisplayInfo().statusXOffset;
rect.top = _vm->getDisplayInfo().statusYOffset;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list