MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / task_canRun

Function task_canRun

TheForceEngine/TFE_Jedi/Task/task.cpp:531–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529 }
530
531 JBool task_canRun()
532 {
533 bool timeLimiter = s_enableTimeLimiter && !TFE_Settings::getGraphicsSettings()->useSmoothDeltaTime;
534 if (s_taskCount && timeLimiter)
535 {
536 const f64 time = TFE_System::getTime();
537 if (time - s_prevTime < s_minIntervalInSec)
538 {
539 return JFALSE;
540 }
541 }
542 return JTRUE;
543 }
544
545 void task_updateTime()
546 {

Callers 1

mainFunction · 0.85

Calls 2

getGraphicsSettingsFunction · 0.85
getTimeFunction · 0.85

Tested by

no test coverage detected