version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_random_map_c = | | * static char *rcsid_random_map_c = |
* "$Id: random_map.c,v 1.12 2001/01/12 08:25:28 peterm Exp $"; | | * "$Id: random_map.c,v 1.13 2001/01/16 07:46:04 peterm Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
RP->map_layout_style = SPIRAL_LAYOUT; | | RP->map_layout_style = SPIRAL_LAYOUT; |
if(!(RANDOM()%2)) doorify_layout(maze,RP); | | if(!(RANDOM()%2)) doorify_layout(maze,RP); |
break; | | break; |
| | case 4: |
| | maze = roguelike_layout_gen(RP->Xsize,RP->Ysize,RP->layoutoptions1); |
| | RP->map_layout_style = ROGUELIKE_LAYOUT; |
| | /* no doorifying... done already */ |
| | |
} | | } |
| | |
maze = symmetrize_layout(maze, RP->symmetry_used,RP); | | maze = symmetrize_layout(maze, RP->symmetry_used,RP); |