MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / Timer_Sleep

Function Timer_Sleep

src/timer.c:377–381  ·  view source on GitHub ↗

* Sleep for an amount of ticks. * @param ticks The amount of ticks to sleep. */

Source from the content-addressed store, hash-verified

375 * @param ticks The amount of ticks to sleep.
376 */
377void Timer_Sleep(uint16 ticks)
378{
379 uint32 tick = g_timerSleep + ticks;
380 while (tick >= g_timerSleep) sleepIdle();
381}

Callers 7

House_UpdateRadarStateFunction · 0.85
Gameloop_LogosFunction · 0.85
GameLoop_DrawText2Function · 0.85
Music_InitMT32Function · 0.85
GUI_StrategicMap_ShowFunction · 0.85
GUI_Screen_FadeInFunction · 0.85
GUI_Screen_FadeIn2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected