* Use is_db_wall where you want to verify that a * drawbridge "wall" is UP in the location x, y * (instead of UP or DOWN, as with is_drawbridge_wall). */
| 167 | * (instead of UP or DOWN, as with is_drawbridge_wall). |
| 168 | */ |
| 169 | boolean |
| 170 | is_db_wall(coordxy x, coordxy y) |
| 171 | { |
| 172 | return (boolean) (levl[x][y].typ == DBWALL); |
| 173 | } |
| 174 | |
| 175 | /* |
| 176 | * Return true with x,y pointing to the drawbridge if x,y initially indicate |
no outgoing calls