- 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:
Randy Heit 2009-11-29 02:57:09 +00:00
commit 26f14f439b
6 changed files with 28 additions and 2 deletions

View file

@ -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