aboutsummaryrefslogtreecommitdiff
path: root/src/tilemap.h
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-12-22 22:43:44 +0200
committerkartofen <mladenovnasko0@gmail.com>2022-12-22 22:43:44 +0200
commit764070a86a7aa98480eaaff64dfba7e2f2943292 (patch)
tree830589ac702d540bfd76cfb0e5faa5e8988432b0 /src/tilemap.h
parent4c9fafc4c126af2466dc6c56b9c952f901a1c726 (diff)
refactor
Diffstat (limited to 'src/tilemap.h')
-rw-r--r--src/tilemap.h8
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