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

Function tp_sensemon

src/display.c:165–169  ·  view source on GitHub ↗

* See display.h for descriptions of tp_sensemon() through * is_safemon(). Some of these were generating an awful lot of * code "behind the curtain", particularly canspotmon() (which is * still a macro but one that now expands to a pair of function * calls rather than to a ton of special case checks). Return * values are all int 0 or 1, not boolean. * * T

Source from the content-addressed store, hash-verified

163 * They're still implemented as macros within this file.
164 */
165int
166tp_sensemon(struct monst *mon)
167{
168 return _tp_sensemon(mon);
169}
170#define tp_sensemon(mon) _tp_sensemon(mon)
171
172int

Callers 6

attack_checksFunction · 0.85
mcast_insectsFunction · 0.85
howmonseenFunction · 0.85
feel_locationFunction · 0.85
newsymFunction · 0.85
hitmuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected