MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / D3W_Play2dSound

Function D3W_Play2dSound

Descent3/DllWrappers.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54int D3W_Play2dSound(int sound_index, float volume) {
55 if (Demo_flags == DF_RECORDING) {
56 DemoWrite2DSound(sound_index, volume);
57 }
58
59 return Sound_system.Play2dSound(sound_index, volume);
60}
61
62void D3W_TouchSound(int sound_index) { Sound_system.CheckAndForceSoundDataAlloc(sound_index); }
63

Callers

nothing calls this directly

Calls 2

DemoWrite2DSoundFunction · 0.85
Play2dSoundMethod · 0.80

Tested by

no test coverage detected