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

Method AnimSetState

src/SB/Game/zNPCTypeCommon.cpp:2737–2743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2735}
2736
2737void zNPCCommon::AnimSetState(U32 animID, F32 time)
2738{
2739 xAnimTable* r3 = this->AnimGetTable();
2740 xAnimState* state = xAnimTableGetStateID(r3, animID);
2741
2742 xAnimPlaySetState(this->model->Anim->Single, state, time);
2743}
2744
2745xAnimState* zNPCCommon::AnimFindState(U32 animID)
2746{

Callers

nothing calls this directly

Calls 3

AnimGetTableMethod · 0.95
xAnimPlaySetStateFunction · 0.85
xAnimTableGetStateIDFunction · 0.50

Tested by

no test coverage detected