find random starting point for maze generation */
| 306 | |
| 307 | /* find random starting point for maze generation */ |
| 308 | staticfn void |
| 309 | maze0xy(coord *cc) |
| 310 | { |
| 311 | cc->x = 3 + 2 * rn2((gx.x_maze_max >> 1) - 1); |
| 312 | cc->y = 3 + 2 * rn2((gy.y_maze_max >> 1) - 1); |
| 313 | return; |
| 314 | } |
| 315 | |
| 316 | boolean |
| 317 | is_exclusion_zone(xint16 type, coordxy x, coordxy y) |