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

Function staticTiletypeAt

library/include/modules/MapCache.h:210–216  ·  view source on GitHub ↗

Static layer tile (i.e. base + constructions)

Source from the content-addressed store, hash-verified

208
209 /// Static layer tile (i.e. base + constructions)
210 df::tiletype staticTiletypeAt(df::coord2d p)
211 {
212 if (!tiles) init_tiles();
213 if (tiles->con_info)
214 return index_tile(tiles->con_info->tiles,p);
215 return baseTiletypeAt(p);
216 }
217 /// Static layer material (i.e. base + constructions)
218 t_matpair staticMaterialAt(df::coord2d p)
219 {

Callers

nothing calls this directly

Calls 3

index_tileFunction · 0.85
baseTiletypeAtFunction · 0.85
BlockAtTileFunction · 0.85

Tested by

no test coverage detected