ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/random_map.C
(Generate patch)

Comparing deliantra/server/random_maps/random_map.C (file contents):
Revision 1.4 by root, Thu Sep 14 22:34:02 2006 UTC vs.
Revision 1.5 by root, Sat Sep 16 22:24:13 2006 UTC

50 } 50 }
51 } 51 }
52 printf ("\n"); 52 printf ("\n");
53} 53}
54EXTERN FILE *logfile; 54EXTERN FILE *logfile;
55mapstruct * 55maptile *
56generate_random_map (const char *OutFileName, RMParms * RP) 56generate_random_map (const char *OutFileName, RMParms * RP)
57{ 57{
58 char **layout, buf[HUGE_BUF]; 58 char **layout, buf[HUGE_BUF];
59 mapstruct *theMap; 59 maptile *theMap;
60 int i; 60 int i;
61 61
62 /* pick a random seed, or use the one from the input file */ 62 /* pick a random seed, or use the one from the input file */
63 if (RP->random_seed == 0) 63 if (RP->random_seed == 0)
64 RP->random_seed = time (0); 64 RP->random_seed = time (0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines