CParticleElectric: Add parameters to function prototypes

Makes the interface more self-documenting.
This commit is contained in:
Lioncash 2020-03-25 03:46:57 -04:00
parent c08b5a4c98
commit c61bee13db
2 changed files with 9 additions and 9 deletions

View File

@ -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; }

View File

@ -117,14 +117,14 @@ public:
CParticleElectric(const TToken<CElectricDescription>& desc);
bool Update(double) override;
void Render(const CActorLights* = nullptr) override;
void SetOrientation(const zeus::CTransform&) override;
void SetTranslation(const zeus::CVector3f&) override;
void SetGlobalOrientation(const zeus::CTransform&) override;
void SetGlobalTranslation(const zeus::CVector3f&) override;
void SetGlobalScale(const zeus::CVector3f&) override;
void SetLocalScale(const zeus::CVector3f&) override;
void SetParticleEmission(bool) override;
void Render(const CActorLights* lights = nullptr) override;
void SetOrientation(const zeus::CTransform& orientation) override;
void SetTranslation(const zeus::CVector3f& translation) override;
void SetGlobalOrientation(const zeus::CTransform& orientation) override;
void SetGlobalTranslation(const zeus::CVector3f& translation) override;
void SetGlobalScale(const zeus::CVector3f& scale) override;
void SetLocalScale(const zeus::CVector3f& scale) override;
void SetParticleEmission(bool emitting) override;
void SetModulationColor(const zeus::CColor&) override;
void SetOverrideIPos(const zeus::CVector3f& vec) { x178_overrideIPos.emplace(vec); }
void SetOverrideIVel(const zeus::CVector3f& vec) { x188_overrideIVel.emplace(vec); }