diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-27 09:09:00 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-27 09:09:00 +0300 |
| commit | cdf2fa8f86e19929f5d393f292cadc1f18ceabfc (patch) | |
| tree | b4a8991ddb1b2ca9cb222c7b34481f8a60aaa283 /path.h | |
| parent | 28618b65b32009fd4e718578b3314e2ae91927f7 (diff) | |
| download | astar-cdf2fa8f86e19929f5d393f292cadc1f18ceabfc.tar.xz | |
Start working in Dijkstra
Diffstat (limited to 'path.h')
| -rw-r--r-- | path.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,8 +6,8 @@ /* dirs can be 4 or 8 to disallow or allow diagonal movement */ Path breadth_first_search_path(int dirs, Map map, size_t width, size_t height, Position start, Position end, char visited[height][width], char should_anim); +Path dijkstra_path(int dirs, 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); void path_free(Path path, size_t height); |
