aboutsummaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-03-16 19:48:24 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-03-16 19:48:24 +0300
commit5e07b322725c603038647aad873c4da480c7c520 (patch)
tree670b46c7365d43c76376893cf87940f8540d47d8 /map.h
parentb1337798203e1ea4ddb7c76e6ca343e904fb19aa (diff)
Add ability to move the map around
Diffstat (limited to 'map.h')
-rw-r--r--map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/map.h b/map.h
index 3ce2e7f..03da971 100644
--- a/map.h
+++ b/map.h
@@ -35,6 +35,6 @@ unsigned int neighbours(Position neighbour_array[], Position pos, size_t width,
Map rbt_maze_map(size_t width, size_t height, unsigned int seed);
/* Draw the map. Bet you didn't expect that. */
-void draw_map(Map map, size_t width, size_t height, Position start, Position goal);
+void draw_map(Map map, size_t width, size_t height, int offset_x, int offset_y, Position start, Position goal);
#endif /*MAP_H_ */