summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-12 00:24:41 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-12 18:48:11 +0300
commit7c74a98fb966213ccbdba6e397a6d8a9502f2b17 (patch)
tree60ae28a9b6598889881312fa08360d086f47241c /src/resources/map/maplayer.cpp
parentc3b5c3ad370358d4e10b4cbe787dbbd61ce82c08 (diff)
downloadmv-7c74a98fb966213ccbdba6e397a6d8a9502f2b17.tar.gz
mv-7c74a98fb966213ccbdba6e397a6d8a9502f2b17.tar.bz2
mv-7c74a98fb966213ccbdba6e397a6d8a9502f2b17.tar.xz
mv-7c74a98fb966213ccbdba6e397a6d8a9502f2b17.zip
Add missing constexpr and noexcept into maplayer.
Diffstat (limited to 'src/resources/map/maplayer.cpp')
-rw-r--r--src/resources/map/maplayer.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp
index 0f8c4377b..ce9813c63 100644
--- a/src/resources/map/maplayer.cpp
+++ b/src/resources/map/maplayer.cpp
@@ -96,13 +96,6 @@ void MapLayer::optionChanged(const std::string &value) restrict
}
}
-void MapLayer::setTile(const int x,
- const int y,
- Image *const img) restrict
-{
- mTiles[x + y * mWidth].image = img;
-}
-
void MapLayer::draw(Graphics *const graphics,
int startX,
int startY,
@@ -765,14 +758,6 @@ int MapLayer::getEmptyTileDrawWidth(const TileInfo *restrict tilePtr,
return c;
}
-void MapLayer::setDrawLayerFlags(const MapTypeT &n) restrict
-{
- mDrawLayerFlags = n;
- mSpecialFlag = (mDrawLayerFlags != MapType::SPECIAL &&
- mDrawLayerFlags != MapType::SPECIAL2 &&
- mDrawLayerFlags != MapType::SPECIAL4);
-}
-
void MapLayer::updateConditionTiles(const MetaTile *const metaTiles,
const int width,
const int height) restrict