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

Function needs_unhide

plugins/dig-now.cpp:920–923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

918}
919
920static bool needs_unhide(const DFCoord &pos) {
921 return !Maps::ensureTileBlock(pos)
922 || Maps::getTileDesignation(pos)->bits.hidden;
923}
924
925static bool needs_flood_unhide(const DFCoord &pos) {
926 return needs_unhide(pos)

Callers 1

needs_flood_unhideFunction · 0.85

Calls 2

ensureTileBlockFunction · 0.85
getTileDesignationFunction · 0.85

Tested by

no test coverage detected