From 99cb204d29a63bf5f4edb40b25f4fc1a6605fbd1 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. Conflicts: src/particle.cpp src/particleemitter.cpp src/particleemitter.h src/simpleanimation.cpp --- src/particleemitter.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/particleemitter.h') diff --git a/src/particleemitter.h b/src/particleemitter.h index 5a68584c6..e82483370 100644 --- a/src/particleemitter.h +++ b/src/particleemitter.h @@ -43,11 +43,9 @@ class Particle; class ParticleEmitter { public: - /** - * Constructor. - */ - ParticleEmitter(xmlNodePtr emitterNode, Particle *target, - Map *map, int rotation = 0); + ParticleEmitter(xmlNodePtr emitterNode, Particle *target, Map *map, + int rotation = 0, + const std::string& dyePalettes = std::string()); /** * Copy Constructor (necessary for reference counting of particle images) -- cgit v1.2.3-60-g2f50