diff options
Diffstat (limited to 'src/tilemap.h')
-rw-r--r-- | src/tilemap.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tilemap.h b/src/tilemap.h index 533c3d5..a8154e1 100644 --- a/src/tilemap.h +++ b/src/tilemap.h @@ -1,6 +1,9 @@ #ifndef TILEMAP_H #define TILEMAP_H +extern size_t SWIDTH; +extern size_t SHEIGHT; + // set bit n in tile t in tilemap void set(int t, int n); // is bit n set in tile t in tilemap @@ -15,10 +18,11 @@ size_t count_entropy(int t); void init_tilemap(); void destroy_tilemap(); -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); +void print_tilemap(); + + #endif |