| 266 | } |
| 267 | |
| 268 | static bool can_dig_down_stair(df::tiletype tt) { |
| 269 | df::tiletype_shape shape = tileShape(tt); |
| 270 | return shape == df::tiletype_shape::BOULDER || |
| 271 | shape == df::tiletype_shape::BROOK_BED || |
| 272 | shape == df::tiletype_shape::BROOK_TOP || |
| 273 | shape == df::tiletype_shape::FLOOR || |
| 274 | shape == df::tiletype_shape::FORTIFICATION || |
| 275 | shape == df::tiletype_shape::PEBBLES || |
| 276 | shape == df::tiletype_shape::RAMP || |
| 277 | shape == df::tiletype_shape::SAPLING || |
| 278 | shape == df::tiletype_shape::SHRUB || |
| 279 | shape == df::tiletype_shape::TWIG || |
| 280 | shape == df::tiletype_shape::WALL; |
| 281 | } |
| 282 | |
| 283 | static bool can_dig_up_down_stair(df::tiletype tt) { |
| 284 | df::tiletype_shape shape = tileShape(tt); |