mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-07 15:31:02 +00:00
- fixed font selection on intermission screen.
This commit is contained in:
parent
4746d0c626
commit
794a53f0c9
1 changed files with 4 additions and 4 deletions
|
@ -178,7 +178,7 @@ class DoomStatusScreen : StatusScreen
|
||||||
statsx = max(0, (320 - allwidth) / 2);
|
statsx = max(0, (320 - allwidth) / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
printFont = generic_ui? IntermissionFont : BigFont;
|
printFont = generic_ui? IntermissionFont : content.mFont;
|
||||||
screen.DrawText (textFont, tcolor, statsx, SP_STATSY, "$TXT_IMKILLS", DTA_Clean, true);
|
screen.DrawText (textFont, tcolor, statsx, SP_STATSY, "$TXT_IMKILLS", DTA_Clean, true);
|
||||||
screen.DrawText (textFont, tcolor, statsx, SP_STATSY+lh, "$TXT_IMITEMS", DTA_Clean, true);
|
screen.DrawText (textFont, tcolor, statsx, SP_STATSY+lh, "$TXT_IMITEMS", DTA_Clean, true);
|
||||||
screen.DrawText (textFont, tcolor, statsx, SP_STATSY+2*lh, "$TXT_IMSECRETS", DTA_Clean, true);
|
screen.DrawText (textFont, tcolor, statsx, SP_STATSY+2*lh, "$TXT_IMSECRETS", DTA_Clean, true);
|
||||||
|
@ -240,15 +240,15 @@ class RavenStatusScreen : DoomStatusScreen
|
||||||
int countpos = gameinfo.gametype==GAME_Strife? 285:270;
|
int countpos = gameinfo.gametype==GAME_Strife? 285:270;
|
||||||
if (sp_state >= 2)
|
if (sp_state >= 2)
|
||||||
{
|
{
|
||||||
drawPercent (IntermissionFont, countpos, 65, cnt_kills[0], wbs.maxkills, true, tcolor);
|
drawPercent (textFont, countpos, 65, cnt_kills[0], wbs.maxkills, true, tcolor);
|
||||||
}
|
}
|
||||||
if (sp_state >= 4)
|
if (sp_state >= 4)
|
||||||
{
|
{
|
||||||
drawPercent (IntermissionFont, countpos, 90, cnt_items[0], wbs.maxitems, true, tcolor);
|
drawPercent (textFont, countpos, 90, cnt_items[0], wbs.maxitems, true, tcolor);
|
||||||
}
|
}
|
||||||
if (sp_state >= 6)
|
if (sp_state >= 6)
|
||||||
{
|
{
|
||||||
drawPercent (IntermissionFont, countpos, 115, cnt_secret[0], wbs.maxsecret, true, tcolor);
|
drawPercent (textFont, countpos, 115, cnt_secret[0], wbs.maxsecret, true, tcolor);
|
||||||
}
|
}
|
||||||
if (sp_state >= 8)
|
if (sp_state >= 8)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue