Mercurial > mm7
diff mm7_5.cpp @ 819:9359c114f98c
More on screenshot
author | Nomad |
---|---|
date | Tue, 26 Mar 2013 14:14:39 +0200 |
parents | cfc65feef029 |
children | 5e3f4bf3b8e6 c232f160e6f3 |
line wrap: on
line diff
--- a/mm7_5.cpp Tue Mar 26 13:14:41 2013 +0200 +++ b/mm7_5.cpp Tue Mar 26 14:14:39 2013 +0200 @@ -10106,12 +10106,12 @@ v0 = &pParty->pPlayers[_506348_current_lloyd_playerid]; pRenderer->DrawTextureIndexed(8u, 8u, pTexture_LloydBeacons[(unsigned __int8)bRecallingBeacon]); v1 = pGlobalTXT_LocalizationStrings[523]; // Recall Beacon - v22.uFrameX = 8; - v22.uFrameY = 8; + v22.uFrameX = game_viewport_x; + v22.uFrameY = game_viewport_y; v22.uFrameWidth = 428; - v22.uFrameHeight = 344; + v22.uFrameHeight = game_viewport_height; v22.uFrameZ = 435; - v22.uFrameW = 351; + v22.uFrameW = game_viewport_w; if ( !bRecallingBeacon ) v1 = pGlobalTXT_LocalizationStrings[375]; // Set Beacon sprintf(pTmpBuf, "%s", v1); @@ -10264,12 +10264,12 @@ pRenderer->DrawTextureTransparent(8, 8, pTexture_CurrentBook); pRenderer->DrawTextureTransparent(471, 445, pIcons_LOD->GetTexture(uExitCancelTextureId)); - v6.uFrameX = 8; - v6.uFrameY = 8; - v6.uFrameWidth = 460; - v6.uFrameHeight = 344; - v6.uFrameZ = 467; - v6.uFrameW = 351; + v6.uFrameX = game_viewport_x; + v6.uFrameY = game_viewport_y; + v6.uFrameWidth = game_viewport_width; + v6.uFrameHeight = game_viewport_height; + v6.uFrameZ = game_viewport_z; + v6.uFrameW = game_viewport_w; const uint fountain_bits_lut[] = {PARTY_QUEST_FOUNTAIN_HARMONDALE, PARTY_QUEST_FOUNTAIN_PIERPONT, @@ -10432,12 +10432,12 @@ { v0 -= 12; } - a1.uFrameX = 8; - a1.uFrameY = 8; - a1.uFrameWidth = 460; - a1.uFrameHeight = 344; - a1.uFrameZ = 467; - a1.uFrameW = 467; + a1.uFrameX = game_viewport_x; + a1.uFrameY = game_viewport_y; + a1.uFrameWidth = game_viewport_width; + a1.uFrameHeight = game_viewport_height; + a1.uFrameZ = game_viewport_z; + a1.uFrameW = game_viewport_w; a1.DrawTitleText(pBook2Font, 0, 0x16u, 0, pGlobalTXT_LocalizationStrings[186], 3u); if ( pParty->uCurrentHour >= 12 ) {