summaryrefslogtreecommitdiff
path: root/src/particle.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-05-23 21:45:43 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2007-05-23 21:45:43 +0000
commit993c98c3813b2ad7caf3dcd9761b4c9a17de39b6 (patch)
tree08cad1b1c2e129f17da0e905248b7768173cc1f4 /src/particle.cpp
parent114e76641ccde78fcb9f4ca2fcf7c9a909e176ba (diff)
downloadmana-client-993c98c3813b2ad7caf3dcd9761b4c9a17de39b6.tar.gz
mana-client-993c98c3813b2ad7caf3dcd9761b4c9a17de39b6.tar.bz2
mana-client-993c98c3813b2ad7caf3dcd9761b4c9a17de39b6.tar.xz
mana-client-993c98c3813b2ad7caf3dcd9761b4c9a17de39b6.zip
The color values of text particles are now stored in 3 integers instead of a Guichan color structure.
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 579bbfc1..b35522ce 100644
--- a/src/particle.cpp
+++ b/src/particle.cpp
@@ -313,9 +313,11 @@ Particle::addEffect (std::string particleEffectFile, int pixelX, int pixelY)
Particle*
-Particle::addTextSplashEffect(std::string text, gcn::Font *font, gcn::Color color, int x, int y)
+Particle::addTextSplashEffect(std::string text, gcn::Font *font,
+ int colorR, int colorG, int colorB, int x, int y)
{
- Particle *newParticle = new TextParticle(mMap, text, font, color);
+ Particle *newParticle = new TextParticle(mMap, text, font,
+ colorR, colorG, colorB);
newParticle->setPosition( x,
y,
0