aboutsummaryrefslogtreecommitdiff
path: root/path.c
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-04-14 22:41:56 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-04-14 22:41:56 +0300
commitc9ac361e1282bfaa895a1456222bca2d86253a96 (patch)
tree4c2b5a90ad35d25b21224af80a519c9ae353b983 /path.c
parent768509d6bb91269abf1ee1d93c32d236b146e98a (diff)
downloadastar-c9ac361e1282bfaa895a1456222bca2d86253a96.tar.xz
Implement live pathfinding in map editor
Diffstat (limited to 'path.c')
-rw-r--r--path.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/path.c b/path.c
index fbd599c..7d2c0bb 100644
--- a/path.c
+++ b/path.c
@@ -12,6 +12,8 @@
#include "error.h"
#include "config.h"
+Path (*path_func)(int, Map, size_t, size_t, Position, Position, char **, char) = &astar_path;
+
char anim_automatic = 0;
/* TODO: make it move the map maybe to show the path */