summaryrefslogtreecommitdiff
path: root/map.h
blob: 9e2a41321920e6eb88c4c7ab3da5a7cf9167daa2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef map_h
#define map_h

typedef struct Map {
	int w, h;
} Map;

typedef unsigned Map_Tile;

int map_size(int w, int h);
Map_Tile* map_tiles(Map* m);
const Map_Tile* map_tilesc(const Map* m);

#endif