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

Function mon_pmname

src/do_name.c:1312–1317  ·  view source on GitHub ↗

mons[]->pmname for a monster */

Source from the content-addressed store, hash-verified

1310
1311/* mons[]->pmname for a monster */
1312const char *
1313mon_pmname(struct monst *mon)
1314{
1315 /* for neuter, mon->data->pmnames[MALE] will be Null and use [NEUTRAL] */
1316 return pmname(mon->data, Mgender(mon));
1317}
1318
1319/* mons[]->pmname for a corpse or statue or figurine */
1320const char *

Callers 9

do_name.cFile · 0.85
minimal_monnamFunction · 0.85
doname_baseFunction · 0.85
initedogFunction · 0.85
sanity_check_single_monFunction · 0.85
objlist_sanityFunction · 0.85
help_monster_outFunction · 0.85
unturn_deadFunction · 0.85
priestnameFunction · 0.85

Calls 2

pmnameFunction · 0.85
MgenderFunction · 0.85

Tested by

no test coverage detected