From ba5b70974c5dfa0be3105e72a0a012455b28e7a9 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Wed, 22 Jun 2011 21:47:53 +0200 Subject: Made possible to separate the dye colors and channels for particle effects. It is now possible to write, for instance: my-particle-file.xml|#cbcb78,345678 and in my-particle-file.xml: ... ... This will permit the use (and reuse) of generic particle files. --- src/animationparticle.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/animationparticle.h') diff --git a/src/animationparticle.h b/src/animationparticle.h index 0837fec6..0cd6b328 100644 --- a/src/animationparticle.h +++ b/src/animationparticle.h @@ -35,7 +35,8 @@ class AnimationParticle : public ImageParticle public: AnimationParticle(Map *map, Animation *animation); - AnimationParticle(Map *map, xmlNodePtr animationNode); + AnimationParticle(Map *map, xmlNodePtr animationNode, + const std::string& dyePalettes = std::string()); ~AnimationParticle(); -- cgit v1.2.3-70-g09d2