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

Method FurryFlurry

src/SB/Game/zNPCGoalRobo.cpp:3383–3397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3381}
3382
3383void zNPCGoalDogLaunch::FurryFlurry()
3384{
3385 zNPCRobot* npc = (zNPCRobot*)(psyche->clt_owner);
3386
3387 static S32 moreorless = 0;
3388 static const xVec3 pos_disperse = { 0.01f, 0.01f, 0.01f };
3389 static const xVec3 vel_disperse = { 3.0f, 2.5f, -2.0f };
3390
3391 moreorless--;
3392 if ((moreorless < 0) && (psyche->TimerGet(XPSY_TYMR_CURGOAL) > 0.04f))
3393 {
3394 moreorless = -1;
3395 BubTrailCone(npc->Center(), 15, &pos_disperse, &vel_disperse, (xMat3x3*)npc->BoneMat(0));
3396 }
3397}
3398
3399S32 zNPCGoalDogBark::Enter(F32 dt, void* updCtxt)
3400{

Callers

nothing calls this directly

Calls 4

BubTrailConeFunction · 0.85
TimerGetMethod · 0.80
CenterMethod · 0.80
BoneMatMethod · 0.80

Tested by

no test coverage detected