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

Function ensureTileBlock

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

Source from the content-addressed store, hash-verified

338inline df::map_block *getBlock (df::coord pos) { return getBlock(pos.x, pos.y, pos.z); }
339inline df::map_block *getTileBlock (df::coord pos) { return getTileBlock(pos.x, pos.y, pos.z); }
340inline df::map_block *ensureTileBlock (df::coord pos) { return ensureTileBlock(pos.x, pos.y, pos.z); }
341
342extern DFHACK_EXPORT df::tiletype *getTileType(int32_t x, int32_t y, int32_t z);
343extern DFHACK_EXPORT df::tile_designation *getTileDesignation(int32_t x, int32_t y, int32_t z);

Callers 10

maps_ensureTileBlockFunction · 0.85
forBlockMethod · 0.85
AllocateMethod · 0.85
simulate_fallFunction · 0.85
create_bouldersFunction · 0.85
needs_unhideFunction · 0.85
post_process_dug_tilesFunction · 0.85
aimAtPointMethod · 0.85
manage_groupMethod · 0.85
simulate_fallFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected