- It is now possible to replace the game's SmallFont with a single lump font

called SMALLFNT.
- Reduced the width of the second column in wi_percents false mode from 3 to
  2 characters.
- Added a WISLASH graphic for Doom's intermission screen when wi_percents is
  false.


SVN r1298 (trunk)
This commit is contained in:
Randy Heit 2008-11-30 01:37:11 +00:00
commit 927c9532bf
6 changed files with 30 additions and 13 deletions

View file

@ -937,10 +937,9 @@ void WI_drawPercent (int x, int y, int p, int b, bool show_total=true)
x += IntermissionFont->GetCharWidth('%');
if (show_total)
{
int y2 = y + IntermissionFont->GetHeight() - BigFont->GetHeight();
x = WI_drawNum(x, y, b, 3, false);
x -= BigFont->GetCharWidth('/');
screen->DrawText (BigFont, gameinfo.gametype & GAME_Doom ? CR_RED : CR_UNTRANSLATED, x, y2, "/",
x = WI_drawNum(x, y, b, 2, false);
x -= IntermissionFont->GetCharWidth('/');
screen->DrawText (IntermissionFont, CR_UNTRANSLATED, x, y, "/",
DTA_Clean, true, TAG_DONE);
}
WI_drawNum (x, y, p, -1, false);