blob: ce67ea5f9ac2c17cad49b8524d0e04eb0b9cd668 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef TILES_H
#define TILES_H
extern size_t TILES;
extern size_t TILE_WIDTH;
extern size_t TILE_HEIGHT;
extern small_t tile_connections[TILES_CAP][SIDES_MAX];
extern small_t *(tiles[]);
void load_tiles(FILE *fp);
void free_tiles();
int get_tile_pixel(size_t t, size_t x, size_t y, int k);
small_t (*get_tile_connections())[SIDES_MAX];
#endif
|