summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle.h')
-rw-r--r--src/particle.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/particle.h b/src/particle.h
index 008c343b..f3f5571a 100644
--- a/src/particle.h
+++ b/src/particle.h
@@ -105,17 +105,16 @@ class Particle : public Sprite
/**
* Creates a standalone text particle.
*/
- Particle *addTextSplashEffect(const std::string &text,
- int colorR, int colorG, int colorB,
- gcn::Font *font, int x, int y);
+ Particle *addTextSplashEffect(const std::string &text, int x, int y,
+ const gcn::Color *color, gcn::Font *font,
+ bool outline = false);
/**
* Creates a standalone text particle.
*/
Particle *addTextRiseFadeOutEffect(const std::string &text,
- int colorR, int colorG, int colorB,
- gcn::Font *font,
- int x, int y);
+ int x, int y, const gcn::Color *color, gcn::Font *font,
+ bool outline = false);
/**
* Adds an emitter to the particle.