diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-08-10 17:18:45 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-08-10 17:18:45 +0300 |
commit | 851a3f34efd456295b21849199c3eaf4e70f9fb9 (patch) | |
tree | 7eff274bf1ea6b144254a0ebb063257ab2b33af0 /src/tilemap.h | |
parent | bb820d973e9f53d33a32c46659e2a163e68be4ba (diff) |
big refactor
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 |