- Fix the rest of issue 29 for PSP
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-10-09 11:48:58 +00:00
parent 9b05f73371
commit 4193cb1d28

View File

@@ -129,10 +129,13 @@ void GuiGameZone::Render(){
JLBFont * mFont = resources.GetJLBFont(Constants::MAIN_FONT);
mFont->SetScale(DEFAULT_MAIN_FONT_SCALE);
char buffer[11];
int mAlpha = (int)(actA);
sprintf(buffer,"%i", zone->nb_cards);
mFont->SetColor(ARGB((int)(actA),0,0,0));
mFont->SetColor(ARGB(mAlpha,0,0,0));
mFont->DrawString(buffer, x0+1, actY+1);
mFont->SetColor(ARGB(actA > 120 ? 255: (int)(actA),255,255,255));
if (actA > 120) mAlpha = 255;
mFont->SetColor(ARGB(mAlpha,255,255,255));
fprintf(stderr, "%i\n", mAlpha);
mFont->DrawString(buffer, x0, actY);