aboutsummaryrefslogtreecommitdiff
path: root/map.h
blob: 35e97f2c9b64ff585d46c7a15e1b7fea7709293c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef map_h
#define map_h

#include "game_config.h"
#include "render.h"

typedef struct {
	Colour pixels[
		map_width *
		map_tile_size *
		map_height *
		map_tile_size
	];
} Map;

void init_map(Map* map);
void render_map(Map* map, int cx, int cy);

#endif