aboutsummaryrefslogtreecommitdiff
path: root/path.h
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-04-16 22:30:17 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-04-16 22:30:17 +0300
commit5ef20063da838d81f9a9020a12bb69a01975a372 (patch)
treefbc9dea218ed96fa05b9be5fcdca9f8d68faeeb9 /path.h
parent8b1cfbc49ca89916ddeaad05c346a27b3b38e6f7 (diff)
downloadastar-5ef20063da838d81f9a9020a12bb69a01975a372.tar.xz
Comment out BFS, I'm pretty sure it won't work no more
Diffstat (limited to 'path.h')
-rw-r--r--path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/path.h b/path.h
index 3bf4af4..bceed05 100644
--- a/path.h
+++ b/path.h
@@ -8,7 +8,7 @@
extern Path (*path_func)(int, Map, size_t **, size_t, size_t, Position, Position, char **, char);
/* dirs can be 4 or 8 to disallow or allow diagonal movement */
-Path breadth_first_search_path(int dirs, Map map, size_t **cell_costs, size_t width, size_t height, Position start, Position end, char **visited, char should_anim);
+//Path breadth_first_search_path(int dirs, Map map, size_t **cell_costs, size_t width, size_t height, Position start, Position end, char **visited, char should_anim);
Path dijkstra_path(int dirs, Map map, size_t **cell_costs, size_t width, size_t height, Position start, Position end, char **visited, char should_anim);
Path astar_path(int dirs, Map map, size_t **cell_costs, size_t width, size_t height, Position start, Position end, char **visited, char should_anim);