diff options
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/particle.cpp | 2 | ||||
-rw-r--r-- | src/particle/particleengine.h | 15 |
2 files changed, 10 insertions, 7 deletions
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp index 40b1b7a5a..26471d85a 100644 --- a/src/particle/particle.cpp +++ b/src/particle/particle.cpp @@ -242,7 +242,7 @@ void Particle::updateSelf() restrict2 > 0x00 && !mDeathEffect.empty()) { Particle *restrict const deathEffect = particleEngine->addEffect( - mDeathEffect, 0, 0); + mDeathEffect, 0, 0, 0); if (deathEffect != nullptr) deathEffect->moveBy(mPos); } diff --git a/src/particle/particleengine.h b/src/particle/particleengine.h index 19a9c4e9f..87c536855 100644 --- a/src/particle/particleengine.h +++ b/src/particle/particleengine.h @@ -92,27 +92,30 @@ class ParticleEngine final * particleEffectFile. */ Particle *addEffect(const std::string &restrict particleEffectFile, - const int pixelX, const int pixelY, - const int rotation = 0) restrict2; + const int pixelX, + const int pixelY, + const int rotation) restrict2; /** * Creates a standalone text particle. */ Particle *addTextSplashEffect(const std::string &restrict text, - const int x, const int y, + const int x, + const int y, const Color *restrict const color, Font *restrict const font, - const bool outline = false) + const bool outline) restrict2 A_NONNULL(5, 6); /** * Creates a standalone text particle. */ Particle *addTextRiseFadeOutEffect(const std::string &restrict text, - const int x, const int y, + const int x, + const int y, const Color *restrict const color, Font *restrict const font, - const bool outline = false) + const bool outline) restrict2 A_NONNULL(5, 6); void setMap(Map *const map) |