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:
Pasi Kallinen
2024-03-22 19:19:52 +02:00
parent cbae237d62
commit 9a870b5f06
6 changed files with 85 additions and 1 deletions

View File

@@ -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 */