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

Function WriteFFTMChunk

Descent3/LoadLevel.cpp:4559–4575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4557}
4558
4559void WriteFFTMChunk(CFILE *fp) {
4560 int start_pos;
4561 start_pos = StartChunk(fp, CHUNK_FFT_MOD);
4562
4563 int i;
4564
4565 for (i = 0; i < MAX_FORCE_FIELD_BOUNCE_TEXTURES; i++) {
4566 if (force_field_bounce_texture[i] != -1) {
4567 cf_WriteString(fp, GameTextures[force_field_bounce_texture[i]].name);
4568 cf_WriteFloat(fp, force_field_bounce_multiplier[i]);
4569 } else {
4570 cf_WriteString(fp, "");
4571 }
4572 }
4573
4574 EndChunk(fp, start_pos);
4575}
4576
4577void WriteBNodeChunk(CFILE *fp) {
4578 int i;

Callers 1

SaveLevelFunction · 0.85

Calls 4

StartChunkFunction · 0.85
cf_WriteStringFunction · 0.85
cf_WriteFloatFunction · 0.85
EndChunkFunction · 0.85

Tested by

no test coverage detected