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

Function zEntPlayer_SNDPlayStreamRandom

src/SB/Game/zEntPlayer.cpp:5710–5718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5708}
5709
5710void zEntPlayer_SNDPlayStreamRandom(U32 lower, U32 upper, _tagePlayerStreamSnd player_snd_start,
5711 _tagePlayerStreamSnd player_snd_end, F32 delay)
5712
5713{
5714 if (globals.player.Inv_Spatula >= lower && globals.player.Inv_Spatula <= upper)
5715 {
5716 zEntPlayer_SNDPlayStreamRandom(player_snd_start, player_snd_end, delay);
5717 }
5718}
5719
5720void zEntPlayer_SNDPlayStreamRandom(_tagePlayerStreamSnd player_snd_start,
5721 _tagePlayerStreamSnd player_snd_end, F32 delay)

Callers 15

_PressButtonSoundFunction · 0.70
LCopterCBFunction · 0.70
BoulderRollWindupCBFunction · 0.70
JumpMeleeCBFunction · 0.70
MeleeCBFunction · 0.70
LassoDestroyCBFunction · 0.70
LassoYankCBFunction · 0.70
StunRadiusCBFunction · 0.70
zCombo_UpdateFunction · 0.70
collectPickupFunction · 0.70

Calls 3

NPCC_NPCIsConversingFunction · 0.85
randFunction · 0.85
xSndPlayFunction · 0.50

Tested by

no test coverage detected