MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / GetGeometryFile

Method GetGeometryFile

Editor/Objects/Entity.cpp:2217–2229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2215}
2216
2217CString CSimpleEntity::GetGeometryFile() const
2218{
2219 CString filename;
2220 if (m_properties)
2221 {
2222 IVariable* pModelVar = m_properties->FindVariable( "object_Model" );
2223 if (pModelVar)
2224 {
2225 pModelVar->Get( filename );
2226 }
2227 }
2228 return filename;
2229}
2230
2231//////////////////////////////////////////////////////////////////////////
2232bool CSimpleEntity::ConvertFromObject( CBaseObject *object )

Callers 1

IsSimilarObjectMethod · 0.80

Calls 2

FindVariableMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected