used to determine if wall spines can join this location */
| 56 | |
| 57 | /* used to determine if wall spines can join this location */ |
| 58 | staticfn int |
| 59 | iswall_or_stone(coordxy x, coordxy y) |
| 60 | { |
| 61 | /* out of bounds = stone */ |
| 62 | if (!isok(x, y)) |
| 63 | return 1; |
| 64 | |
| 65 | return (levl[x][y].typ == STONE || iswall(x, y)); |
| 66 | } |
| 67 | |
| 68 | /* return TRUE if out of bounds, wall or rock */ |
| 69 | staticfn boolean |