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

Function zParPTankUpdate

src/SB/Game/zParPTank.cpp:777–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775}
776
777void zParPTankUpdate(float dt)
778{
779 S32 paused = zGameIsPaused();
780
781 zParPTank* zp = sPTank;
782 for (S32 i = 0; i < sNumPTanks; i++, zp++)
783 {
784 if ((!paused || zp->flags & 0x2) && zp->update)
785 {
786 zp->update(zp, dt);
787 }
788 }
789}
790
791void zParPTankRender()
792{

Callers 3

zSceneUpdateFunction · 0.70
zSceneRenderPostFXFunction · 0.70

Calls 2

zGameIsPausedFunction · 0.85
updateMethod · 0.45

Tested by

no test coverage detected