16 for (j = 0; j < Ysize; j++) {
17 for (i = 0; i < Xsize; i++) {
18 if (layout[i][j] == 0)
20 printf(
"%c", layout[i][j]);
28 char **layout, **biglayout;
31 Xsize = RANDOM()%30+10;
32 Ysize = RANDOM()%20+10;
43 printf(
"\nExpanding layout...\n");
45 biglayout =
expand2x(layout, Xsize, Ysize);
static struct Command_Line_Options options[]
char ** gen_corridor_rooms(int, int, int)
char ** expand2x(char **layout, int xsize, int ysize)
char ** roguelike_layout_gen(int xsize, int ysize, int options)
char ** map_gen_spiral(int, int, int)
void dump_layout(char **layout, int Xsize, int Ysize)
char ** make_square_spiral_layout(int xsize, int ysize)
char ** make_snake_layout(int xsize, int ysize)