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

Function Yname2

src/objnam.c:2377–2384  ·  view source on GitHub ↗

capitalized variant of yname() */

Source from the content-addressed store, hash-verified

2375
2376/* capitalized variant of yname() */
2377char *
2378Yname2(struct obj *obj)
2379{
2380 char *s = yname(obj);
2381
2382 *s = highc(*s);
2383 return s;
2384}
2385
2386/* returns "your minimal_xname(obj)"
2387 * or "Foobar's minimal_xname(obj)"

Callers 15

can_twoweaponFunction · 0.85
potion_dipFunction · 0.85
Armor_onFunction · 0.85
hmon_hitmon_joustingFunction · 0.85
ballfallFunction · 0.85
mon_wield_itemFunction · 0.85
see_lamp_flickerFunction · 0.85
burn_objectFunction · 0.85
doengrave_sfx_itemFunction · 0.85
engraveFunction · 0.85
do_improvisationFunction · 0.85
m_dowear_typeFunction · 0.85

Calls 2

ynameFunction · 0.85
highcFunction · 0.85

Tested by

no test coverage detected