Difference for random_maps/square_spiral.c from version 1.3 to 1.4


version 1.3 version 1.4
Line 16
 
Line 16
 #include <global.h>  #include <global.h>
 #include <time.h>  #include <time.h>
   
 #ifdef WIN32 /* ---win32: removes a make_wall warning, modul miss prototyp */  
 #include <maze_gen.h>  #include <maze_gen.h>
 #include <room_gen.h>  #include <room_gen.h>
 #include <random_map.h>  #include <random_map.h>
 #include <rproto.h>  
 #include <sproto.h>  #include <sproto.h>
 #endif /* win32 */  #include <rproto.h>
   
 #if 0  
   
 int make_wall(char **maze,int x, int y, int dir){  
   maze[x][y] = 'D'; /* mark a door */  
   switch(dir) {  
   case 0: /* horizontal */  
     {  
       int i1;  
       for(i1 = x-1;maze[i1][y]==0;i1--)   
         maze[i1][y]='#';  
       for(i1 = x+1;maze[i1][y]==0;i1++)  
         maze[i1][y]='#';  
       break;  
     }  
   case 1: /* vertical */  
     {  
       int i1;  
       for(i1 = y-1;maze[x][i1]==0;i1--)   
         maze[x][i1]='#';  
       for(i1 = y+1;maze[x][i1]==0;i1++)  
         maze[x][i1]='#';  
       break;  
     }  
   }        
   
   return 0;  
 }  
   
 #endif  
   
 char **map_gen_onion(int xsize, int ysize, int option, int layers);  char **map_gen_onion(int xsize, int ysize, int option, int layers);
   


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

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