diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-12-21 01:06:18 +0200 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-12-21 01:06:18 +0200 |
commit | 85601f555a3a57db44631706a25e0f933afd8551 (patch) | |
tree | 576f7f7518ebd6f7d1b6f3534218c747d2a14a43 /src/tilemap.h | |
parent | 88dd7e5fb0798d441dab81e9173d0e2d63f0b75e (diff) |
works with different connections
Diffstat (limited to 'src/tilemap.h')
-rw-r--r-- | src/tilemap.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tilemap.h b/src/tilemap.h index f25e7df..533c3d5 100644 --- a/src/tilemap.h +++ b/src/tilemap.h @@ -15,12 +15,10 @@ size_t count_entropy(int t); void init_tilemap(); void destroy_tilemap(); -void generate_tile_masks(small_t* tile_connections); +void generate_tile_masks(small_t (*tile_connections)[SIDES_MAX]); // applly a mask m, r (from tile_masks) // to tile t in tilemap void mask(int t, int m, int r); - - #endif |