Mercurial > mm7
diff GUI/UI/UIArena.cpp @ 2573:0c67be4ec900
DrawTextureIndexed renamed to DrawTextureTransparentColorKey
Changing more class Texture to class Image.
author | a.parshin |
---|---|
date | Sat, 05 Mar 2016 16:25:53 +0200 |
parents | d569340b05ff |
children | dd36326a9994 |
line wrap: on
line diff
--- a/GUI/UI/UIArena.cpp Sat Mar 05 01:51:54 2016 +0200 +++ b/GUI/UI/UIArena.cpp Sat Mar 05 16:25:53 2016 +0200 @@ -18,6 +18,8 @@ #include "../../Engine/Graphics/Viewport.h" #include "../../Engine/texts.h" +#include "GUI/UI/UIHouses.h" + std::array<Vec2_int_, 20> pMonsterArenaPlacements = {{ Vec2_int_(1524, 8332), @@ -166,7 +168,7 @@ Texture* pTex = pIcons_LOD->GetTexture(uTextureID_Leather); pRenderer->GetLeather(8, 352 - v0, pTex, pTex->uTextureHeight - v0); - pRenderer->DrawTextureIndexed(8, 347 - v0, pTexture_591428); + pRenderer->DrawTextureAlphaNew(8/640.0f, (347 - v0)/480.0f, _591428_endcap); v1 = FitTextInAWindow(pGlobalTXT_LocalizationStrings[575], pFontArrus, &window, 0xDu, 0);//Пожалуйста, подождите пока я вызываю существ. Удачи. pDialogueWindow->DrawText(pFontArrus, 13, 354 - v0, 0, v1, 0, 0, 0); pRenderer->EndScene();