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

Function ia_addmenu

src/iactions.c:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126staticfn void
127ia_addmenu(winid win, int act, char let, const char *txt)
128{
129 anything any;
130 int clr = NO_COLOR;
131
132 any = cg.zeroany;
133 any.a_int = act;
134 add_menu(win, &nul_glyphinfo, &any, let, 0,
135 ATR_NONE, clr, txt, MENU_ITEMFLAGS_NONE);
136}
137
138/* set up a command to execute on a specific item next */
139staticfn void

Callers 1

itemactionsFunction · 0.85

Calls 1

add_menuFunction · 0.85

Tested by

no test coverage detected