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

Function cxname

src/objnam.c:1923–1929  ·  view source on GitHub ↗

xname doesn't include monster type for "corpse"; cxname does */

Source from the content-addressed store, hash-verified

1921
1922/* xname doesn't include monster type for "corpse"; cxname does */
1923char *
1924cxname(struct obj *obj)
1925{
1926 if (obj->otyp == CORPSE)
1927 return corpse_xname(obj, (const char *) 0, CXN_NORMAL);
1928 return xname(obj);
1929}
1930
1931/* like cxname, but ignores quantity */
1932char *

Callers 12

potion_dipFunction · 0.85
itemactionsFunction · 0.85
hmon_hitmon_do_hitFunction · 0.85
hmon_hitmonFunction · 0.85
shade_missFunction · 0.85
aobjnamFunction · 0.85
ynameFunction · 0.85
dohideFunction · 0.85
erode_objFunction · 0.85
water_damageFunction · 0.85
use_tinning_kitFunction · 0.85
use_whipFunction · 0.85

Calls 2

corpse_xnameFunction · 0.85
xnameFunction · 0.85

Tested by

no test coverage detected