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

Function tileDirection

library/include/TileTypes.h:180–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 }
179
180 inline
181 TileDirection tileDirection(df::tiletype tiletype)
182 {
183 return TileDirection(ENUM_ATTR(tiletype, direction, tiletype));
184 }
185
186 // Air
187 inline bool isAirMaterial(df::tiletype_material mat) { return mat == tiletype_material::AIR; }

Callers 11

findSimilarTileTypeFunction · 0.85
FOR_ENUM_ITEMSFunction · 0.85
FOR_ENUM_ITEMSFunction · 0.85
describeTileFunction · 0.85
paintTileProcessingFunction · 0.85
get_track_strFunction · 0.85
get_target_typeFunction · 0.85
carve_tileFunction · 0.85
setTileMaterialFunction · 0.85
FOR_ENUM_ITEMSFunction · 0.85

Calls 1

TileDirectionFunction · 0.85

Tested by

no test coverage detected