#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