centered unlock awards and double res shop

400x100 base scale for the xxx_unlocked.png
This commit is contained in:
Anthony Calosa
2016-07-17 07:42:46 +08:00
parent ef94c31d42
commit 06740564f8
5 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -531,7 +531,8 @@ void Credits::Render()
if (unlockedQuad)
{
showMsg = 0;
r->RenderQuad(unlockedQuad.get(), 20, 20);
unlockedQuad->SetHotSpot(unlockedQuad->mWidth/2,0);
r->RenderQuad(unlockedQuad.get(), SCREEN_WIDTH_F/2, 20, 0, 400.f / unlockedQuad->mWidth, 100.f / unlockedQuad->mHeight);
}
if (unlockedString.size())
{