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

Method saveIni

ogsr_engine/xrSound/SoundRender_Environment.cpp:170–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void CSoundRender_Environment::saveIni(CInifile* ini, LPCSTR name) const
171{
172 ini->w_float(name, "root", Room);
173 ini->w_float(name, "room_hf", RoomHF);
174 ini->w_float(name, "room_rolloff_factor", RoomRolloffFactor);
175 ini->w_float(name, "decay_time", DecayTime);
176 ini->w_float(name, "decay_hf_ratio", DecayHFRatio);
177 ini->w_float(name, "reflections", Reflections);
178 ini->w_float(name, "reflections_delay", ReflectionsDelay);
179 ini->w_float(name, "reverb", Reverb);
180 ini->w_float(name, "reverb_delay", ReverbDelay);
181 ini->w_float(name, "environment_size", EnvironmentSize);
182 ini->w_float(name, "environment_diffusion", EnvironmentDiffusion);
183 ini->w_float(name, "air_absorption_hf", AirAbsorptionHF);
184
185 ini->w_u32(name, "environment", Environment);
186}
187
188//////////////////////////////////////////////////////////////////////////
189void SoundEnvironment_LIB::Load(LPCSTR f_name)

Callers 1

SaveIniMethod · 0.45

Calls 2

w_floatMethod · 0.45
w_u32Method · 0.45

Tested by

no test coverage detected