diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-22 11:25:36 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-22 11:25:36 +0300 |
| commit | b0b6aecd5cb3a9a02376ec071699f827feee6934 (patch) | |
| tree | cc4463ef81a5f376ca3cc1b4164f5d0a6aa71303 /path.h | |
| parent | 596eeed9dd378a8994778e03319b538206672bec (diff) | |
Add rendering of visited tiles
Diffstat (limited to 'path.h')
| -rw-r--r-- | path.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ #include "structs.h" #include "map.h" -Path breadth_first_search_path_4dir(Map map, size_t width, size_t height, Position start, Position end); +Path breadth_first_search_path_4dir(Map map, size_t width, size_t height, Position start, Position end, char visited[height][width]); Path astar_path_4dir(Map map, size_t width, size_t height, Position start, Position end); size_t manhattan_distance(Position a, Position b); |
