mirror of https://github.com/AxioDL/metaforce.git
CParticleElectric: Add parameters to function prototypes
Makes the interface more self-documenting.
This commit is contained in:
parent
c08b5a4c98
commit
c61bee13db
|
@ -656,7 +656,7 @@ void CParticleElectric::SetLocalScale(const zeus::CVector3f& scale) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CParticleElectric::SetParticleEmission(bool e) { x450_24_emitting = e; }
|
void CParticleElectric::SetParticleEmission(bool emitting) { x450_24_emitting = emitting; }
|
||||||
|
|
||||||
void CParticleElectric::SetModulationColor(const zeus::CColor& color) { x1b8_moduColor = color; }
|
void CParticleElectric::SetModulationColor(const zeus::CColor& color) { x1b8_moduColor = color; }
|
||||||
|
|
||||||
|
|
|
@ -117,14 +117,14 @@ public:
|
||||||
CParticleElectric(const TToken<CElectricDescription>& desc);
|
CParticleElectric(const TToken<CElectricDescription>& desc);
|
||||||
|
|
||||||
bool Update(double) override;
|
bool Update(double) override;
|
||||||
void Render(const CActorLights* = nullptr) override;
|
void Render(const CActorLights* lights = nullptr) override;
|
||||||
void SetOrientation(const zeus::CTransform&) override;
|
void SetOrientation(const zeus::CTransform& orientation) override;
|
||||||
void SetTranslation(const zeus::CVector3f&) override;
|
void SetTranslation(const zeus::CVector3f& translation) override;
|
||||||
void SetGlobalOrientation(const zeus::CTransform&) override;
|
void SetGlobalOrientation(const zeus::CTransform& orientation) override;
|
||||||
void SetGlobalTranslation(const zeus::CVector3f&) override;
|
void SetGlobalTranslation(const zeus::CVector3f& translation) override;
|
||||||
void SetGlobalScale(const zeus::CVector3f&) override;
|
void SetGlobalScale(const zeus::CVector3f& scale) override;
|
||||||
void SetLocalScale(const zeus::CVector3f&) override;
|
void SetLocalScale(const zeus::CVector3f& scale) override;
|
||||||
void SetParticleEmission(bool) override;
|
void SetParticleEmission(bool emitting) override;
|
||||||
void SetModulationColor(const zeus::CColor&) override;
|
void SetModulationColor(const zeus::CColor&) override;
|
||||||
void SetOverrideIPos(const zeus::CVector3f& vec) { x178_overrideIPos.emplace(vec); }
|
void SetOverrideIPos(const zeus::CVector3f& vec) { x178_overrideIPos.emplace(vec); }
|
||||||
void SetOverrideIVel(const zeus::CVector3f& vec) { x188_overrideIVel.emplace(vec); }
|
void SetOverrideIVel(const zeus::CVector3f& vec) { x188_overrideIVel.emplace(vec); }
|
||||||
|
|
Loading…
Reference in New Issue