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

Function GEC_villSound

src/SB/Game/zGameExtras.cpp:666–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664}
665
666void GEC_villSound()
667{
668 static U32 aid_sndList[6] = {};
669 static signed char init;
670
671 if (!init)
672 {
673 aid_sndList[0] = xStrHash("SBG01066_c");
674 aid_sndList[1] = xStrHash("SBG01066_a");
675 aid_sndList[2] = xStrHash("SBG01067");
676 aid_sndList[3] = xStrHash("SBG01068_a");
677 aid_sndList[4] = xStrHash("SBG01068_d");
678 aid_sndList[5] = xStrHash("SBG01069");
679
680 // scheduling memes preventing match
681 init = true;
682 }
683
684 U32 snd = xUtil_choose(aid_sndList, 6, NULL);
685
686 if (snd)
687 {
688 xSndPlay(snd, 1.0f, 0.0f, 0x80, 0, 0, SND_CAT_GAME, 0.0f);
689 }
690}
691
692void GEC_cb_BigPlank()
693{

Callers 7

GEC_cb_BigPlankFunction · 0.85
GEC_cb_MedicsFunction · 0.85
GEC_cb_DogTrixFunction · 0.85
GEC_cb_SmallPeepFunction · 0.85
GEC_cb_SmallCostarsFunction · 0.85
GEC_cb_RichPeepFunction · 0.85
GEC_cb_PanHandleFunction · 0.85

Calls 3

xUtil_chooseFunction · 0.85
xStrHashFunction · 0.50
xSndPlayFunction · 0.50

Tested by

no test coverage detected