used to determine if wall spines can join this location */
| 42 | |
| 43 | /* used to determine if wall spines can join this location */ |
| 44 | staticfn int |
| 45 | iswall(coordxy x, coordxy y) |
| 46 | { |
| 47 | int type; |
| 48 | |
| 49 | if (!isok(x, y)) |
| 50 | return 0; |
| 51 | type = levl[x][y].typ; |
| 52 | return (IS_WALL(type) || IS_DOOR(type) |
| 53 | || type == LAVAWALL || type == WATER |
| 54 | || type == SDOOR || type == IRONBARS); |
| 55 | } |
| 56 | |
| 57 | /* used to determine if wall spines can join this location */ |
| 58 | staticfn int |
no test coverage detected