summaryrefslogtreecommitdiff
path: root/src/imagesprite.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/imagesprite.h
parented950471f7ae02c4618fa995c305832f12dc9cd7 (diff)
downloadManaVerse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.gz
ManaVerse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.bz2
ManaVerse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.xz
ManaVerse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.zip
Remove undescore from variables and defines.
Diffstat (limited to 'src/imagesprite.h')
-rw-r--r--src/imagesprite.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/imagesprite.h b/src/imagesprite.h
index 914a54365..21705c812 100644
--- a/src/imagesprite.h
+++ b/src/imagesprite.h
@@ -23,9 +23,9 @@
#define IMAGESPRITE_H
#ifdef __GNUC__
-#define _UNUSED_ __attribute__ ((unused))
+#define A_UNUSED __attribute__ ((unused))
#else
-#define _UNUSED_
+#define A_UNUSED
#endif
#include "sprite.h"
@@ -44,10 +44,10 @@ public:
bool reset()
{ return false; }
- bool play(std::string action _UNUSED_)
+ bool play(std::string action A_UNUSED)
{ return false; }
- bool update(int time _UNUSED_)
+ bool update(int time A_UNUSED)
{ return false; }
bool draw(Graphics* graphics, int posX, int posY) const;
@@ -61,7 +61,7 @@ public:
const Image* getImage() const
{ return mImage; }
- virtual bool setSpriteDirection(SpriteDirection direction _UNUSED_)
+ virtual bool setSpriteDirection(SpriteDirection direction A_UNUSED)
{ return false; }
int getNumberOfLayers()