| 322 | } |
| 323 | |
| 324 | static void remove_ramp_top(MapExtras::MapCache &map, const DFCoord &pos) { |
| 325 | if (!map.ensureBlockAt(pos)) |
| 326 | return; |
| 327 | |
| 328 | if (tileShape(map.tiletypeAt(pos)) == df::tiletype_shape::RAMP_TOP) |
| 329 | dig_type(map, pos, df::tiletype::OpenSpace); |
| 330 | } |
| 331 | |
| 332 | static bool is_wall(MapExtras::MapCache &map, const DFCoord &pos) { |
| 333 | if (!map.ensureBlockAt(pos)) |
no test coverage detected