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

Function getBiomeType

library/include/modules/Maps.h:394–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392// Get the biome type at the given region coordinates.
393DFHACK_EXPORT df::enums::biome_type::biome_type getBiomeTypeWithRef(int16_t region_x, int16_t region_y, int16_t region_ref_y);
394inline df::enums::biome_type::biome_type getBiomeType(int16_t region_x, int16_t region_y) { return getBiomeTypeWithRef(region_x, region_y, region_y); }
395
396DFHACK_EXPORT bool isTileAquifer(int32_t x, int32_t y, int32_t z);
397inline bool isTileAquifer(df::coord pos) { return isTileAquifer(pos.x, pos.y, pos.z); }

Callers 3

maps_getBiomeTypeFunction · 0.85
processMethod · 0.85
grasses_for_tileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected