window port interface change - add mbehavior flags to start_menu()
Provide a way to communicate additional behaviors and/or appearances desired from NetHack window port menus. This is foundation work for changes to follow at a future date.
This commit is contained in:
@@ -520,7 +520,7 @@ doclassdisco()
|
||||
|| flags.menu_style == MENU_COMBINATION);
|
||||
if (!traditional) {
|
||||
tmpwin = create_nhwindow(NHW_MENU);
|
||||
start_menu(tmpwin);
|
||||
start_menu(tmpwin, MENU_BEHAVE_STANDARD);
|
||||
}
|
||||
any = cg.zeroany;
|
||||
menulet = 'a';
|
||||
@@ -680,7 +680,7 @@ rename_disco()
|
||||
|
||||
any = cg.zeroany;
|
||||
tmpwin = create_nhwindow(NHW_MENU);
|
||||
start_menu(tmpwin);
|
||||
start_menu(tmpwin, MENU_BEHAVE_STANDARD);
|
||||
|
||||
/*
|
||||
* Skip the "unique objects" section (each will appear within its
|
||||
|
||||
Reference in New Issue
Block a user