Mercurial > might-and-magic-trilogy
diff GUIProgressBar.cpp @ 52:0f4ed4f0f472
BLV minimap: 1/3
author | Nomad |
---|---|
date | Wed, 24 Oct 2012 17:02:44 +0200 |
parents | 18f7a1b94448 |
children |
line wrap: on
line diff
--- a/GUIProgressBar.cpp Tue Oct 23 23:40:55 2012 +0200 +++ b/GUIProgressBar.cpp Wed Oct 24 17:02:44 2012 +0200 @@ -179,13 +179,12 @@ v3 = pIconsFrameTable->GetFrame(uIconID_TurnHour, 0); pRenderer->DrawTextureTransparent(0x64u, 0x92u, &pIcons_LOD->pTextures[v3->uTextureID]); v4 = (double)(113 * uProgressCurrent) / (double)uProgressMax; - pRenderer->FillRect2( - 0, + pRenderer->FillRectFast( 174, 164, - COERCE_UNSIGNED_INT64(v4 + 6.7553994e15), + floorf(v4 + 0.5f),//COERCE_UNSIGNED_INT64(v4 + 6.7553994e15), 16, - LOWORD(pRenderer->uTargetRMask)); + pRenderer->uTargetRMask); goto LABEL_11; } LABEL_6: