summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index fbb8e1394..11034a37e 100644
--- a/src/map.h
+++ b/src/map.h
@@ -159,7 +159,7 @@ class MapLayer: public ConfigListener
int endX, int endY,
int scrollX, int scrollY,
const Actors &actors,
- int mDebugFlags) const;
+ int mDebugFlags, int yFix) const;
bool isFringeLayer()
{ return mIsFringeLayer; }
@@ -437,6 +437,9 @@ class Map : public Properties, public ConfigListener
void clearIndexedTilesets();
+ void setActorsFix(int x, int y)
+ { mActorFixX = x; mActorFixY = y; }
+
protected:
friend class Actor;
@@ -523,6 +526,8 @@ class Map : public Properties, public ConfigListener
bool mTilesetsIndexed;
Tileset** mIndexedTilesets;
int mIndexedTilesetsSize;
+ int mActorFixX;
+ int mActorFixY;
SpecialLayer *mSpecialLayer;
SpecialLayer *mTempLayer;