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

Function isRampTerrain

library/include/TileTypes.h:286–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284 }
285
286 inline
287 bool isRampTerrain(df::tiletype tiletype)
288 {
289 return ENUM_ATTR(tiletype_shape, basic_shape, tileShape(tiletype)) == tiletype_shape_basic::Ramp;
290 }
291
292 inline
293 bool isOpenTerrain(df::tiletype tiletype)

Callers

nothing calls this directly

Calls 1

tileShapeFunction · 0.85

Tested by

no test coverage detected