diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-10 22:16:44 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-10 22:16:44 +0300 |
| commit | d676ac91b1906f5de8695facb6b96bf0509e6e1f (patch) | |
| tree | 5bfe0fb9e89721508202296e87acf7b53c9f011d /map.h | |
| parent | 221797b2506bc54483042b8a7beb0aa016f4f8e6 (diff) | |
| download | astar-d676ac91b1906f5de8695facb6b96bf0509e6e1f.tar.xz | |
Clean up trailing whitespaces
Diffstat (limited to 'map.h')
| -rw-r--r-- | map.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |
