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

Function D3W_Play3dSound

Descent3/DllWrappers.cpp:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44#include "cockpit.h"
45
46int D3W_Play3dSound(int sound_index, object *cur_obj, float volume, int flags) {
47 if (Demo_flags == DF_RECORDING) {
48 DemoWrite3DSound(sound_index, OBJNUM(cur_obj), 1, volume);
49 }
50
51 return Sound_system.Play3dSound(sound_index, cur_obj, volume, flags);
52}
53
54int D3W_Play2dSound(int sound_index, float volume) {
55 if (Demo_flags == DF_RECORDING) {

Callers

nothing calls this directly

Calls 2

DemoWrite3DSoundFunction · 0.85
Play3dSoundMethod · 0.80

Tested by

no test coverage detected