mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Fix: on low resolutions, the message log blocks parts of the inventory,so deactivate the log in that case
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8524 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -307,7 +307,7 @@ void RenderMapScreenInterfaceBottom( BOOLEAN fForceMapscreenFullRender )
|
||||
// HEADROCK Changed this line to accept outside influence through the new boolean:
|
||||
//if ( fForceMapscreenFullRender == TRUE || fMapScreenBottomDirty == TRUE)
|
||||
// HEADROCK HAM 3.6: OK, let's always render this panel, as long as the team inventory screen isn't open.
|
||||
if ( fMapScreenBottomDirty || fForceMapscreenFullRender )
|
||||
if ( fMapScreenBottomDirty || ( (!fShowInventoryFlag || iResolution > _800x600 ) && fForceMapscreenFullRender ) )
|
||||
{
|
||||
// get and blt panel
|
||||
GetVideoObject(&hHandle, guiMAPBOTTOMPANEL );
|
||||
|
||||
+9
-9
@@ -836,11 +836,11 @@ void TacticalScreenMsg( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ... )
|
||||
usColor = DIALOGUE_COLOR;
|
||||
}
|
||||
|
||||
if ( ubPriority == MSG_INTERFACE )
|
||||
// HEADROCK HAM 3.6: Why force yellow? Let's not.
|
||||
/*if ( ubPriority == MSG_INTERFACE )
|
||||
{
|
||||
// HEADROCK HAM 3.6: Why force yellow? Let's not.
|
||||
//usColor = INTERFACE_COLOR;
|
||||
}
|
||||
usColor = INTERFACE_COLOR;
|
||||
}*/
|
||||
|
||||
// HEADROCK HAM 3.6: Allow for longer lines.
|
||||
LINE_WIDTH = (SCREEN_WIDTH - 320);
|
||||
@@ -1038,11 +1038,11 @@ void MapScreenMessage( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ... )
|
||||
usColor = DIALOGUE_COLOR;
|
||||
}
|
||||
|
||||
if ( ubPriority == MSG_INTERFACE )
|
||||
{
|
||||
// HEADROCK HAM 3.6: Why force yellow? Let's not.
|
||||
//usColor = INTERFACE_COLOR;
|
||||
}
|
||||
// HEADROCK HAM 3.6: Why force yellow? Let's not.
|
||||
/*if ( ubPriority == MSG_INTERFACE )
|
||||
{
|
||||
usColor = INTERFACE_COLOR;
|
||||
}*/
|
||||
|
||||
// HEADROCK HAM 3.6: Allow for longer lines.
|
||||
// Lejardo ARSProject
|
||||
|
||||
Reference in New Issue
Block a user