mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Merged from revision: 7344
Fixes (by Buggler) - Centered strategic screen in non-standard resolutions - Fixed message log disappearing when clicking map border buttons - Minor fix for increased MAX_BUILDINGS limit git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7345 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2710,7 +2710,7 @@ void DisplayTextForExternalNPC( UINT8 ubCharacterNum, STR16 zQuoteStr )
|
||||
if ( guiCurrentScreen == MAP_SCREEN )
|
||||
{
|
||||
sLeft = ( gsExternPanelXPosition + 97 + xResOffset );
|
||||
gsTopPosition = gsExternPanelYPosition;
|
||||
gsTopPosition = gsExternPanelYPosition + yResOffset;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2742,6 +2742,7 @@ void HandleTacticalTextUI( INT32 iFaceIndex, SOLDIERTYPE *pSoldier, STR16 zQuote
|
||||
else
|
||||
{
|
||||
sLeft = 110 + xResOffset;
|
||||
gsTopPosition += yResOffset;
|
||||
}
|
||||
|
||||
//previous version
|
||||
@@ -2843,7 +2844,7 @@ void HandleExternNPCSpeechFace( INT32 iIndex )
|
||||
// Setup video overlay!
|
||||
|
||||
VideoOverlayDesc.sLeft = gsExternPanelXPosition + xResOffset;
|
||||
VideoOverlayDesc.sTop = gsExternPanelYPosition;
|
||||
VideoOverlayDesc.sTop = gsExternPanelYPosition + yResOffset;
|
||||
|
||||
VideoOverlayDesc.sRight = VideoOverlayDesc.sLeft + 99;
|
||||
VideoOverlayDesc.sBottom = VideoOverlayDesc.sTop + 98;
|
||||
|
||||
Reference in New Issue
Block a user