11#define TICK_PERIOD_MS 100
13#define TICKS_PER_PERIOD 3
15#define TICK_INTERVAL_MS 33
78#if TGR_PLATFORM == TGR_PLATFORM_WIN
int g_dwGameFpsFrameCountdown
The game-loop sample written last, negative before the first loop.
void ResetFrameTimer(void)
Start the ticks of the frames from the current time, at three for each tenth of a second.
void SnapshotPlatformFrameTimerState(void)
Read the Windows frame clock before resetting the shared frame counters.
u32 GetFrameTickCounter(void)
Get the time of the current frame tick.
void AdvanceFrameTickCounter(void)
Advance the ticks by one, the time of the current tick by the milliseconds of its phase.
void ResetFrameTimerState(void)
Start the timing of the frames of a race again.
int g_dwGameFpsSampleFrames
The number of game-loop durations averaged for the game frame rate.
u32 GetHighResolutionTime(void)
The time since the first call, from the performance counter in milliseconds rounded to the nearest,...
The integer and floating-point types of the console, for headers shared with Windows.
unsigned int u32
Definition ultratypes.h:20