summaryrefslogtreecommitdiff
path: root/src/particle.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-01-28 07:57:49 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-01-28 07:57:49 +0000
commit5ff0cd265460ef3fcc30f663094dc2c99b9926e9 (patch)
tree91db46420bfaa21694bd69df2e46f854ac14910f /src/particle.cpp
parent0962fc8b567279a6e97e13e4b3f2f9f2ffe304c0 (diff)
downloadMana-5ff0cd265460ef3fcc30f663094dc2c99b9926e9.tar.gz
Mana-5ff0cd265460ef3fcc30f663094dc2c99b9926e9.tar.bz2
Mana-5ff0cd265460ef3fcc30f663094dc2c99b9926e9.tar.xz
Mana-5ff0cd265460ef3fcc30f663094dc2c99b9926e9.zip
Added weapon skill system and leveling system.
Diffstat (limited to 'src/particle.cpp')
-rw-r--r--src/particle.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/particle.cpp b/src/particle.cpp
index 93fc7893..dac8c62e 100644
--- a/src/particle.cpp
+++ b/src/particle.cpp
@@ -329,10 +329,12 @@ Particle::addTextSplashEffect(const std::string &text,
}
Particle*
-Particle::addTextRiseFadeOutEffect(const std::string &text, gcn::Font *font,
+Particle::addTextRiseFadeOutEffect(const std::string &text,
+ int colorR, int colorG, int colorB,
+ gcn::Font *font,
int x, int y)
{
- Particle *newParticle = new TextParticle(mMap, text, 255, 255, 255, font);
+ Particle *newParticle = new TextParticle(mMap, text, colorR, colorG, colorB, font);
newParticle->setPosition(x, y, 0);
newParticle->setVelocity(0.0f, 0.0f, 0.5f);
newParticle->setGravity(0.0015f);