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

Function layerIndexAt

library/include/modules/MapCache.h:304–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302
303 int biomeIndexAt(df::coord2d p);
304 int layerIndexAt(df::coord2d p) {
305 return index_tile(designation,p).bits.geolayer_index;
306 }
307
308 df::coord2d biomeRegionAt(df::coord2d p);
309 const BiomeInfo &biomeInfoAt(df::coord2d p);

Callers 1

layerMaterialAtFunction · 0.85

Calls 1

index_tileFunction · 0.85

Tested by

no test coverage detected