diff options
Diffstat (limited to 'src/tilemap.h')
-rw-r--r-- | src/tilemap.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tilemap.h b/src/tilemap.h new file mode 100644 index 0000000..e945f06 --- /dev/null +++ b/src/tilemap.h @@ -0,0 +1,17 @@ +#ifndef TILEMAP_H +#define TILEMAP_H + +void set(int i, int n); +int is_set(int i, int n); + +void mask(int i, int m, int r); +void generate_tile_masks(small_t* tile_connections); + +void init_tilemap(); + +size_t count_entropy(int i); +void collapse(int i, int n); +int has_collapsed(int i); +int get_collapsed_tile(int i); + +#endif |