aboutsummaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-03-30 20:09:21 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-03-30 20:09:21 +0300
commit49427f83bc3751fdb35f567b17abf9ddbd87bd48 (patch)
tree89d43abb7b6c70600b6856399b545e294ff145cd /map.h
parent49d85b8583e57fe85c7f486fb483f34c3cd4186c (diff)
downloadastar-49427f83bc3751fdb35f567b17abf9ddbd87bd48.tar.xz
Update TODOs and FIXMEs
Diffstat (limited to 'map.h')
-rw-r--r--map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/map.h b/map.h
index c58b3fa..8f0dcab 100644
--- a/map.h
+++ b/map.h
@@ -20,7 +20,7 @@ unsigned int neighbours_8dir(Position neighbour_array[8], size_t cost_array[8],
/* https://en.wikipedia.org/wiki/Maze_generation_algorithm#Randomized_depth-first_search
* WARNING: width and height are not the width and height of the returned map!
- * TODO: formula for actual size */
+ * The actual size for a given dimention is (dimension * 2 - 1) */
Map rbt_maze_map(size_t width, size_t height, unsigned int seed);
/* Reads the map from a file, saves size in `width` and `height`