MCPcopy Create free account
hub / github.com/NetHack/NetHack / recalc_block_point

Function recalc_block_point

src/vision.c:910–917  ·  view source on GitHub ↗

recalc if point should be blocked or unblocked */

Source from the content-addressed store, hash-verified

908
909/* recalc if point should be blocked or unblocked */
910void
911recalc_block_point(coordxy x, coordxy y)
912{
913 if (does_block(x, y, &levl[x][y]))
914 block_point(x, y);
915 else
916 unblock_point(x, y);
917}
918
919/*==========================================================================* \
920 : :

Callers 15

findoneFunction · 0.85
dosearch0Function · 0.85
boulder_hits_poolFunction · 0.85
wizterrainwishFunction · 0.85
still_chewingFunction · 0.85
digFunction · 0.85
mdig_tunnelFunction · 0.85
zap_digFunction · 0.85
doopen_indirFunction · 0.85
doorlockFunction · 0.85
do_earthquakeFunction · 0.85
clear_fcorrFunction · 0.85

Calls 2

block_pointFunction · 0.85
unblock_pointFunction · 0.85

Tested by

no test coverage detected