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

Function TelcomInitSounds

Descent3/TelCom.cpp:3293–3298  ·  view source on GitHub ↗

Initalizes the Telcom sound sytem

Source from the content-addressed store, hash-verified

3291
3292// Initalizes the Telcom sound sytem
3293void TelcomInitSounds(void) {
3294 for (int i = 0; i < TCSND_SOUNDCOUNT; i++) {
3295 TelcomSounds[i].hlhandle = -1;
3296 TelcomSounds[i].handle = FindSoundName(IGNORE_TABLE(TCSoundFiles[i]));
3297 }
3298}
3299
3300// Closes down the Telcom sound system
3301void TelcomCloseSounds(void) {

Callers 1

TelComMainFunction · 0.85

Calls 1

FindSoundNameFunction · 0.85

Tested by

no test coverage detected