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

Function LoadPhysicsGameParams

ogsr_engine/xrGame/PhysicsGamePars.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17const float CharacterEffectPars::vel_cret_wallmark = 100.f;
18
19void LoadPhysicsGameParams()
20{
21 collide_volume_min = pSettings->r_float("sound", "snd_collide_min_volume");
22 collide_volume_max = pSettings->r_float("sound", "snd_collide_max_volume");
23 object_damage_factor = pSettings->r_float("physics", "object_damage_factor");
24 object_damage_factor *= object_damage_factor;
25}

Callers 1

net_start_client4Method · 0.85

Calls 1

r_floatMethod · 0.45

Tested by

no test coverage detected