| 4538 | } |
| 4539 | |
| 4540 | void 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 | |
| 4559 | void WriteFFTMChunk(CFILE *fp) { |
| 4560 | int start_pos; |
no test coverage detected