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

Function xAnimTableGetStateID

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

Source from the content-addressed store, hash-verified

1143}
1144
1145xAnimState* xAnimTableGetStateID(xAnimTable* table, U32 ID)
1146{
1147 xAnimState* curr;
1148
1149 curr = table->StateList;
1150
1151 while (curr)
1152 {
1153 if (curr->ID == ID)
1154 {
1155 return curr;
1156 }
1157
1158 curr = curr->Next;
1159 }
1160
1161 return NULL;
1162}
1163
1164xAnimState* xAnimTableGetState(xAnimTable* table, const char* name)
1165{

Callers 7

xAnimTableAddFileIDFunction · 0.70
xAnimTableGetStateFunction · 0.70
AnimSetStateMethod · 0.50
AnimFindStateMethod · 0.50
ATBL_ReadFunction · 0.50
EnterMethod · 0.50
zEntAnimEvent_AutoAnimFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected