version 1.23 | | version 1.24 |
---|
| | |
/* | | /* |
* static char *rcsid_random_map_c = | | * static char *rcsid_random_map_c = |
* "$Id: random_map.c,v 1.23 2001/05/07 07:29:15 mwedel Exp $"; | | * "$Id: random_map.c,v 1.24 2001/05/15 04:30:04 mardahl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
else | | else |
RP->difficulty_given=1; | | RP->difficulty_given=1; |
| | |
| | if(RP->expand2x > 0) { |
| | RP->Xsize /=2; |
| | RP->Ysize /=2; |
| | } |
| | |
layout = layoutgen(RP); | | layout = layoutgen(RP); |
| | |
/* increment these for the current map */ | | /* increment these for the current map */ |
| | |
#ifdef RMAP_DEBUG | | #ifdef RMAP_DEBUG |
dump_layout(maze,RP); | | dump_layout(maze,RP); |
#endif | | #endif |
/* | | if(RP->expand2x) { |
maze = expand2x(maze,RP->Xsize,RP->Ysize); | | maze = expand2x(maze,RP->Xsize,RP->Ysize); |
RP->Xsize = RP->Xsize * 2 -1; | | RP->Xsize = RP->Xsize * 2 -1; |
RP->Ysize = RP->Ysize * 2 -1; | | RP->Ysize = RP->Ysize * 2 -1; |
*/ | | } |
return maze; | | return maze; |
} | | } |
| | |