| 564 | } |
| 565 | |
| 566 | static bool is_smooth_wall(MapExtras::MapCache &map, const DFCoord &pos) { |
| 567 | if (!map.ensureBlockAt(pos)) |
| 568 | return false; |
| 569 | df::tiletype tt = map.tiletypeAt(pos); |
| 570 | return tileSpecial(tt) == df::tiletype_special::SMOOTH |
| 571 | && tileShape(tt) == df::tiletype_shape::WALL; |
| 572 | } |
| 573 | |
| 574 | static bool is_connector(MapExtras::MapCache &map, const DFCoord &pos) { |
| 575 | df::building *bld = Buildings::findAtTile(pos); |
no test coverage detected