centered unlock awards and double res shop
400x100 base scale for the xxx_unlocked.png
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 405 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 150 KiB |
@@ -5,7 +5,6 @@ wallpapers/wagic1.jpg
|
|||||||
wallpapers/kaioshin_garruk.jpg
|
wallpapers/kaioshin_garruk.jpg
|
||||||
wallpapers/kaioshin_jace.jpg
|
wallpapers/kaioshin_jace.jpg
|
||||||
graphics/shop.jpg
|
graphics/shop.jpg
|
||||||
themes/Classic/backdrop.jpg
|
|
||||||
wallpapers/kaioshin_ravager.jpg
|
wallpapers/kaioshin_ravager.jpg
|
||||||
wallpapers/kaioshin_elsXIII.jpg
|
wallpapers/kaioshin_elsXIII.jpg
|
||||||
wallpapers/kaioshin_sorin.jpg
|
wallpapers/kaioshin_sorin.jpg
|
||||||
|
|||||||
@@ -531,7 +531,8 @@ void Credits::Render()
|
|||||||
if (unlockedQuad)
|
if (unlockedQuad)
|
||||||
{
|
{
|
||||||
showMsg = 0;
|
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())
|
if (unlockedString.size())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -704,7 +704,7 @@ void GameStateShop::Render()
|
|||||||
|
|
||||||
JQuadPtr mBg = WResourceManager::Instance()->RetrieveTempQuad("shop.jpg", TEXTURE_SUB_5551);
|
JQuadPtr mBg = WResourceManager::Instance()->RetrieveTempQuad("shop.jpg", TEXTURE_SUB_5551);
|
||||||
if (mBg.get())
|
if (mBg.get())
|
||||||
r->RenderQuad(mBg.get(), 0, 0);
|
r->RenderQuad(mBg.get(), 0, 0, 0, SCREEN_WIDTH_F / mBg->mWidth, SCREEN_HEIGHT_F / mBg->mHeight);
|
||||||
|
|
||||||
JQuadPtr quad = WResourceManager::Instance()->RetrieveTempQuad("shop_light.jpg", TEXTURE_SUB_5551);
|
JQuadPtr quad = WResourceManager::Instance()->RetrieveTempQuad("shop_light.jpg", TEXTURE_SUB_5551);
|
||||||
if (quad.get())
|
if (quad.get())
|
||||||
@@ -712,7 +712,8 @@ void GameStateShop::Render()
|
|||||||
r->EnableTextureFilter(false);
|
r->EnableTextureFilter(false);
|
||||||
r->SetTexBlend(BLEND_SRC_ALPHA, BLEND_ONE);
|
r->SetTexBlend(BLEND_SRC_ALPHA, BLEND_ONE);
|
||||||
quad->SetColor(ARGB(lightAlpha,255,255,255));
|
quad->SetColor(ARGB(lightAlpha,255,255,255));
|
||||||
r->RenderQuad(quad.get(), 0, 0);
|
quad->SetHotSpot(0,quad->mHeight);
|
||||||
|
r->RenderQuad(quad.get(), 0, SCREEN_HEIGHT, 0, 255.f / quad->mWidth, 272.f / quad->mHeight);
|
||||||
r->SetTexBlend(BLEND_SRC_ALPHA, BLEND_ONE_MINUS_SRC_ALPHA);
|
r->SetTexBlend(BLEND_SRC_ALPHA, BLEND_ONE_MINUS_SRC_ALPHA);
|
||||||
r->EnableTextureFilter(true);
|
r->EnableTextureFilter(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user