- The co-op summary screen now has a totals row at the bottom (if it fits).
- Changed WI_drawPercent() when wi_percents is false so that the total display is optional, and it formats it like Heretic's intermission, with a slash and a fixed-width right column. - Font is no longer a property of the screen object. Pass the font to DrawText and DrawChar directly instead. - Doom's intermission characters are now collected together as a font so they can be colorized. SVN r1294 (trunk)
This commit is contained in:
parent
904b59f266
commit
6e83d231fe
39 changed files with 471 additions and 556 deletions
|
|
@ -94,7 +94,6 @@ void FStat::PrintStat ()
|
|||
int y = SCREENHEIGHT;
|
||||
int count = 0;
|
||||
|
||||
screen->SetFont (ConFont);
|
||||
for (FStat *stat = FirstStat; stat != NULL; stat = stat->m_Next)
|
||||
{
|
||||
if (stat->m_Active)
|
||||
|
|
@ -104,17 +103,16 @@ void FStat::PrintStat ()
|
|||
if (stattext.Len() > 0)
|
||||
{
|
||||
y -= fontheight; // there's at least one line of text
|
||||
for(unsigned i = 0; i < stattext.Len()-1; i++)
|
||||
for (unsigned i = 0; i < stattext.Len()-1; i++)
|
||||
{
|
||||
// Count number of linefeeds but ignore terminating ones.
|
||||
if (stattext[i] == '\n') y -= fontheight;
|
||||
}
|
||||
screen->DrawText (CR_GREEN, 5, y, stattext, TAG_DONE);
|
||||
screen->DrawText(ConFont, CR_GREEN, 5, y, stattext, TAG_DONE);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
}
|
||||
screen->SetFont (SmallFont);
|
||||
if (count)
|
||||
{
|
||||
SB_state = screen->GetPageCount ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue