comparison Overlays.cpp @ 2154:9bd7522cdbbb

Render decoupling. Unsorted variables cleaning.
author Nomad
date Thu, 09 Jan 2014 14:36:48 +0200
parents d28d3c006077
children b65e71eadd1b
comparison
equal deleted inserted replaced
2153:d28d3c006077 2154:9bd7522cdbbb
133 v3 = pIconsFrameTable; 133 v3 = pIconsFrameTable;
134 LABEL_12: 134 LABEL_12:
135 v4 = pIconsFrameTable->GetFrame(v5, v6); 135 v4 = pIconsFrameTable->GetFrame(v5, v6);
136 LABEL_14: 136 LABEL_14:
137 v7 = &pIcons_LOD->pTextures[*((short *)v4 + 15)]; 137 v7 = &pIcons_LOD->pTextures[*((short *)v4 + 15)];
138 if ( pRenderer->pRenderD3D ) 138 //if ( pRenderer->pRenderD3D )
139 pRenderer->DrawTextureIndexed(0x18Au, 0x120u, v7); 139 pRenderer->DrawTextureIndexed(0x18Au, 0x120u, v7);
140 else 140 /*else
141 pRenderer->DrawTextureTransparent(0x18Au, 0x120u, v7); 141 pRenderer->DrawTextureTransparent(0x18Au, 0x120u, v7);*/
142 result = dword_50C994; 142 result = dword_50C994;
143 if ( dword_50C994 < dword_50C998_turnbased_icon_1A ) 143 if ( dword_50C994 < dword_50C998_turnbased_icon_1A )
144 { 144 {
145 result = pEventTimer->uTimeElapsed + dword_50C994; 145 result = pEventTimer->uTimeElapsed + dword_50C994;
146 dword_50C994 = result; 146 dword_50C994 = result;