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

Function veinMaterialAt

library/include/modules/MapCache.h:168–172  ·  view source on GitHub ↗

Vein material at pos (even if there is no vein tile), or -1 if none

Source from the content-addressed store, hash-verified

166
167 /// Vein material at pos (even if there is no vein tile), or -1 if none
168 int16_t veinMaterialAt(df::coord2d p)
169 {
170 if (!basemats) init_tiles(true);
171 return index_tile(basemats->veinmat,p);
172 }
173 /// Vein type at pos (even if there is no vein tile)
174 df::inclusion_type veinTypeAt(df::coord2d p)
175 {

Callers

nothing calls this directly

Calls 2

index_tileFunction · 0.85
BlockAtTileFunction · 0.85

Tested by

no test coverage detected