diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-13 16:28:51 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-13 16:28:51 +0300 |
| commit | a0eddde46fda0017384ad206f868651d84436427 (patch) | |
| tree | abef04483466e7e81c3512adfa96994605969797 | |
| parent | 734f6379f0978088c7051ec8645cf1e2962fee49 (diff) | |
| download | astar-a0eddde46fda0017384ad206f868651d84436427.tar.xz | |
Add some TODO entries
| -rw-r--r-- | main.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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; |
