summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-16 18:22:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-16 18:22:32 +0300
commit124cc470b5d66a7e2d1b2f49b5cccc0832db6779 (patch)
treeb7def5f3d2c3b222f059bb1624beb00a691daefc /src/resources/map/maplayer.h
parent66f0468b3c2e8bd9ff26f082c9a57b77188d6e54 (diff)
downloadManaVerse-124cc470b5d66a7e2d1b2f49b5cccc0832db6779.tar.gz
ManaVerse-124cc470b5d66a7e2d1b2f49b5cccc0832db6779.tar.bz2
ManaVerse-124cc470b5d66a7e2d1b2f49b5cccc0832db6779.tar.xz
ManaVerse-124cc470b5d66a7e2d1b2f49b5cccc0832db6779.zip
Remove parameter from fringe layer draw function.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r--src/resources/map/maplayer.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index d02f4f7b1..25773ebb2 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -110,8 +110,7 @@ class MapLayer final: public ConfigListener
int startX, int startY,
int endX, int endY,
const int scrollX, const int scrollY,
- const Actors *const actors,
- const int yFix) const;
+ const Actors *const actors) const;
bool isFringeLayer() const A_WARN_UNUSED
{ return mIsFringeLayer; }
@@ -132,6 +131,9 @@ class MapLayer final: public ConfigListener
void setDrawLayerFlags(const MapType::MapType &n);
+ void setActorsFix(const int y)
+ { mActorsFix = y; }
+
protected:
static int getTileDrawWidth(const Image *img,
const int endX,
@@ -149,6 +151,7 @@ class MapLayer final: public ConfigListener
typedef std::vector<MapRowVertexes*> MapRows;
MapRows mTempRows;
int mMask;
+ int mActorsFix;
const bool mIsFringeLayer; /**< Whether the actors are drawn. */
bool mHighlightAttackRange;
bool mSpecialFlag;