aboutsummaryrefslogtreecommitdiff
path: root/path.c
Commit message (Collapse)AuthorAgeFilesLines
* Make manhattan_distance() use COST_ORTHOGONALKirill Petrashin2026-03-291-4/+5
|
* Allow resizing the map + some other stuffKirill Petrashin2026-03-281-7/+35
|
* Free the path when we return NULL instead of itKirill Petrashin2026-03-281-0/+2
|
* Improve anim() and make it toggleable with a keybindKirill Petrashin2026-03-281-7/+24
|
* Start working in DijkstraKirill Petrashin2026-03-271-5/+41
|
* Combine two functions into one in path.{c,h}Kirill Petrashin2026-03-271-46/+12
|
* Add cost_array to neighbours_4dirKirill Petrashin2026-03-271-1/+1
|
* Add ppq_insert() return codes + fix breadth_first_search_4dir()Kirill Petrashin2026-03-261-3/+4
|
* Fix memory leaksKirill Petrashin2026-03-261-0/+10
|
* Add cost_array into neighbours_8dir()Kirill Petrashin2026-03-261-1/+1
|
* Implement 8dir breadth-first-search and some other stuffKirill Petrashin2026-03-221-1/+58
|
* Add ability to choose maps via args + create more maps + don't insert ↵Kirill Petrashin2026-03-221-3/+3
| | | | elements into a PPQ if there's one with better priority
* Add rendering of visited tilesKirill Petrashin2026-03-221-3/+6
|
* Implement breadth-first-search + fix the priority queue + some other stuffKirill Petrashin2026-03-211-0/+78