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

Function addTileWarmDig

plugins/dig.cpp:1962–1971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1960}
1961
1962static void addTileWarmDig(df::coord pos) {
1963 auto block = Maps::getTileBlock(pos);
1964 if (!block)
1965 return;
1966
1967 if (auto warm_mask = World::getPersistentTilemask(warm_config, block, true)) {
1968 warm_mask->setassignment(pos, true);
1969 do_enable(true);
1970 }
1971}
1972
1973static void addTileDampDig(df::coord pos) {
1974 auto block = Maps::getTileBlock(pos);

Callers

nothing calls this directly

Calls 2

getTileBlockFunction · 0.85
do_enableFunction · 0.70

Tested by

no test coverage detected