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

Function is_smooth_wall

plugins/dig.cpp:256–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256static bool is_smooth_wall(const df::coord &pos) {
257 df::tiletype *tt = Maps::getTileType(pos);
258 return tt && tileSpecial(*tt) == df::tiletype_special::SMOOTH
259 && tileShape(*tt) == df::tiletype_shape::WALL;
260}
261
262static bool is_aquifer(int16_t x, int16_t y, int16_t z, df::tile_designation *des = NULL) {
263 if (!des)

Callers 1

paintScreenDesignatedFunction · 0.70

Calls 3

getTileTypeFunction · 0.85
tileSpecialFunction · 0.85
tileShapeFunction · 0.85

Tested by

no test coverage detected