| 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; |
nothing calls this directly
no test coverage detected