From f0b443c37daa92d36ea752d837855a28b084dd3c Mon Sep 17 00:00:00 2001 From: kartofen Date: Fri, 12 Aug 2022 14:07:54 +0300 Subject: most likely works with more than 63 --- src/tilemap.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/tilemap.h') diff --git a/src/tilemap.h b/src/tilemap.h index 74344dd..f25e7df 100644 --- a/src/tilemap.h +++ b/src/tilemap.h @@ -8,10 +8,12 @@ int is_set(int t, int n); // self explanatory names int has_collapsed(int t); -int get_collapsed_tile(int i); +int get_collapsed_tile(int t); void collapse(int t, int n); size_t count_entropy(int t); + void init_tilemap(); +void destroy_tilemap(); void generate_tile_masks(small_t* tile_connections); -- cgit v1.2.3