| 1143 | } |
| 1144 | |
| 1145 | xAnimState* 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 | |
| 1164 | xAnimState* xAnimTableGetState(xAnimTable* table, const char* name) |
| 1165 | { |
no outgoing calls
no test coverage detected