| 251 | } |
| 252 | |
| 253 | static bool can_dig_channel(df::tiletype tt) { |
| 254 | df::tiletype_shape shape = tileShape(tt); |
| 255 | return shape != df::tiletype_shape::EMPTY && |
| 256 | shape != df::tiletype_shape::ENDLESS_PIT && |
| 257 | shape != df::tiletype_shape::NONE && |
| 258 | shape != df::tiletype_shape::RAMP_TOP && |
| 259 | shape != df::tiletype_shape::TRUNK_BRANCH; |
| 260 | } |
| 261 | |
| 262 | static bool can_dig_up_stair(df::tiletype tt) { |
| 263 | df::tiletype_shape shape = tileShape(tt); |