| 572 | } |
| 573 | |
| 574 | static bool is_connector(MapExtras::MapCache &map, const DFCoord &pos) { |
| 575 | df::building *bld = Buildings::findAtTile(pos); |
| 576 | |
| 577 | return bld && |
| 578 | (bld->getType() == df::building_type::Door || |
| 579 | bld->getType() == df::building_type::Floodgate); |
| 580 | } |
| 581 | |
| 582 | static bool is_smooth_wall_or_connector(MapExtras::MapCache &map, |
| 583 | const DFCoord &pos) { |
no test coverage detected