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

Function xModelUpdate

src/SB/Core/x/xModel.cpp:274–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274void xModelUpdate(xModelInstance* modelInst, F32 timeDelta)
275{
276 for (; modelInst != NULL; modelInst = modelInst->Next)
277 {
278 if (modelInst->Anim != NULL)
279 {
280 if ((modelInst->Flags & 4) != 0)
281 {
282 if ((modelInst->Flags & 0x100) != 0)
283 {
284 xAnimPlayChooseTransition(modelInst->Anim);
285 }
286 xAnimPlayUpdate(modelInst->Anim, timeDelta);
287 }
288 }
289 }
290}
291
292void xModelEvalSingle(xModelInstance* modelInst)
293{

Callers 5

startMethod · 0.85
update_missleFunction · 0.85
zUI_UpdateFunction · 0.85
updateMethod · 0.85
xEntBeginUpdateFunction · 0.85

Calls 2

xAnimPlayUpdateFunction · 0.70

Tested by

no test coverage detected