diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-25 13:27:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-25 13:27:25 +0300 |
commit | d671eb90eb2ba431ba15123309368520608e5ba3 (patch) | |
tree | c2658830de37e50d7c4b66a63e2164c666c2bf25 /src/particle | |
parent | 7f60553aa81fe9e1889b1af12e0fe7db8d68f074 (diff) | |
download | manaplus-d671eb90eb2ba431ba15123309368520608e5ba3.tar.gz manaplus-d671eb90eb2ba431ba15123309368520608e5ba3.tar.bz2 manaplus-d671eb90eb2ba431ba15123309368520608e5ba3.tar.xz manaplus-d671eb90eb2ba431ba15123309368520608e5ba3.zip |
Fix align in constructors.
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/animationparticle.cpp | 2 | ||||
-rw-r--r-- | src/particle/imageparticle.cpp | 2 | ||||
-rw-r--r-- | src/particle/particlecontainer.cpp | 2 | ||||
-rw-r--r-- | src/particle/particleemitterprop.h | 2 | ||||
-rw-r--r-- | src/particle/rotationalparticle.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/particle/animationparticle.cpp b/src/particle/animationparticle.cpp index dccd3d037..ec159e8a4 100644 --- a/src/particle/animationparticle.cpp +++ b/src/particle/animationparticle.cpp @@ -35,7 +35,7 @@ AnimationParticle::AnimationParticle(Animation *const animation) : } AnimationParticle::AnimationParticle(XmlNodePtrConst animationNode, - const std::string& dyePalettes): + const std::string& dyePalettes) : ImageParticle(nullptr), mAnimation(new SimpleAnimation(animationNode, dyePalettes)) { diff --git a/src/particle/imageparticle.cpp b/src/particle/imageparticle.cpp index 92f458e41..c637c1859 100644 --- a/src/particle/imageparticle.cpp +++ b/src/particle/imageparticle.cpp @@ -30,7 +30,7 @@ std::map<std::string, int> ImageParticle::imageParticleCountByName; -ImageParticle::ImageParticle(Image *const image): +ImageParticle::ImageParticle(Image *const image) : Particle(), mImage(image) { diff --git a/src/particle/particlecontainer.cpp b/src/particle/particlecontainer.cpp index a2b0f29a9..798676c59 100644 --- a/src/particle/particlecontainer.cpp +++ b/src/particle/particlecontainer.cpp @@ -27,7 +27,7 @@ #include "debug.h" ParticleContainer::ParticleContainer(ParticleContainer *const parent, - const bool delParent): + const bool delParent) : mNext(parent), mDelParent(delParent) { diff --git a/src/particle/particleemitterprop.h b/src/particle/particleemitterprop.h index 21f4ff8fa..ef3a6d313 100644 --- a/src/particle/particleemitterprop.h +++ b/src/particle/particleemitterprop.h @@ -44,7 +44,7 @@ enum ChangeFunc template <typename T> struct ParticleEmitterProp final { - ParticleEmitterProp(): + ParticleEmitterProp() : minVal(0), maxVal(0), changeFunc(FUNC_NONE), changeAmplitude(0), changePeriod(0), changePhase(0) { diff --git a/src/particle/rotationalparticle.cpp b/src/particle/rotationalparticle.cpp index 976234f83..aab0a4610 100644 --- a/src/particle/rotationalparticle.cpp +++ b/src/particle/rotationalparticle.cpp @@ -40,7 +40,7 @@ RotationalParticle::RotationalParticle(Animation *const animation) : } RotationalParticle::RotationalParticle(const XmlNodePtr animationNode, - const std::string& dyePalettes): + const std::string& dyePalettes) : ImageParticle(nullptr), mAnimation(new SimpleAnimation(animationNode, dyePalettes)) { |