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

Function xAnimPoolAlloc

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

Source from the content-addressed store, hash-verified

2156}
2157
2158xAnimPlay* xAnimPoolAlloc(xMemPool* pool, void* object, xAnimTable* table,
2159 xModelInstance* modelInst)
2160{
2161 xAnimPlay* play;
2162
2163 play = (xAnimPlay*)xMemPoolAlloc(pool);
2164
2165 xAnimPlaySetup(play, object, table, modelInst);
2166
2167 return play;
2168}
2169
2170void xAnimPoolFree(xAnimPlay* play)
2171{

Callers 5

zEGenerator_InitFunction · 0.50
zPlatform_InitFunction · 0.50
load_anim_listFunction · 0.50
zEntInitFunction · 0.50
zEntRecurseModelInfoFunction · 0.50

Calls 2

xMemPoolAllocFunction · 0.70
xAnimPlaySetupFunction · 0.70

Tested by

no test coverage detected