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

Method Enter

src/SB/Game/zNPCTypeBossPatrick.cpp:2383–2390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2381}
2382
2383S32 zNPCGoalBossPatIdle::Enter(F32 dt, void* unk)
2384{
2385 zNPCBPatrick* pat = (zNPCBPatrick*)this->GetOwner();
2386 this->timeInGoal = f832;
2387 pat->bossFlags |= 0x20;
2388 xVec3Init(&pat->frame->vel, f832, f832, f832);
2389 return zNPCGoalCommon::Enter(dt, unk);
2390}
2391
2392S32 zNPCGoalBossPatIdle::Process(en_trantype* trantype, F32 dt, void* ctxt, xScene* scene)
2393{

Callers

nothing calls this directly

Calls 15

xVec3InitFunction · 0.85
xrandFunction · 0.85
xVec3SMulFunction · 0.85
xVec3LengthFunction · 0.85
xVec3SMulByFunction · 0.85
xVec3SubFromFunction · 0.85
xsqrtFunction · 0.85
xVec3CopyFunction · 0.85
xVec3AddScaledFunction · 0.85
icosFunction · 0.85
isinFunction · 0.85
GetOwnerMethod · 0.80

Tested by

no test coverage detected