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

Function xAnimPlayUpdate

src/SB/Core/x/xAnim.cpp:1940–1956  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1938}
1939
1940void xAnimPlayUpdate(xAnimPlay* play, F32 timeDelta)
1941{
1942 U32 i;
1943 xAnimSingle* single;
1944
1945 for (i = 0; i < play->NumSingle; i++)
1946 {
1947 single = &play->Single[i];
1948
1949 SingleUpdate(single, timeDelta);
1950
1951 if (single->State->StateCallback)
1952 {
1953 single->State->StateCallback(single->State, single, play->Object);
1954 }
1955 }
1956}
1957
1958void xAnimPlayEval(xAnimPlay* play)
1959{

Callers 3

xModelUpdateFunction · 0.70
zEntAnimEventFunction · 0.50
zEntAnimEvent_AutoAnimFunction · 0.50

Calls 1

SingleUpdateFunction · 0.70

Tested by

no test coverage detected