| 281 | } |
| 282 | |
| 283 | static bool can_dig_up_down_stair(df::tiletype tt) { |
| 284 | df::tiletype_shape shape = tileShape(tt); |
| 285 | return shape == df::tiletype_shape::WALL || |
| 286 | shape == df::tiletype_shape::FORTIFICATION || |
| 287 | shape == df::tiletype_shape::STAIR_UP; |
| 288 | } |
| 289 | |
| 290 | static bool can_dig_ramp(df::tiletype tt) { |
| 291 | df::tiletype_shape shape = tileShape(tt); |