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

Function AddStompRing

src/SB/Game/zNPCTypeBossSB1.cpp:733–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731}
732
733static void AddStompRing(zNPCB_SB1* sb1, xVec3* pos)
734{
735 for (S32 i = 0; i < 16; i++)
736 {
737 if (sb1->m_stompRing[i] == NULL)
738 {
739 sb1->m_stompRing[i] = zFXMuscleArmWave(pos);
740
741 if (!sb1->m_stompRing[i])
742 {
743 break;
744 }
745 else
746 {
747 // set the parent to itself...???
748 sb1->m_stompRing[i]->parent = &sb1->m_stompRing[i];
749 break;
750 }
751 }
752 }
753}
754
755S32 zNPCGoalBossSB1Stomp::Process(en_trantype* trantype, F32 dt, void* ctxt, xScene* scene)
756{

Callers 1

ProcessMethod · 0.85

Calls 1

zFXMuscleArmWaveFunction · 0.85

Tested by

no test coverage detected