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

Method Load

ogsr_engine/xrGame/Mincer.cpp:39–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void CMincer::Load(LPCSTR section)
40{
41 inherited::Load(section);
42
43 m_telekinetics.set_destroing_particles(shared_str(pSettings->r_string(section, "tearing_particles")));
44 m_telekinetics.set_throw_power(pSettings->r_float(section, "throw_out_impulse"));
45 m_torn_particles = pSettings->r_string(section, "torn_particles");
46 m_tearing_sound.create(pSettings->r_string(section, "body_tearing_sound"), st_Effect, sg_SourceType);
47 m_fActorBlowoutRadiusPercent = pSettings->r_float(section, "actor_blowout_radius_percent");
48 // bak
49 m_fArtefactSpawnProbabilityTorn = READ_IF_EXISTS(pSettings, r_float, section, "birth_on_torn_probability", 1.0f);
50
51 // pSettings->r_fvector3(section,whirlwind_center);
52}
53
54BOOL CMincer::net_Spawn(CSE_Abstract* DC)
55{

Callers

nothing calls this directly

Calls 7

LoadFunction · 0.85
shared_strClass · 0.85
set_throw_powerMethod · 0.80
r_stringMethod · 0.45
r_floatMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected