diff options
author | Majin Sniper <majinsniper@gmx.de> | 2009-02-20 00:19:52 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-20 08:35:25 -0700 |
commit | b2eb8daa8c39bcfd5fbd3a76dbbc432b43c561a9 (patch) | |
tree | b7583428f7462c5a6711dfa7d92b43076ea8f29b /src/particle.h | |
parent | 00bbc2186302fe4365f08903a209e03bb8feb4c5 (diff) | |
download | mana-b2eb8daa8c39bcfd5fbd3a76dbbc432b43c561a9.tar.gz mana-b2eb8daa8c39bcfd5fbd3a76dbbc432b43c561a9.tar.bz2 mana-b2eb8daa8c39bcfd5fbd3a76dbbc432b43c561a9.tar.xz mana-b2eb8daa8c39bcfd5fbd3a76dbbc432b43c561a9.zip |
Added a pickup notification as particle effect. Also make a ui option to enable/disable this effect (default is off) and another option to disable the pickup notification in the chat log (default is on).
Diffstat (limited to 'src/particle.h')
-rw-r--r-- | src/particle.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/particle.h b/src/particle.h index 9c01bcdf..f03f081d 100644 --- a/src/particle.h +++ b/src/particle.h @@ -108,15 +108,17 @@ class Particle : public Sprite */ Particle *addTextSplashEffect(const std::string &text, int colorR, int colorG, int colorB, - gcn::Font *font, int x, int y); + gcn::Font *font, int x, int y, + bool outline = false); /** * Creates a standalone text particle. */ Particle *addTextRiseFadeOutEffect(const std::string &text, gcn::Font *font, - int x, int y); - + int x, int y, int colorR = 255, + int colorG = 255, int colorB = 255, + bool outline = false); /** * Adds an emitter to the particle. */ |