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

Comparing deliantra/server/random_maps/rogue_layout.C (file contents):
Revision 1.3 by root, Sun Sep 10 16:06:37 2006 UTC vs.
Revision 1.4 by root, Sun Dec 31 19:02:24 2006 UTC

241 for (walk = Rooms; walk->x != 0; walk++) 241 for (walk = Rooms; walk->x != 0; walk++)
242 { 242 {
243 /* first decide what shape to make */ 243 /* first decide what shape to make */
244 switch (options) 244 switch (options)
245 { 245 {
246 case 1: 246 case 1:
247 making_circle = 0; 247 making_circle = 0;
248 break; 248 break;
249 case 2: 249 case 2:
250 making_circle = 1; 250 making_circle = 1;
251 break; 251 break;
252 default: 252 default:
253 making_circle = ((RANDOM () % 3 == 0) ? 1 : 0); 253 making_circle = ((RANDOM () % 3 == 0) ? 1 : 0);
254 break; 254 break;
255 } 255 }
256 256
257 if (walk->sx < walk->sy) 257 if (walk->sx < walk->sy)
258 R = walk->sx / 2; 258 R = walk->sx / 2;
259 else 259 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines