aboutsummaryrefslogtreecommitdiff
path: root/src/tilemap.h
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-12 14:07:54 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-12 14:07:54 +0300
commitf0b443c37daa92d36ea752d837855a28b084dd3c (patch)
tree5c35efb32a07373d6c3d6cc523680d68fd24af02 /src/tilemap.h
parent02a5f64db70b61ad41c59c17d70feefaba1f21a5 (diff)
most likely works with more than 63
Diffstat (limited to 'src/tilemap.h')
-rw-r--r--src/tilemap.h4
1 files changed, 3 insertions, 1 deletions
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);