From 5b13d9bfa2b14c1231c5b19a9ccffb2d308112e4 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Sun, 22 Mar 2026 13:40:21 +0300 Subject: Implement 8dir breadth-first-search and some other stuff --- path.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'path.h') diff --git a/path.h b/path.h index 5b7392b..d4efe6d 100644 --- a/path.h +++ b/path.h @@ -4,7 +4,8 @@ #include "structs.h" #include "map.h" -Path breadth_first_search_path_4dir(Map map, size_t width, size_t height, Position start, Position end, char visited[height][width]); +Path breadth_first_search_path_4dir(Map map, size_t width, size_t height, Position start, Position end, char visited[height][width], char should_anim); +Path breadth_first_search_path_8dir(Map map, size_t width, size_t height, Position start, Position end, char visited[height][width], char should_anim); Path astar_path_4dir(Map map, size_t width, size_t height, Position start, Position end); size_t manhattan_distance(Position a, Position b); -- cgit v1.2.3