MCPcopy Create free account
hub / github.com/crawl/crawl / CmdMenuEntry

Method CmdMenuEntry

crawl-ref/source/main.cc:1986–1994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1984 {
1985 public:
1986 CmdMenuEntry(string label, MenuEntryLevel _level, int hotk=0,
1987 command_type _cmd=CMD_NO_CMD,
1988 bool _uses_popup=true)
1989 : MenuEntry(label, _level, 1, hotk), cmd(_cmd),
1990 uses_popup(_uses_popup)
1991 {
1992 if (tileidx_command(cmd) != TILEG_TODO)
1993 add_tile(tileidx_command(cmd));
1994 }
1995
1996 command_type cmd;
1997 bool uses_popup;

Callers

nothing calls this directly

Calls 1

tileidx_commandFunction · 0.85

Tested by

no test coverage detected