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

Function StartTime

Descent3/GameLoop.cpp:2731–2741  ·  view source on GitHub ↗

Restart the Frametime clock

Source from the content-addressed store, hash-verified

2729
2730// Restart the Frametime clock
2731void StartTime() {
2732 if (timer_paused == 0)
2733 return;
2734
2735 timer_paused--;
2736
2737 ASSERT(timer_paused >= 0);
2738
2739 if (!timer_paused)
2740 last_timer = timer_GetMSTime() - last_timer;
2741}
2742
2743float Min_frametime = 500;
2744float Max_frametime = 0;

Callers 2

ResumeGameFunction · 0.85
DoScreenshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected