diff options
Diffstat (limited to 'map.h')
| -rw-r--r-- | map.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -46,6 +46,8 @@ 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); +/* The reverse of above */ +void map_to_file_plaintext(char *filename, Map map, size_t width, size_t height, Position start, Position end); /* 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 */ |
