MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / InitFrameTime

Function InitFrameTime

Descent3/GameLoop.cpp:2776–2783  ·  view source on GitHub ↗

called before first call to StopTime, StartTime or CalcFrameTime

Source from the content-addressed store, hash-verified

2774
2775// called before first call to StopTime, StartTime or CalcFrameTime
2776void InitFrameTime(void) {
2777
2778 if (timer_paused) {
2779 mprintf(1, "Timer paused in InitFrameTime()\n");
2780 }
2781 last_timer = timer_GetMSTime();
2782 timer_paused = 0;
2783}
2784
2785// Pauses game
2786void PauseGame() {

Callers 2

StartLevelFunction · 0.85
InitGameSystemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected