mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 08:51:08 +00:00
- reworked the FPS display to use ZDoom's fstat class to get rid of the microscopic font it used.
- changed time display for rendering to exclude VSync and playsim times to get more meaningful information.
This commit is contained in:
parent
cae710bd59
commit
a1a9770b44
18 changed files with 75 additions and 169 deletions
|
@ -80,6 +80,15 @@ void FStat::ToggleStat (const char *name)
|
|||
Printf ("Unknown stat: %s\n", name);
|
||||
}
|
||||
|
||||
void FStat::EnableStat(const char* name, bool on)
|
||||
{
|
||||
FStat* stat = FindStat(name);
|
||||
if (stat)
|
||||
stat->m_Active = on;
|
||||
else
|
||||
Printf("Unknown stat: %s\n", name);
|
||||
}
|
||||
|
||||
void FStat::ToggleStat ()
|
||||
{
|
||||
m_Active = !m_Active;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue