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

Function StateHasTransition

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

Source from the content-addressed store, hash-verified

404}
405
406static U32 StateHasTransition(xAnimState* state, xAnimTransition* tran)
407{
408 xAnimTransitionList* curr = state->List;
409
410 while (curr)
411 {
412 if (curr->T == tran)
413 {
414 return TRUE;
415 }
416
417 curr = curr->Next;
418 }
419
420 return FALSE;
421}
422
423static U32 DefaultHasTransition(xAnimState* state, xAnimTransition* tran, U32* r5)
424{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected