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

Function StopTime

Descent3/GameLoop.cpp:2718–2728  ·  view source on GitHub ↗

Stop the Frametime clock

Source from the content-addressed store, hash-verified

2716
2717// Stop the Frametime clock
2718void StopTime() {
2719 if (!timer_paused) {
2720 last_timer = timer_GetMSTime() - last_timer;
2721 if (last_timer < 0) {
2722 // Int3();
2723 last_timer = 0;
2724 }
2725 }
2726
2727 timer_paused++;
2728}
2729
2730// Restart the Frametime clock
2731void StartTime() {

Callers 2

PauseGameFunction · 0.85
DoScreenshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected