aboutsummaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-04-10 22:16:44 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-04-10 22:16:44 +0300
commitd676ac91b1906f5de8695facb6b96bf0509e6e1f (patch)
tree5bfe0fb9e89721508202296e87acf7b53c9f011d /map.h
parent221797b2506bc54483042b8a7beb0aa016f4f8e6 (diff)
downloadastar-d676ac91b1906f5de8695facb6b96bf0509e6e1f.tar.xz
Clean up trailing whitespaces
Diffstat (limited to 'map.h')
-rw-r--r--map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/map.h b/map.h
index ecebbb9..fef684c 100644
--- a/map.h
+++ b/map.h
@@ -21,8 +21,8 @@ unsigned int neighbours_4dir(Position neighbour_array[4], size_t cost_array[4],
unsigned int neighbours_8dir(Position neighbour_array[8], size_t cost_array[8], Position pos, size_t width, size_t height, \
char **visited);
-/* 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!
+/* 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!
* The actual size for a given dimention is (dimension * 2 - 1) */
Map rbt_maze_map(size_t width, size_t height, unsigned int seed);
@@ -42,7 +42,7 @@ Map rbt_maze_map(size_t width, size_t height, unsigned int seed);
* ..@....... */
Map file_plaintext_map(char *filename, size_t *width, size_t *height, Position *start_pos, Position *end_pos);
-/* Draw the map. Bet you didn't expect that.
+/* Draw the map. Bet you didn't expect that.
* path could be NULL to draw a map with no path. So can cursor, frontier and visited */
void draw_map(Map map, size_t width, size_t height, Position start, Position goal, Position *cursor, Path path, char **visited, PositionPQ *frontier);