| 805 | } |
| 806 | |
| 807 | static void _xAnimTableAddTransitionHelper(xAnimState* state, xAnimTransition* tran, |
| 808 | U32& stateCount, U32& allocCount, xAnimState** stateList) |
| 809 | { |
| 810 | if (tran->Flags & 0x10) |
| 811 | { |
| 812 | if (!DefaultHasTransition(state, tran, &stateCount)) |
| 813 | { |
| 814 | stateList[allocCount] = state; |
| 815 | allocCount++; |
| 816 | } |
| 817 | } |
| 818 | else |
| 819 | { |
| 820 | if (!StateHasTransition(state, tran)) |
| 821 | { |
| 822 | stateList[allocCount] = state; |
| 823 | allocCount++; |
| 824 | stateCount++; |
| 825 | } |
| 826 | } |
| 827 | } |
| 828 | |
| 829 | // WIP |
| 830 | void _xAnimTableAddTransition(xAnimTable* table, xAnimTransition* tran, const char* source, |
no test coverage detected