From b0b6aecd5cb3a9a02376ec071699f827feee6934 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Sun, 22 Mar 2026 11:25:36 +0300 Subject: Add rendering of visited tiles --- map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'map.h') diff --git a/map.h b/map.h index 7e17479..c580cb3 100644 --- a/map.h +++ b/map.h @@ -36,7 +36,7 @@ Map file_plaintext_map(char *filename, size_t *width, size_t *height, Position * /* Draw the map. Bet you didn't expect that. * path could be NULL to draw a map with no path */ -void draw_map(Map map, size_t width, size_t height, int offset_x, int offset_y, Position start, Position goal, Path path); +void draw_map(Map map, size_t width, size_t height, int offset_x, int offset_y, Position start, Position goal, Path path, char visited[height][width]); void print_map_out(Map map, size_t width, size_t height); -- cgit v1.2.3