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

Method StartEngineParticles

ogsr_engine/xrGame/CustomRocket.cpp:547–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547void CCustomRocket::StartEngineParticles()
548{
549 VERIFY(m_pEngineParticles == NULL);
550 if (!m_sEngineParticles)
551 return;
552 m_pEngineParticles = CParticlesObject::Create(*m_sEngineParticles, FALSE);
553
554 UpdateParticles();
555 m_pEngineParticles->Play(false);
556
557 VERIFY(m_pEngineParticles);
558 VERIFY3(m_pEngineParticles->IsLooped(), "must be a looped particle system for rocket engine: %s", *m_sEngineParticles);
559}
560void CCustomRocket::StopEngineParticles()
561{
562 if (m_pEngineParticles == NULL)

Callers

nothing calls this directly

Calls 3

CreateFunction · 0.85
PlayMethod · 0.45
IsLoopedMethod · 0.45

Tested by

no test coverage detected