diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 01:19:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch) | |
tree | 4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/game.h | |
parent | 2a70a50c785ce639b76141a3a6887836d22fe12c (diff) | |
download | plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2 plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip |
Add unused warnings to some files.
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/game.h b/src/game.h index 001c7c348..59fa68012 100644 --- a/src/game.h +++ b/src/game.h @@ -67,7 +67,7 @@ class Game final /** * Provides access to the game instance. */ - static Game *instance() + static Game *instance() A_WARN_UNUSED { return mInstance; } static void clearInstance() @@ -92,10 +92,10 @@ class Game final /** * Returns the currently active map. */ - Map *getCurrentMap() const + Map *getCurrentMap() const A_WARN_UNUSED { return mCurrentMap; } - const std::string &getCurrentMapName() const + const std::string &getCurrentMapName() const A_WARN_UNUSED { return mMapName; } void setValidSpeed(); @@ -111,7 +111,7 @@ class Game final void videoResized(const int width, const int height) const; - bool getValidSpeed() const + bool getValidSpeed() const A_WARN_UNUSED { return mValidSpeed; } static bool createScreenshot(); @@ -125,11 +125,8 @@ class Game final void clearKeysArray(); - int mLastTarget; -// WindowMenu *mWindowMenu; - Map *mCurrentMap; std::string mMapName; bool mValidSpeed; |