coastline 0.0.4
Loading...
Searching...
No Matches
frametimer.h
Go to the documentation of this file.
1#pragma once
2
7
8#include <windows.h>
9
10#include "common/frameclock.h"
11
14private:
15 LARGE_INTEGER liFrameInterval;
16 LARGE_INTEGER liCurrentCount;
17 LARGE_INTEGER liNextInterval;
18 DWORD dwFrameIntervalMs;
19 DWORD dwCurrentTimeMs;
20 DWORD dwNextIntervalMs;
21
31 FrameTimer *InitializeFrameTimer();
32
33public:
41};
42
43#ifdef __cplusplus
44extern "C" {
45#endif
46
55#ifdef __cplusplus
56}
57#endif
The clock of the frames, from the performance counter or in milliseconds without one.
Definition frametimer.h:13
void SnapshotTimerState()
Read the clock and set the next interval to the interval of a frame.
The ticks of the frames of a race of the Boss Rally release, at 30 frames a second.
void EndHighResolutionTimerPeriod(void)
End the period of the timer of one millisecond the frame timer began without the performance counter.
typedef DWORD