Difference for random_maps/random_map.c from version 1.40 to 1.41


version 1.40 version 1.41
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_random_map_c =   * static char *rcsid_random_map_c =
  *   "$Id: random_map.c,v 1.40 2005/10/29 09:34:02 ryo_saeba Exp $";   *   "$Id: random_map.c,v 1.41 2006/02/20 23:33:28 qal21 Exp $";
  */   */
   
 /*  /*
Line 105
 
Line 105
     /* set region */      /* set region */
     theMap->region=RP->region;      theMap->region=RP->region;
          
       /* create walls unless the wallstyle is "none" */
       if (strcmp (RP->wallstyle, "none")) {
     make_map_walls(theMap,layout,RP->wallstyle,RP);      make_map_walls(theMap,layout,RP->wallstyle,RP);
   
           /* place doors unless doorstyle or wallstyle is "none"*/
           if (strcmp (RP->doorstyle, "none"))
     put_doors(theMap,layout,RP->doorstyle,RP);      put_doors(theMap,layout,RP->doorstyle,RP);
   
       }
   
       /* create exits unless the exitstyle is "none" */
       if (strcmp (RP->exitstyle, "none"))
     place_exits(theMap,layout,RP->exitstyle,RP->orientation,RP);      place_exits(theMap,layout,RP->exitstyle,RP->orientation,RP);
   
     place_specials_in_map(theMap,layout,RP);      place_specials_in_map(theMap,layout,RP);
   
       /* create monsters unless the monsterstyle is "none" */
       if (strcmp (RP->monsterstyle, "none"))
     place_monsters(theMap,RP->monsterstyle,RP->difficulty,RP);      place_monsters(theMap,RP->monsterstyle,RP->difficulty,RP);
   
     /* treasures needs to have a proper difficulty set for the map. */      /* treasures needs to have a proper difficulty set for the map. */
     theMap->difficulty=calculate_difficulty(theMap);      theMap->difficulty=calculate_difficulty(theMap);
   
       /* create treasure unless the treasurestyle is "none" */
       if (strcmp (RP->treasurestyle, "none"))
     place_treasure(theMap,layout,RP->treasurestyle,RP->treasureoptions,RP);      place_treasure(theMap,layout,RP->treasurestyle,RP->treasureoptions,RP);
   
       /* create decor unless the decorstyle is "none" */
       if (strcmp (RP->decorstyle, "none"))
     put_decor(theMap,layout,RP->decorstyle,RP->decoroptions,RP);      put_decor(theMap,layout,RP->decorstyle,RP->decoroptions,RP);
   
     /* generate treasures, etc. */      /* generate treasures, etc. */


Legend:
line(s) removed in v.1.40 
line(s) changed
 line(s) added in v.1.41

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