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

Function WriteOverrideSoundChunk

Descent3/LoadLevel.cpp:4540–4557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4538}
4539
4540void WriteOverrideSoundChunk(CFILE *fp) {
4541 int start_pos;
4542 start_pos = StartChunk(fp, CHUNK_OVERRIDE_SOUNDS);
4543
4544 if (sound_override_force_field != -1) {
4545 cf_WriteString(fp, Sounds[sound_override_force_field].name);
4546 } else {
4547 cf_WriteString(fp, "");
4548 }
4549
4550 if (sound_override_glass_breaking != -1) {
4551 cf_WriteString(fp, Sounds[sound_override_glass_breaking].name);
4552 } else {
4553 cf_WriteString(fp, "");
4554 }
4555
4556 EndChunk(fp, start_pos);
4557}
4558
4559void WriteFFTMChunk(CFILE *fp) {
4560 int start_pos;

Callers 1

SaveLevelFunction · 0.85

Calls 3

StartChunkFunction · 0.85
cf_WriteStringFunction · 0.85
EndChunkFunction · 0.85

Tested by

no test coverage detected