diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-07 22:52:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-07 22:52:35 +0300 |
commit | 5e14ab971129eb95ca02e373fc21adb46c0eaca1 (patch) | |
tree | 5316f688c7f617776b7e70c9f64932fe7596cadb /src/imagesprite.h | |
parent | ed950471f7ae02c4618fa995c305832f12dc9cd7 (diff) | |
download | manaverse-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.h | 10 |
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() |