summaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-08-03 16:37:48 +1000
committerquou <quou@disroot.org>2024-08-03 16:37:48 +1000
commit125be3c1880d9f64580bf9c753dd85c5cbc1cfc4 (patch)
tree82cba7f0b3b0dc39d30f5490e627d869703d2b72 /map.h
parentb2f18b6c47eb15d35b632f36cee0c89207755018 (diff)
Add helpers for getting map tiles
Diffstat (limited to 'map.h')
-rw-r--r--map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/map.h b/map.h
index fbd64f1..9e2a413 100644
--- a/map.h
+++ b/map.h
@@ -8,5 +8,7 @@ typedef struct Map {
typedef unsigned Map_Tile;
int map_size(int w, int h);
+Map_Tile* map_tiles(Map* m);
+const Map_Tile* map_tilesc(const Map* m);
#endif