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

Function NPCS_SndTimersUpdate

src/SB/Game/zNPCSndTable.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void NPCS_SndTimersUpdate(F32 dt)
33{
34 // non-matching: only producing one lfs instruction for -1.0f
35 for (S32 i = 0; i < SND_COUNT; i++)
36 {
37 g_tmrz_sndplay[i] = MAX(g_tmrz_sndplay[i] - dt, -1.0f);
38 }
39}
40
41void NPCS_SndTimersReset()
42{

Callers 1

zNPCCommon_TimestepFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected