Mercurial > mm7
diff GUIProgressBar.cpp @ 2153:d28d3c006077
Some Render decoupling.
author | Nomad |
---|---|
date | Thu, 09 Jan 2014 02:34:20 +0200 |
parents | 7810cb3a5fb7 |
children | aff7a7b072b7 |
line wrap: on
line diff
--- a/GUIProgressBar.cpp Thu Jan 09 01:37:34 2014 +0200 +++ b/GUIProgressBar.cpp Thu Jan 09 02:34:20 2014 +0200 @@ -1,7 +1,3 @@ -#ifdef _MSC_VER -#define _CRT_SECURE_NO_WARNINGS -#endif - #include "GUIProgressBar.h" #include "LOD.h" #include "Mouse.h" @@ -182,11 +178,8 @@ { if (pBardata.pLevelOfDetail0_prolly_alpha_mask) { - if (pRenderer->pRenderD3D) - { - if (!pRenderer->bWindowMode) - pRenderer->_49FD3A(); - } + pRenderer->Sub01(); + pRenderer->DrawTextureIndexed(80, 122, &pBardata);//прогрессбар для данжей pRenderer->DrawTextureTransparent(100, 146, &pIcons_LOD->pTextures[pIconsFrameTable->GetFrame(uIconID_TurnHour, 0)->uTextureID]); //pRenderer->FillRectFast(174, 164, floorf(((double)(113 * uProgressCurrent) / (double)uProgressMax) + 0.5f),//COERCE_UNSIGNED_INT64(v4 + 6.7553994e15),