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

Method Load

ogsr_engine/xrGame/wallmark_manager.cpp:114–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void CWalmarkManager::Load(LPCSTR section)
115{
116 //. m_trace_dist = pSettings->r_float(section,"dist");
117 //. m_wallmark_size = pSettings->r_float(section,"size");
118
119 //кровавые отметки на стенах
120 string256 tmp;
121 LPCSTR wallmarks_name = pSettings->r_string(section, "wallmarks");
122
123 int cnt = _GetItemCount(wallmarks_name);
124 VERIFY(cnt);
125
126 for (int k = 0; k < cnt; ++k)
127 m_wallmarks->AppendMark(_GetItem(wallmarks_name, k, tmp));
128}
129
130float Distance(const Fvector& rkPoint, const Fvector rkTri[3], float& pfSParam, float& pfTParam, Fvector& closest, Fvector& dir)
131{

Callers

nothing calls this directly

Calls 4

_GetItemCountFunction · 0.85
_GetItemFunction · 0.85
AppendMarkMethod · 0.80
r_stringMethod · 0.45

Tested by

no test coverage detected