diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-12-22 22:43:44 +0200 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-12-22 22:43:44 +0200 |
commit | 764070a86a7aa98480eaaff64dfba7e2f2943292 (patch) | |
tree | 830589ac702d540bfd76cfb0e5faa5e8988432b0 /src/tiles.h | |
parent | 4c9fafc4c126af2466dc6c56b9c952f901a1c726 (diff) |
refactor
Diffstat (limited to 'src/tiles.h')
-rw-r--r-- | src/tiles.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/tiles.h b/src/tiles.h index 6a4a223..ce67ea5 100644 --- a/src/tiles.h +++ b/src/tiles.h @@ -1,10 +1,15 @@ #ifndef TILES_H #define TILES_H -void load_tiles(); -void free_tiles(); +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 print_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]; |