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 3ab9aea..fae524d 100644
--- a/src/area.h
+++ b/src/area.h
@@ -16,7 +16,8 @@ struct area {
SDL_Surface *map_layers[AREA_LAYERS_MAX];
};
-struct area *area_new(struct map *map, struct viewport *vp);
+struct area *area_new(struct map *map, SDL_Palette *pal);
+void set_area_palette(struct area *area, SDL_Palette *pal);
void render_area_to_viewport(struct area *area, struct viewport *vp);
void render_area_to_surface(struct area *area, SDL_Rect *arearect,
SDL_Surface *surface, SDL_Rect *surfacerect);