aboutsummaryrefslogtreecommitdiff
path: root/path.h
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-05-03 13:12:25 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-05-03 13:12:25 +0300
commit6fc30f8bb3bd345a30a36936e4008c3703aa01f0 (patch)
treeceffbb702a4449bb79cae17c08d2c163d5defb7d /path.h
parent702b04c89752fb16f165f5d26c99df5895c0fab4 (diff)
downloadastar-6fc30f8bb3bd345a30a36936e4008c3703aa01f0.tar.xz
Print algo name when printing time
Diffstat (limited to 'path.h')
-rw-r--r--path.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/path.h b/path.h
index 459bca6..28c9b72 100644
--- a/path.h
+++ b/path.h
@@ -6,6 +6,8 @@
/* The currently chosen path func */
extern Path (*path_func)(int, Map, size_t **, size_t, size_t, Position, Position, char **, char);
+/* The string that represents the current algo */
+extern char *path_func_string;
/* Time it took to calculate a path */
extern double path_time;