summaryrefslogtreecommitdiff
path: root/src/resources/map/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/map.h')
-rw-r--r--src/resources/map/map.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h
index 7320bb8d5..99e5002a7 100644
--- a/src/resources/map/map.h
+++ b/src/resources/map/map.h
@@ -174,25 +174,25 @@ class Map final : public Properties,
/**
* Returns the width of this map in tiles.
*/
- int getWidth() const restrict2 noexcept A_WARN_UNUSED
+ int getWidth() const restrict2 noexcept2 A_WARN_UNUSED
{ return mWidth; }
/**
* Returns the height of this map in tiles.
*/
- int getHeight() const restrict2 noexcept A_WARN_UNUSED
+ int getHeight() const restrict2 noexcept2 A_WARN_UNUSED
{ return mHeight; }
/**
* Returns the tile width of this map.
*/
- int getTileWidth() const restrict2 noexcept A_WARN_UNUSED
+ int getTileWidth() const restrict2 noexcept2 A_WARN_UNUSED
{ return mTileWidth; }
/**
* Returns the tile height used by this map.
*/
- int getTileHeight() const restrict2 noexcept A_WARN_UNUSED
+ int getTileHeight() const restrict2 noexcept2 A_WARN_UNUSED
{ return mTileHeight; }
const std::string getMusicFile() const restrict2 A_WARN_UNUSED;
@@ -246,16 +246,16 @@ class Map final : public Properties,
void saveExtraLayer() const restrict2;
- SpecialLayer *getTempLayer() const restrict2 noexcept A_WARN_UNUSED
+ SpecialLayer *getTempLayer() const restrict2 noexcept2 A_WARN_UNUSED
{ return mTempLayer; }
- SpecialLayer *getSpecialLayer() const restrict2 noexcept A_WARN_UNUSED
+ SpecialLayer *getSpecialLayer() const restrict2 noexcept2 A_WARN_UNUSED
{ return mSpecialLayer; }
- void setHasWarps(const bool n) restrict2 noexcept
+ void setHasWarps(const bool n) restrict2 noexcept2
{ mHasWarps = n; }
- bool getHasWarps() const restrict2 noexcept A_WARN_UNUSED
+ bool getHasWarps() const restrict2 noexcept2 A_WARN_UNUSED
{ return mHasWarps; }
std::string getUserMapDirectory() const restrict2 A_WARN_UNUSED;
@@ -279,7 +279,7 @@ class Map final : public Properties,
const int x, const int y,
const bool addNew = true) restrict2;
- const std::vector<MapItem*> &getPortals() const restrict2 noexcept
+ const std::vector<MapItem*> &getPortals() const restrict2 noexcept2
A_WARN_UNUSED
{ return mMapPortals; }
@@ -300,10 +300,10 @@ class Map final : public Properties,
void setPvpMode(const int mode) restrict2;
- int getPvpMode() const restrict2 noexcept A_WARN_UNUSED
+ int getPvpMode() const restrict2 noexcept2 A_WARN_UNUSED
{ return mPvp; }
- const ObjectsLayer* getObjectsLayer() const restrict2 noexcept
+ const ObjectsLayer* getObjectsLayer() const restrict2 noexcept2
A_WARN_UNUSED
{ return mObjects; }
@@ -318,40 +318,40 @@ class Map final : public Properties,
void setActorsFix(const int x, const int y) restrict2;
- int getVersion() const restrict2 noexcept A_WARN_UNUSED
+ int getVersion() const restrict2 noexcept2 A_WARN_UNUSED
{ return mVersion; }
- void setVersion(const int n) restrict2 noexcept
+ void setVersion(const int n) restrict2 noexcept2
{ mVersion = n; }
void reduce() restrict2;
- void redrawMap() restrict2 noexcept
+ void redrawMap() restrict2 noexcept2
{ mRedrawMap = true; }
bool empty() const restrict2 A_WARN_UNUSED
{ return mLayers.empty(); }
- void setCustom(const bool b) restrict2 noexcept
+ void setCustom(const bool b) restrict2 noexcept2
{ mCustom = b; }
- bool isCustom() const restrict2 noexcept A_WARN_UNUSED
+ bool isCustom() const restrict2 noexcept2 A_WARN_UNUSED
{ return mCustom; }
const std::map<int, TileAnimation*> &getTileAnimations() const
- restrict2 noexcept A_WARN_UNUSED
+ restrict2 noexcept2 A_WARN_UNUSED
{ return mTileAnimations; }
- void setAtlas(Resource *restrict const atlas) restrict2 noexcept
+ void setAtlas(Resource *restrict const atlas) restrict2 noexcept2
{ mAtlas = atlas; }
- const MetaTile *getMetaTiles() const restrict2 noexcept
+ const MetaTile *getMetaTiles() const restrict2 noexcept2
{ return mMetaTiles; }
- const WalkLayer *getWalkLayer() const restrict2 noexcept
+ const WalkLayer *getWalkLayer() const restrict2 noexcept2
{ return mWalkLayer; }
- void setWalkLayer(WalkLayer *restrict const layer) restrict2 noexcept
+ void setWalkLayer(WalkLayer *restrict const layer) restrict2 noexcept2
{ mWalkLayer = layer; }
void addHeights(const MapHeights *restrict const heights) restrict2
@@ -363,7 +363,7 @@ class Map final : public Properties,
void updateDrawLayersList() restrict2;
- bool isHeightsPresent() const restrict2 noexcept
+ bool isHeightsPresent() const restrict2 noexcept2
{ return mHeights != nullptr; }
void updateConditionLayers() restrict2;
@@ -449,7 +449,7 @@ class Map final : public Properties,
const int x0,
const int y0,
const int w0,
- const int h0) noexcept :
+ const int h0) noexcept2 :
file(file0),
x(x0),
y(y0),