diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-16 22:30:17 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-16 22:30:17 +0300 |
| commit | 5ef20063da838d81f9a9020a12bb69a01975a372 (patch) | |
| tree | fbc9dea218ed96fa05b9be5fcdca9f8d68faeeb9 /path.h | |
| parent | 8b1cfbc49ca89916ddeaad05c346a27b3b38e6f7 (diff) | |
| download | astar-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
