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

Method NewTime

src/SB/Game/zNPCTypeCommon.cpp:865–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

863}
864
865void zNPCCommon::NewTime(xScene* xscn, F32 dt)
866{
867 if (this->flg_misc & 0x2)
868 {
869 this->SndQueUpdate(dt);
870 }
871
872 this->tmr_invuln = MAX(-1.0f, this->tmr_invuln - dt);
873
874 xNPCBasic::NewTime(xscn, dt);
875}
876
877S32 zNPCCommon::SysEvent(xBase* from, xBase* to, U32 toEvent, const F32* toParam,
878 xBase* toParamWidget, S32* handled)

Callers

nothing calls this directly

Calls 2

SndQueUpdateMethod · 0.95
NewTimeFunction · 0.50

Tested by

no test coverage detected