- Fixed: The FPS meter cannot use I_MSTime(), because if the game is started
with +vid_fps 1, it can need the time before the timer is ready to start. SVN r2009 (trunk)
This commit is contained in:
parent
a5c8b33f10
commit
26f14f439b
6 changed files with 28 additions and 2 deletions
|
|
@ -280,6 +280,22 @@ unsigned int I_MSTime()
|
|||
return timeGetTime() - basetime;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// I_FPSTime
|
||||
//
|
||||
// Returns the current system time in milliseconds. This is used by the FPS
|
||||
// meter of DFrameBuffer::DrawRateStuff(). Since the screen can display
|
||||
// before the play simulation is ready to begin, this needs to be
|
||||
// separate from I_MSTime().
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
unsigned int I_FPSTime()
|
||||
{
|
||||
return timeGetTime();
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// I_GetTimePolled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue