aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-04-13 16:28:51 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-04-13 16:28:51 +0300
commita0eddde46fda0017384ad206f868651d84436427 (patch)
treeabef04483466e7e81c3512adfa96994605969797
parent734f6379f0978088c7051ec8645cf1e2962fee49 (diff)
downloadastar-a0eddde46fda0017384ad206f868651d84436427.tar.xz
Add some TODO entries
-rw-r--r--main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/main.c b/main.c
index a0d61dd..f578bf3 100644
--- a/main.c
+++ b/main.c
@@ -18,11 +18,12 @@
- Allow maps to have costs
- Write out the amount of visited squares (to see how algorithms differ in
efficiency)
- - Map editor function
- - Rework the UI, probably completely
+ - check ppq_insert() order
+ - more info in anim()
+ - save pathfinding to a series of BMPs
+ - less magical values
- Algorithm hotswap
- MORE MAPS FOR THE MAP PEOPLE
- - More controls (choose map, etc.)
- Clean up unused `#include`s
- Comments */
@@ -147,6 +148,7 @@ int main(int argc, char **argv) {
draw_map(map, width, height, start_pos, end_pos, NULL, path, visited, NULL);
int c = getch();
/* TODO: add a keybinding to calculate the path again, or maybe do it on 'a' */
+ /* TODO: add a keybinding to load a map from a file */
switch (c) {
case 'h': map_offset_x += 2; break;
case 'l': map_offset_x -= 2; break;