summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-23 16:12:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-23 16:12:22 +0300
commit4ea8f4bb0c2645940d7d0f5b5e6990346d474ce4 (patch)
tree9c5547054193f815503dcc30029ea28b9f6ac137 /src/resources/map/maplayer.h
parent26c14e5269feafec782166f80c31fe1a7c2b3d53 (diff)
downloadplus-4ea8f4bb0c2645940d7d0f5b5e6990346d474ce4.tar.gz
plus-4ea8f4bb0c2645940d7d0f5b5e6990346d474ce4.tar.bz2
plus-4ea8f4bb0c2645940d7d0f5b5e6990346d474ce4.tar.xz
plus-4ea8f4bb0c2645940d7d0f5b5e6990346d474ce4.zip
Fix code style in map layer.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r--src/resources/map/maplayer.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index 9c0fc12c0..fbfc524da 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -60,8 +60,10 @@ class MapLayer final: public ConfigListener
* fringe layer. The fringe layer is the layer that draws the actors.
* There can be only one fringe layer per map.
*/
- MapLayer(const int x, const int y,
- const int width, const int height,
+ MapLayer(const int x,
+ const int y,
+ const int width,
+ const int height,
const bool isFringeLayer,
const int mask,
const int tileCondition);
@@ -76,12 +78,15 @@ class MapLayer final: public ConfigListener
/**
* Set tile image, with x and y in layer coordinates.
*/
- void setTile(const int x, const int y, Image *const img);
+ void setTile(const int x,
+ const int y,
+ Image *const img);
/**
* Set tile image with x + y * width already known.
*/
- void setTile(const int index, Image *const img)
+ void setTile(const int index,
+ Image *const img)
{ mTiles[index].image = img; }
/**
@@ -159,7 +164,8 @@ class MapLayer final: public ConfigListener
int &width) A_WARN_UNUSED;
void updateConditionTiles(MetaTile *const metaTiles,
- const int width, const int height);
+ const int width,
+ const int height);
private:
const int mX;