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

Method AppendParticles

ogsr_engine/xrGame/ParticlesPlayer.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 return 0;
22}
23CParticlesPlayer::SParticlesInfo* CParticlesPlayer::SBoneInfo::AppendParticles(CObject* object, const shared_str& ps_name)
24{
25 SParticlesInfo* pi = FindParticles(ps_name);
26 if (pi)
27 return pi;
28 pi = &particles.emplace_back();
29 pi->ps = CParticlesObject::Create(*ps_name, FALSE);
30 return pi;
31}
32void CParticlesPlayer::SBoneInfo::StopParticles(const shared_str& ps_name, bool bDestroy)
33{
34 SParticlesInfo* pi = FindParticles(ps_name);

Callers 1

StartParticlesMethod · 0.80

Calls 1

CreateFunction · 0.85

Tested by

no test coverage detected