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

Method Load

ogsr_engine/xrGame/entity_alive.cpp:73–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void CEntityAlive::Load(LPCSTR section)
74{
75 CEntity::Load(section);
76 conditions().LoadCondition(section);
77 conditions().LoadImmunities(pSettings->r_string(section, "immunities_sect"), pSettings);
78
79 m_fFood = 100 * pSettings->r_float(section, "ph_mass");
80
81 // bloody wallmarks
82 if (0 == m_pBloodMarksVector)
83 LoadBloodyWallmarks(BLOOD_MARKS_SECT);
84
85 if (0 == m_pFireParticlesVector)
86 LoadFireParticles("entity_fire_particles");
87
88 //биолог. вид к торому принадлежит монстр или персонаж
89 monster_community->set(pSettings->r_string(section, "species"));
90}
91
92void CEntityAlive::LoadBloodyWallmarks(LPCSTR section)
93{

Callers

nothing calls this directly

Calls 6

LoadFunction · 0.85
LoadImmunitiesMethod · 0.80
LoadConditionMethod · 0.45
r_stringMethod · 0.45
r_floatMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected