From a0eddde46fda0017384ad206f868651d84436427 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Mon, 13 Apr 2026 16:28:51 +0300 Subject: Add some TODO entries --- main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'main.c') 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; -- cgit v1.2.3