{\r
/* Get distances to two closest centers */\r
\r
- /* initialize */\r
min1 = (u16b)distance(x, y, center[0].x, center[0].y);\r
min2 = (u16b)distance(x, y, center[1].x, center[1].y);\r
\r
\r
/* Hack -- skip "non-grids" */\r
if (*t == ' ') continue;\r
-\r
- /* Access the grid */\r
c_ptr = &cave[y][x];\r
\r
/* Lay down a floor */\r
{\r
POSITION y0, x0, xsize, ysize, vtype;\r
\r
- /* Get size */\r
/* big enough to look good, small enough to be fairly common. */\r
xsize = randint1(22) + 22;\r
ysize = randint1(11) + 11;\r