| 294 | } |
| 295 | |
| 296 | staticfn boolean |
| 297 | okay(coordxy x, coordxy y, coordxy dir) |
| 298 | { |
| 299 | mz_move(x, y, dir); |
| 300 | mz_move(x, y, dir); |
| 301 | if (x < 3 || y < 3 || x > gx.x_maze_max || y > gy.y_maze_max |
| 302 | || levl[x][y].typ != STONE) |
| 303 | return FALSE; |
| 304 | return TRUE; |
| 305 | } |
| 306 | |
| 307 | /* find random starting point for maze generation */ |
| 308 | staticfn void |