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

Method NewTime

src/SB/Game/zNPCTypeBossPatrick.cpp:1567–1584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1565}
1566
1567void zNPCBPatrick::NewTime(xScene* xscn, F32 dt)
1568{
1569 // signed int i; // r20
1570
1571 for (S32 i = 0; i < 4; i++)
1572 {
1573 if (sBoundRadius[i] > f832)
1574 {
1575 GetBonePos(&this->boundList[i]->bound.box.center, (xMat4x3*)&this->model->Mat,
1576 sBone[sBoundBone[i]], &sBoneOffset[i]);
1577
1578 xQuickCullForBound(&this->boundList[i]->bound.qcd, &this->boundList[i]->bound);
1579 zGridUpdateEnt(this->boundList[i]);
1580 }
1581 }
1582
1583 zNPCCommon::NewTime(xscn, dt);
1584}
1585
1586S32 zNPCBPatrick::nextGoal()
1587{

Callers

nothing calls this directly

Calls 4

GetBonePosFunction · 0.70
zGridUpdateEntFunction · 0.70
xQuickCullForBoundFunction · 0.50
NewTimeFunction · 0.50

Tested by

no test coverage detected