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

Function is_wall

plugins/dig-now.cpp:332–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332static bool is_wall(MapExtras::MapCache &map, const DFCoord &pos) {
333 if (!map.ensureBlockAt(pos))
334 return false;
335 return tileShape(map.tiletypeAt(pos)) == df::tiletype_shape::WALL;
336}
337
338static void clean_ramp(MapExtras::MapCache &map, const DFCoord &pos) {
339 if (!map.ensureBlockAt(pos))

Callers 1

clean_rampFunction · 0.70

Calls 2

tileShapeFunction · 0.85
tiletypeAtMethod · 0.80

Tested by

no test coverage detected