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

Function idleCB

src/SB/Game/zNPCTypeBossPatrick.cpp:1931–1954  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1929
1930 if (this->bossFlags & 0x10)
1931 {
1932 this->RenderFrozenPlayer();
1933 }
1934
1935 zRenderState(SDRS_Default);
1936 zRenderState(oldState);
1937}
1938
1939void zNPCBPatrick::NewTime(xScene* xscn, F32 dt)
1940{
1941 // signed int i; // r20
1942
1943 for (S32 i = 0; i < 4; i++)
1944 {
1945 if (sBoundRadius[i] > 0.0f)
1946 {
1947 GetBonePos(&this->boundList[i]->bound.box.center, (xMat4x3*)&this->model->Mat,
1948 sBone[sBoundBone[i]], &sBoneOffset[i]);
1949
1950 xQuickCullForBound(&this->boundList[i]->bound.qcd, &this->boundList[i]->bound);
1951 zGridUpdateEnt(this->boundList[i]);
1952 }
1953 }
1954
1955 zNPCCommon::NewTime(xscn, dt);
1956}
1957

Callers

nothing calls this directly

Calls 2

GetOwnerMethod · 0.80
nextGoalMethod · 0.80

Tested by

no test coverage detected