summaryrefslogtreecommitdiffstats
path: root/src/area.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/area.h')
-rw-r--r--src/area.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/area.h b/src/area.h
index 84987b7..8fee049 100644
--- a/src/area.h
+++ b/src/area.h
@@ -5,13 +5,14 @@
#include "viewport.h"
#include "resources/map.h"
-enum area_layer_id {
+enum area_layer {
AREA_LAYER_BOT = 0,
AREA_LAYER_MID,
AREA_LAYER_TOP,
AREA_LAYERS_MAX
};
struct area {
+ struct map *map;
SDL_Surface *map_layers[AREA_LAYERS_MAX];
};