| 242 | } |
| 243 | |
| 244 | static bool can_dig_default(df::tiletype tt) { |
| 245 | df::tiletype_shape shape = tileShape(tt); |
| 246 | return shape == df::tiletype_shape::WALL || |
| 247 | shape == df::tiletype_shape::FORTIFICATION || |
| 248 | shape == df::tiletype_shape::RAMP || |
| 249 | shape == df::tiletype_shape::STAIR_UP || |
| 250 | shape == df::tiletype_shape::STAIR_UPDOWN; |
| 251 | } |
| 252 | |
| 253 | static bool can_dig_channel(df::tiletype tt) { |
| 254 | df::tiletype_shape shape = tileShape(tt); |