From 993c98c3813b2ad7caf3dcd9761b4c9a17de39b6 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Wed, 23 May 2007 21:45:43 +0000 Subject: The color values of text particles are now stored in 3 integers instead of a Guichan color structure. --- src/particle.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/particle.cpp') 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 -- cgit v1.2.3-70-g09d2