aboutsummaryrefslogtreecommitdiff
path: root/map.c
Commit message (Expand)AuthorAgeFilesLines
* Warn when start/goal is on a wall after resizing in map_editor()Kirill Petrashin2026-04-161-1/+8
* Print path cost correctlyKirill Petrashin2026-04-161-13/+16
* Fix costsKirill Petrashin2026-04-161-12/+12
* Try to implement costs, failKirill Petrashin2026-04-151-0/+31
* Add costs everywhereKirill Petrashin2026-04-151-22/+58
* Disallow drawing walls on start/endKirill Petrashin2026-04-151-1/+1
* Fix clearing wronglyKirill Petrashin2026-04-151-1/+1
* Remove unneeded getch()Kirill Petrashin2026-04-141-1/+0
* Implement live pathfinding in map editorKirill Petrashin2026-04-141-24/+60
* Fix message printing leaving text behindKirill Petrashin2026-04-141-2/+2
* Improve the Path typeKirill Petrashin2026-04-141-2/+2
* Fix bug in previous commitKirill Petrashin2026-04-141-3/+6
* Print info in wallsKirill Petrashin2026-04-141-1/+6
* Change how messages are written, clean up differentlyKirill Petrashin2026-04-141-24/+18
* Improve the map editorKirill Petrashin2026-04-131-5/+59
* Add function to save mapKirill Petrashin2026-04-131-0/+41
* More keybindings in map_editor()Kirill Petrashin2026-04-131-0/+24
* Clean up betterKirill Petrashin2026-04-131-0/+4
* Further optimize draw_map()Kirill Petrashin2026-04-131-33/+38
* Finish draw_map() optimizationKirill Petrashin2026-04-131-1/+4
* Outline an optimization in draw_map()Kirill Petrashin2026-04-121-8/+12
* Add macro to print a messageKirill Petrashin2026-04-111-4/+2
* Clean up trailing whitespacesKirill Petrashin2026-04-101-7/+7
* Fix a rendering bugKirill Petrashin2026-04-051-4/+7
* Error out on failure to realloc the stackKirill Petrashin2026-04-041-2/+2
* Poorly implement the map editorKirill Petrashin2026-04-041-0/+123
* Remove DRAW_MAP_OFFSET_[XY]Kirill Petrashin2026-04-031-34/+34
* Make map offsets globalKirill Petrashin2026-04-031-33/+36
* Update a TODO entry in map.cKirill Petrashin2026-03-291-1/+1
* Add direction arrows to draw_map()Kirill Petrashin2026-03-291-2/+30
* Make the stack dynamicKirill Petrashin2026-03-291-0/+1
* Allow resizing the map + some other stuffKirill Petrashin2026-03-281-5/+8
* Combine two functions into one in path.{c,h}Kirill Petrashin2026-03-271-0/+1
* Add cost_array to neighbours_4dirKirill Petrashin2026-03-271-2/+8
* Add cost defines and draw path cost under the mapKirill Petrashin2026-03-261-9/+18
* Clean up draw_map() a bitKirill Petrashin2026-03-261-28/+35
* Fix memory leaksKirill Petrashin2026-03-261-0/+8
* Add cost_array into neighbours_8dir()Kirill Petrashin2026-03-261-2/+10
* Handle the stack overflowKirill Petrashin2026-03-251-2/+2
* Implement 8dir breadth-first-search and some other stuffKirill Petrashin2026-03-221-1/+74
* Add ability to choose maps via args + create more maps + don't insert element...Kirill Petrashin2026-03-221-2/+2
* Handle when visited == NULL in draw_map()Kirill Petrashin2026-03-221-1/+1
* Add rendering of visited tilesKirill Petrashin2026-03-221-2/+5
* Implement breadth-first-search + fix the priority queue + some other stuffKirill Petrashin2026-03-211-1/+27
* Add ability to read plaintext maps from filesKirill Petrashin2026-03-201-0/+47
* Add a TODO in map.cKirill Petrashin2026-03-201-0/+1
* Add ability to move the map aroundKirill Petrashin2026-03-161-16/+35
* Change comments to use /* asdf */ syntaxKirill Petrashin2026-03-161-9/+8
* Render start and goal in boldKirill Petrashin2026-03-161-0/+2
* Improve renderingKirill Petrashin2026-03-141-9/+29