summaryrefslogtreecommitdiffstats
path: root/src/area.h
blob: 644ab169d777a90f2914aab26e31d04d9a2bd0df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef AREA_H
#define AREA_H

#include <SDL.h>
#include "layer.h"
#include "viewport.h"

struct area {
	SDL_Surface *map_layers[LAYERS_MAX];
};

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);

#endif