summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h11
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;