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

Function NPCS_SndFindProps

src/SB/Game/zNPCSndTable.cpp:105–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105NPCSndProp* NPCS_SndFindProps(en_NPC_SOUND sndtype)
106{
107 NPCSndProp* sprop = g_sndProps;
108 while (sprop->sndtype != NPC_STYP_LISTEND)
109 {
110 if (sprop->sndtype == sndtype)
111 {
112 break;
113 }
114 sprop++;
115 }
116 return sprop;
117}
118
119en_NPC_SOUND NPCS_SndTypeFromHash(U32 aid_snd, NPCSndTrax* cust, NPCSndTrax* share)
120{

Callers 6

SndPlayFromAFXMethod · 0.70
SndPlayFromSFXMethod · 0.70
SndPlayRandomMethod · 0.70
SndStartMethod · 0.70
SndQueUpdateMethod · 0.70
EnterMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected