| 208 | } |
| 209 | |
| 210 | bool 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 | |
| 227 | void SoundEnvironment_LIB::LoadIni(CInifile* ini) |
| 228 | { |
nothing calls this directly
no test coverage detected