Difference for random_maps/rogue_layout.c from version 1.2 to 1.3


version 1.2 version 1.3
Line 14
 
Line 14
   int rtype;  /* circle or rectangular */    int rtype;  /* circle or rectangular */
 } Room;  } Room;
   
 int roguelike_place_room(Room *Rooms,int xsize, int ysize,int nrooms);  static int roguelike_place_room(Room *Rooms,int xsize, int ysize,int nrooms);
 void roguelike_make_rooms(Room *Rooms,char **maze, int options);  static void roguelike_make_rooms(Room *Rooms,char **maze, int options);
 void roguelike_link_rooms(Room *Rooms,char **maze,int xsize,int ysize);  static void roguelike_link_rooms(Room *Rooms,char **maze,int xsize,int ysize);
   
 /* actually make the layout:  we work by a reduction process:  /* actually make the layout:  we work by a reduction process:
    first we make everything a well, then we remove areas to make rooms */     first we make everything a well, then we remove areas to make rooms */
Line 95
 
Line 95
   
   
   
 int roguelike_place_room(Room *Rooms,int xsize, int ysize,int nrooms) {  static int roguelike_place_room(Room *Rooms,int xsize, int ysize,int nrooms) {
   
   int tx,ty;  /* trial center locations */    int tx,ty;  /* trial center locations */
   int sx,sy;  /* trial sizes */    int sx,sy;  /* trial sizes */
Line 160
 
Line 160
          
   
 /* write all the rooms into the maze */  /* write all the rooms into the maze */
 void roguelike_make_rooms(Room *Rooms,char **maze, int options) {  static void roguelike_make_rooms(Room *Rooms,char **maze, int options) {
   int making_circle=0;    int making_circle=0;
   int i,j;    int i,j;
   int R;    int R;
Line 194
 
Line 194
   
   
   
 void roguelike_link_rooms(Room *Rooms,char **maze,int xsize,int ysize){  static void roguelike_link_rooms(Room *Rooms,char **maze,int xsize,int ysize){
   Room *walk;    Room *walk;
   int i,j;    int i,j;
   /* link each room to the previous room */    /* link each room to the previous room */


Legend:
line(s) removed in v.1.2 
line(s) changed
 line(s) added in v.1.3

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