comparison UiGame.cpp @ 710:735dab8d3c9a

Town portal screen + misc gui const replacements
author Nomad
date Thu, 21 Mar 2013 20:30:17 +0200
parents af08fc9e29c8
children da130dd3092a
comparison
equal deleted inserted replaced
709:af08fc9e29c8 710:735dab8d3c9a
1584 uWidth = uZ - uX; 1584 uWidth = uZ - uX;
1585 1585
1586 if ( uCurrentlyLoadedLevelType != LEVEL_Indoor) 1586 if ( uCurrentlyLoadedLevelType != LEVEL_Indoor)
1587 { 1587 {
1588 v17 = pIcons_LOD->pTextures[viewparams->uTextureID_LocationMap].uWidthLn2; 1588 v17 = pIcons_LOD->pTextures[viewparams->uTextureID_LocationMap].uWidthLn2;
1589 auto pMapLod0 = pIcons_LOD->pTextures[viewparams->uTextureID_LocationMap].pLevelOfDetail0; 1589 auto pMapLod0 = pIcons_LOD->pTextures[viewparams->uTextureID_LocationMap].pLevelOfDetail0_prolly_alpha_mask;
1590 auto pPal = pIcons_LOD->pTextures[viewparams->uTextureID_LocationMap].pPalette16; 1590 auto pPal = pIcons_LOD->pTextures[viewparams->uTextureID_LocationMap].pPalette16;
1591 v73 = (1 << (v17 + 16)) / (signed int)uZoom; 1591 v73 = (1 << (v17 + 16)) / (signed int)uZoom;
1592 v18 = (double)(1 << (16 - v17)); 1592 v18 = (double)(1 << (16 - v17));
1593 v19 = v18; 1593 v19 = v18;
1594 v20 = (double)(pParty->vPosition.x + 32768) / v18; 1594 v20 = (double)(pParty->vPosition.x + 32768) / v18;