diff options
-rw-r--r-- | src/area.c | 1 | ||||
-rw-r--r-- | src/area.h | 7 | ||||
-rw-r--r-- | src/layer.h | 11 |
3 files changed, 6 insertions, 13 deletions
@@ -1,6 +1,5 @@ #include <SDL.h> #include "area.h" -#include "layer.h" #include "viewport.h" #include "resources/map.h" #include "logging.h" @@ -2,10 +2,15 @@ #define AREA_H #include <SDL.h> -#include "layer.h" #include "viewport.h" #include "resources/map.h" +enum area_layer_id { + AREA_LAYER_BOT = 0, + AREA_LAYER_MID, + AREA_LAYER_TOP, + AREA_LAYERS_MAX +}; struct area { SDL_Surface *map_layers[AREA_LAYERS_MAX]; }; diff --git a/src/layer.h b/src/layer.h deleted file mode 100644 index c771eff..0000000 --- a/src/layer.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef LAYER_H -#define LAYER_H - -enum area_layer_id { - AREA_LAYER_BOT = 0, - AREA_LAYER_MID, - AREA_LAYER_TOP, - AREA_LAYERS_MAX -}; - -#endif |