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

Function init_sound

src/SB/Game/zEntCruiseBubble.cpp:190–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 };
189
190 void init_sound()
191 {
192 sound_config* s;
193 sound_config* end = &sounds[4];
194 for (s = &sounds[0]; s != end; ++s)
195 {
196 s->id = (s->name == 0) ? 0 : xStrHash(s->name);
197 s->handle = 0;
198 }
199 }
200
201 void stop_sound(S32 which, U32 handle)
202 {

Callers 1

initMethod · 0.70

Calls 1

xStrHashFunction · 0.50

Tested by

no test coverage detected