aboutsummaryrefslogtreecommitdiff
path: root/src/tilemap.h
blob: e945f068e79a97a3d97586945c2a1c7554bc7907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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