diff options
Diffstat (limited to 'src/area.h')
-rw-r--r-- | src/area.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,11 +4,13 @@ #include <SDL.h> #include "layer.h" #include "viewport.h" +#include "resources/map.h" struct area { - SDL_Surface *map_layers[LAYERS_MAX]; + SDL_Surface *map_layers[AREA_LAYERS_MAX]; }; +struct area *area_new(struct map *map); void render_area_to_viewport(struct area *area, struct viewport *vp); void render_area_to_surface(struct area *area, SDL_Rect *arearect, SDL_Surface *dst, SDL_Rect *dstrect); |