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

Function isOpenTerrain

library/include/TileTypes.h:292–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 }
291
292 inline
293 bool isOpenTerrain(df::tiletype tiletype)
294 {
295 return ENUM_ATTR(tiletype_shape, basic_shape, tileShape(tiletype)) == tiletype_shape_basic::Open;
296 }
297
298 inline
299 bool isStairTerrain(df::tiletype tiletype)

Callers 10

hasSupportMethod · 0.85
scan_layer_depthMethod · 0.85
isTargetableTileFunction · 0.85
check_hanging_tilesMethod · 0.85
filltrafficFunction · 0.85
manage_groupMethod · 0.85
likelyFunction · 0.85
is_safe_fallFunction · 0.85
is_safe_to_dig_downFunction · 0.85
dig_nowFunction · 0.85

Calls 1

tileShapeFunction · 0.85

Tested by

no test coverage detected