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

Function set_menuobjsyms_flags

src/options.c:7445–7451  ·  view source on GitHub ↗

iflags.menuobjsyms also controls iflags.menu_head_objsym, and iflags.use_menu_glyphs; they affect execution but are no longer options */

Source from the content-addressed store, hash-verified

7443/* iflags.menuobjsyms also controls iflags.menu_head_objsym, and
7444 iflags.use_menu_glyphs; they affect execution but are no longer options */
7445staticfn void
7446set_menuobjsyms_flags(int newobjsyms)
7447{
7448 iflags.menuobjsyms = newobjsyms;
7449 iflags.menu_head_objsym = ((newobjsyms & 1) != 0) ? TRUE : FALSE;
7450 iflags.use_menu_glyphs = ((newobjsyms & (2 | 4)) != 0) ? TRUE : FALSE;
7451}
7452
7453/*
7454 * Change the inventory order, using the given string as the new order.

Callers 2

optfn_menu_objsymsFunction · 0.85
handler_menu_objsymsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected