From 5e07b322725c603038647aad873c4da480c7c520 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Mon, 16 Mar 2026 19:48:24 +0300 Subject: Add ability to move the map around --- map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'map.h') 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_ */ -- cgit v1.2.3