aboutsummaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
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);