MCPcopy Index your code
hub / github.com/NetHack/NetHack / unblock_point

Function unblock_point

src/vision.c:898–907  ·  view source on GitHub ↗

* unblock_point() * * Make the location transparent to light. */

Source from the content-addressed store, hash-verified

896 * Make the location transparent to light.
897 */
898void
899unblock_point(int x, int y)
900{
901 dig_point(y, x);
902
903 /* recalc light sources here? */
904
905 if (gv.viz_array[y][x])
906 gv.vision_full_recalc = 1;
907}
908
909/* recalc if point should be blocked or unblocked */
910void

Callers 15

show_map_spotFunction · 0.85
findoneFunction · 0.85
openoneFunction · 0.85
dosearch0Function · 0.85
recalc_block_pointFunction · 0.85
remove_regionFunction · 0.85
expire_gas_cloudFunction · 0.85
mkcaveposFunction · 0.85
digFunction · 0.85
mdig_tunnelFunction · 0.85
zap_digFunction · 0.85
picklockFunction · 0.85

Calls 1

dig_pointFunction · 0.85

Tested by

no test coverage detected