2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 23:07:43 +00:00

Initial CParticleElectric stubs

This commit is contained in:
2016-02-25 19:31:00 -08:00
parent 741ac2c0ca
commit 277455b072
4 changed files with 112 additions and 19 deletions

View File

@@ -1099,6 +1099,19 @@ u32 CElementGen::GetParticleCountAllInternal() const
return ret;
}
void CElementGen::EndLifetime()
{
x214_PSLT = 0;
for (std::unique_ptr<CElementGen>& ch : x234_activePartChildren)
ch->EndLifetime();
for (std::unique_ptr<CElementGen>& ch : x248_finishPartChildren)
ch->EndLifetime();
for (std::unique_ptr<CParticleSwoosh>& ch : x260_swhcChildren)
ch->SetParticleEmission(false);
for (std::unique_ptr<CParticleElectric>& ch : x280_elscChildren)
ch->SetParticleEmission(false);
}
void CElementGen::BuildParticleSystemBounds()
{
Zeus::CAABox aabb;