MCPcopy Create free account
hub / github.com/DFHack/dfhack / is_smooth_wall_or_connector

Function is_smooth_wall_or_connector

plugins/dig-now.cpp:582–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582static bool is_smooth_wall_or_connector(MapExtras::MapCache &map,
583 const DFCoord &pos) {
584 return is_smooth_wall(map, pos) || is_connector(map, pos);
585}
586
587// adds adjacent smooth walls and doors to the given tdir
588static TileDirection get_adjacent_smooth_walls(MapExtras::MapCache &map,

Callers 1

Calls 2

is_connectorFunction · 0.85
is_smooth_wallFunction · 0.70

Tested by

no test coverage detected