Difference for random_maps/random_map.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_random_map_c =   * static char *rcsid_random_map_c =
  *   "$Id: random_map.c,v 1.4 2000/06/07 17:48:18 cvs Exp $";   *   "$Id: random_map.c,v 1.5 2000/06/08 00:34:33 cvs Exp $";
  */   */
   
 /*  /*
Line 199
 
Line 199
   
   if(strstr(layoutstyle,"onion")) {    if(strstr(layoutstyle,"onion")) {
     maze = map_gen_onion(Xsize,Ysize,layoutoptions1,layoutoptions2);      maze = map_gen_onion(Xsize,Ysize,layoutoptions1,layoutoptions2);
     if(!(RANDOM()%3)) roomify_layout(maze);      if(!(RANDOM()%3)&& !(layoutoptions1 & OPT_WALLS_ONLY)) roomify_layout(maze);
   }    }
   
   if(strstr(layoutstyle,"maze")) {    if(strstr(layoutstyle,"maze")) {
Line 215
 
Line 215
       break;        break;
     case 1:      case 1:
       maze = map_gen_onion(Xsize,Ysize,layoutoptions1,layoutoptions2);        maze = map_gen_onion(Xsize,Ysize,layoutoptions1,layoutoptions2);
       if(!(RANDOM()%3)) roomify_layout(maze);        if(!(RANDOM()%3)&& !(layoutoptions1 & OPT_WALLS_ONLY)) roomify_layout(maze);
       break;        break;
     }      }
   


Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:56