diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-14 21:41:33 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-14 21:41:33 +0300 |
| commit | db5320aa188d773c8edc32eee844127457ef280c (patch) | |
| tree | 8e673cdda6c78555542bf04605c5af45d49d3062 /path.h | |
| parent | de6a945fc804e8da48dcb9a284fdc79db0b9a06e (diff) | |
| download | astar-db5320aa188d773c8edc32eee844127457ef280c.tar.xz | |
Improve the Path type
Diffstat (limited to 'path.h')
| -rw-r--r-- | path.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ Path astar_path(int dirs, Map map, size_t width, size_t height, Position start, size_t manhattan_distance(Position a, Position b); size_t diagonal_distance(Position a, Position b); +Path path_new(size_t width, size_t height); void path_free(Path path, size_t height); size_t path_length(Path path, Position start, Position goal); |
