aboutsummaryrefslogtreecommitdiff
path: root/src/tiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tiles.h')
-rw-r--r--src/tiles.h11
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];