… | |
… | |
2 | #include <global.h> |
2 | #include <global.h> |
3 | #include <expand2x.h> |
3 | #include <expand2x.h> |
4 | |
4 | |
5 | /* this is a testing program for layouts. It's |
5 | /* this is a testing program for layouts. It's |
6 | included here for convenience only. */ |
6 | included here for convenience only. */ |
7 | char **map_gen_spiral (int, int, int); |
7 | Maze map_gen_spiral (int, int, int); |
8 | char **roguelike_layout_gen (int xsize, int ysize, int options); |
8 | Maze roguelike_layout_gen (int xsize, int ysize, int options); |
9 | char **make_snake_layout (int xsize, int ysize, int options); |
9 | Maze make_snake_layout (int xsize, int ysize, int options); |
10 | char **make_square_spiral_layout (int xsize, int ysize, int options); |
10 | Maze make_square_spiral_layout (int xsize, int ysize, int options); |
11 | char **gen_corridor_rooms (int, int, int); |
11 | Maze gen_corridor_rooms (int, int, int); |
12 | |
12 | |
13 | void |
13 | void |
14 | dump_layout (char **layout, int Xsize, int Ysize) |
14 | dump_layout (char **layout, int Xsize, int Ysize) |
15 | { |
15 | { |
16 | int i, j; |
16 | int i, j; |