MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xParGroupUpdate

Function xParGroupUpdate

src/SB/Core/x/xParSys.cpp:344–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344static void xParGroupUpdate(xParSys* s, xParGroup* g, F32 dt)
345{
346 for (U32 i = 0; i < s->cmdCount; i++)
347 {
348 xParCmd* cmd = &s->cmd[i];
349 if (cmd != NULL && cmd->tasset != NULL)
350 {
351 void (*func)(xParCmd*, xParGroup*, F32) = xParCmdGetUpdateFunc(cmd->tasset->type);
352 if (func != NULL)
353 {
354 func(cmd, g, dt);
355 }
356 }
357 }
358}
359
360void xParSysRender(xBase* b)
361{

Callers 1

xParSysUpdateFunction · 0.85

Calls 1

xParCmdGetUpdateFuncFunction · 0.85

Tested by

no test coverage detected