From 85601f555a3a57db44631706a25e0f933afd8551 Mon Sep 17 00:00:00 2001 From: kartofen Date: Wed, 21 Dec 2022 01:06:18 +0200 Subject: works with different connections --- src/tilemap.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tilemap.h') 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 -- cgit v1.2.3