summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
commit5e14ab971129eb95ca02e373fc21adb46c0eaca1 (patch)
tree5316f688c7f617776b7e70c9f64932fe7596cadb /src/particle.h
parented950471f7ae02c4618fa995c305832f12dc9cd7 (diff)
downloadmanaplus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.gz
manaplus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.bz2
manaplus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.xz
manaplus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.zip
Remove undescore from variables and defines.
Diffstat (limited to 'src/particle.h')
-rw-r--r--src/particle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/particle.h b/src/particle.h
index 64811599e..e90a1f37f 100644
--- a/src/particle.h
+++ b/src/particle.h
@@ -31,9 +31,9 @@
#include <string>
#ifdef __GNUC__
-#define _UNUSED_ __attribute__ ((unused))
+#define A_UNUSED __attribute__ ((unused))
#else
-#define _UNUSED_
+#define A_UNUSED
#endif
class Map;
@@ -272,7 +272,7 @@ class Particle : public Actor
virtual float getAlpha() const
{ return 1.0f; }
- virtual void setAlpha(float alpha _UNUSED_) {}
+ virtual void setAlpha(float alpha A_UNUSED) {}
virtual void setDeathEffect(const std::string &effectFile,
char conditions)