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

Function zAnimListGetNumUsed

src/SB/Game/zAnimList.cpp:124–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124S32 zAnimListGetNumUsed(U32 id)
125{
126 U32* current_id = aids;
127
128 for (S32 i = 0; i < nals; i++)
129 {
130 if (id == *current_id)
131 {
132 return anused[i];
133 }
134 current_id++;
135 }
136
137 return 0;
138}

Callers 2

load_anim_listFunction · 0.70
zEntInitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected