MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Save

Method Save

ogsr_engine/xrSound/SoundRender_Environment.cpp:210–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210bool SoundEnvironment_LIB::Save(LPCSTR f_name) const
211{
212 IWriter* F = FS.w_open(f_name);
213 if (F)
214 {
215 for (u32 chunk = 0; chunk < library.size(); chunk++)
216 {
217 F->open_chunk(chunk);
218 library[chunk]->save(F);
219 F->close_chunk();
220 }
221 FS.w_close(F);
222 return true;
223 }
224 return false;
225}
226
227void SoundEnvironment_LIB::LoadIni(CInifile* ini)
228{

Callers

nothing calls this directly

Calls 6

w_openMethod · 0.80
close_chunkMethod · 0.80
w_closeMethod · 0.80
sizeMethod · 0.45
open_chunkMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected