summaryrefslogtreecommitdiff
path: root/src/resources/map/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-04 19:38:47 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-04 19:38:47 +0300
commit60745b8038b18d4b7b7198a03547676b92988426 (patch)
tree93170d1fe52baa08a640ddb56629424c698cc53b /src/resources/map/map.h
parentb844884ba160f7a0204382cbbce4c98ecae1139b (diff)
downloadplus-60745b8038b18d4b7b7198a03547676b92988426.tar.gz
plus-60745b8038b18d4b7b7198a03547676b92988426.tar.bz2
plus-60745b8038b18d4b7b7198a03547676b92988426.tar.xz
plus-60745b8038b18d4b7b7198a03547676b92988426.zip
Move maplayerposition into enums directory.
Diffstat (limited to 'src/resources/map/map.h')
-rw-r--r--src/resources/map/map.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h
index a1f8c9f5a..ef1a37afa 100644
--- a/src/resources/map/map.h
+++ b/src/resources/map/map.h
@@ -30,6 +30,7 @@
#include "enums/render/rendertype.h"
#include "enums/resources/map/blocktype.h"
+#include "enums/resources/map/maplayerposition.h"
#include "enums/resources/map/maptype.h"
#include "resources/memorycounter.h"
@@ -381,12 +382,6 @@ class Map final : public Properties,
void removeActor(const Actors::iterator &restrict iterator) restrict2;
private:
- enum LayerType
- {
- FOREGROUND_LAYERS = 0,
- BACKGROUND_LAYERS
- };
-
/**
* Updates scrolling of ambient layers. Has to be called each game tick.
*/
@@ -397,7 +392,7 @@ class Map final : public Properties,
* Draws the foreground or background layers to the given graphics output.
*/
void drawAmbientLayers(Graphics *restrict const graphics,
- const LayerType type,
+ const MapLayerPositionT type,
const int detail) const restrict2 A_NONNULL(2);
/**