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

Function taunt_PlayTauntFile

Descent3/audiotaunts.cpp:96–102  ·  view source on GitHub ↗

taunt_PlayTauntFile Given a path to an .osf file, it will play it

Source from the content-addressed store, hash-verified

94//
95// Given a path to an .osf file, it will play it
96bool taunt_PlayTauntFile(const char *filename) {
97 if (!Audio_taunts_enabled)
98 return false;
99
100 int ret = StreamPlay(filename, (MAX_GAME_VOLUME / 2.0f), 0);
101 return true;
102}
103
104// taunt_PlayPlayerTaunt
105//

Callers 2

PltSelectShipFunction · 0.85
taunt_PlayPlayerTauntFunction · 0.85

Calls 1

StreamPlayFunction · 0.85

Tested by

no test coverage detected