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

Function map_redisplay

src/detect.c:93–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93staticfn void
94map_redisplay(void)
95{
96 reconstrain_map();
97 docrt(); /* redraw the screen to remove unseen traps from the map */
98 if (Underwater)
99 under_water(2);
100 if (u.uburied)
101 under_ground(2);
102}
103
104/* use getpos()'s 'autodescribe' to view whatever is currently shown on map */
105staticfn void

Callers 8

gold_detectFunction · 0.85
food_detectFunction · 0.85
object_detectFunction · 0.85
monster_detectFunction · 0.85
display_trap_mapFunction · 0.85
furniture_detectFunction · 0.85
do_mappingFunction · 0.85
reveal_terrainFunction · 0.85

Calls 4

reconstrain_mapFunction · 0.85
docrtFunction · 0.85
under_waterFunction · 0.85
under_groundFunction · 0.85

Tested by

no test coverage detected