aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-03-20 22:10:59 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-03-20 22:10:59 +0300
commit03a3ed8376e2c733e2de3656ef0f53da30a7f4e2 (patch)
treebba639da4c6433dac78f9cc6caa0b0a1c721fd2d /main.c
parenta13f3f7fdc5ccf3de836e53e5f4aaf727ddd60bf (diff)
Implement the priority queue (without ppq_reorganize)
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index 4becc96..3d9e29c 100644
--- a/main.c
+++ b/main.c
@@ -7,13 +7,14 @@
#include "structs.h"
#include "config.h"
#include "error.h"
+#include "priority_queue.h"
/* So, TODO for now:
- - Add a function/macro for errors, akin to sigint_handler()
- Implement Dijkstra and greedy-best-first search algorithms
- Implement the A* algorithm
- Implement adding maps from files (with rle, preferably)
- - Implement controls (to change maps, move start/goal, etc.) */
+ - Implement controls (to change maps, move start/goal, etc.)
+ - Clean up unused `#include`s */
void sigint_handler(int sig) {
(void)sig; /* We know it's a SIGINT */