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:
@@ -3259,7 +3259,7 @@ struct obj *obj;
|
||||
|
||||
any = cg.zeroany; /* set all bits to zero */
|
||||
any.a_int = 1; /* use index+1 (cant use 0) as identifier */
|
||||
start_menu(tmpwin);
|
||||
start_menu(tmpwin, MENU_BEHAVE_STANDARD);
|
||||
any.a_int++;
|
||||
Sprintf(buf, "an object on the %s", surface(cc.x, cc.y));
|
||||
add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, buf,
|
||||
|
||||
Reference in New Issue
Block a user