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

Function zNPCCommon_Timestep

src/SB/Game/zNPCTypeCommon.cpp:195–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195void zNPCCommon_Timestep(xScene* scene, F32 dt)
196{
197 NPCSupport_Timestep(dt);
198 NPCS_SndTimersUpdate(dt);
199 zNPCPlyrSnd_Update(dt);
200 g_skipDescent -= 1;
201 if (g_skipDescent < 0)
202 {
203 g_skipDescent = 0;
204 }
205}
206
207void zNPCCommon::Init(xEntAsset* entass)
208{

Callers 1

SceneTimestepMethod · 0.85

Calls 3

NPCSupport_TimestepFunction · 0.85
zNPCPlyrSnd_UpdateFunction · 0.85
NPCS_SndTimersUpdateFunction · 0.70

Tested by

no test coverage detected