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:
@@ -1429,7 +1429,7 @@ winid bannerwin; /* if not WIN_ERR, clear window and show copyright in menu */
|
||||
saved = get_saved_games(); /* array of character names */
|
||||
if (saved && *saved) {
|
||||
tmpwin = create_nhwindow(NHW_MENU);
|
||||
start_menu(tmpwin);
|
||||
start_menu(tmpwin, MENU_BEHAVE_STANDARD);
|
||||
any = cg.zeroany; /* no selection */
|
||||
if (bannerwin != WIN_ERR) {
|
||||
/* for tty; erase copyright notice and redo it in the menu */
|
||||
|
||||
Reference in New Issue
Block a user