1. Useful hidden commands that belong in the action menu:
2. Allow menus to show commands for roguelike keyset. (Needs a mutable column that gets updated whenever the corresponding keybinding gets set or cleared.)
Code:
/* I use this often, for trap-doors in ordinary play, and gas traps in ironman */ { "Jump into a trap", '-', CMD_NULL, textui_cmd_jump }, /* used in roguelike keyset */ { "Stand still", ',', CMD_HOLD, NULL }, /* And possibly alter, which is more general than disarm/open/tunnel */ { "Alter a grid", '+', CMD_NULL, textui_cmd_alter },
Comment