diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-25 01:11:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-25 01:11:42 +0300 |
commit | 34a492ac70b3217937eafeb6db3cb9bfdc18fba9 (patch) | |
tree | cb3e079f7a830881f0b2810ed69557669704eb81 /src/particle.h | |
parent | b8e720a33502700b42569f152d63badd26d4a9b3 (diff) | |
download | plus-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.tar.gz plus-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.tar.bz2 plus-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.tar.xz plus-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.zip |
Move A_UNUSED define to include file.
Diffstat (limited to 'src/particle.h')
-rw-r--r-- | src/particle.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/particle.h b/src/particle.h index 2e3aa8740..ad448a054 100644 --- a/src/particle.h +++ b/src/particle.h @@ -25,17 +25,12 @@ #include "actor.h" #include "guichanfwd.h" +#include "localconsts.h" #include "vector.h" #include <list> #include <string> -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - class Map; class Particle; class ParticleEmitter; @@ -280,7 +275,8 @@ class Particle : public Actor virtual float getAlpha() const { return 1.0f; } - virtual void setAlpha(float alpha A_UNUSED) {} + virtual void setAlpha(float alpha A_UNUSED) + { } virtual void setDeathEffect(const std::string &effectFile, char conditions) |