Option to use a menu to answer yes/no prompts
Add a new boolean option 'query_menu'. If on, game will pop up a menu for specific yes/no questions, instead of using an input prompt.
This commit is contained in:
@@ -231,6 +231,7 @@ struct accessibility_data {
|
||||
* and probably warrant a structure of their own elsewhere some day.
|
||||
*/
|
||||
struct instance_flags {
|
||||
boolean query_menu; /* use a menu for yes/no queries */
|
||||
boolean showdamage;
|
||||
boolean debug_fuzzer; /* fuzz testing */
|
||||
boolean defer_plname; /* X11 hack: askname() might not set gp.plname */
|
||||
|
||||
@@ -581,6 +581,9 @@ static int optfn_##a(int, int, boolean, char *, char *);
|
||||
NHOPTB(pushweapon, Behavior, 0, opt_in, set_in_game,
|
||||
Off, Yes, No, No, NoAlias, &flags.pushweapon, Term_False,
|
||||
"previous weapon goes to secondary slot")
|
||||
NHOPTB(query_menu, Advanced, 0, opt_in, set_in_game,
|
||||
Off, Yes, No, No, NoAlias, &iflags.query_menu, Term_False,
|
||||
"use a menu for yes/no queries")
|
||||
NHOPTB(quick_farsight, Advanced, 0, opt_in, set_in_game,
|
||||
Off, Yes, No, No, NoAlias, &flags.quick_farsight, Term_False,
|
||||
"skip map browse when forced to looked at map")
|
||||
|
||||
Reference in New Issue
Block a user