added button to class.menu

+ added back(esc) buttons to vote menus
pull/3/head
reaaLx 2022-08-23 07:53:21 +10:00 committed by GitHub
parent 41617eba85
commit f7eff52ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 848 additions and 798 deletions

View File

@ -51,5 +51,7 @@
MENU_CHOICE_BUTTON_VIS(2, "button_3", "@MENU_CHANGE_MAP", open "changemap"; close "changegametype"; close "kickplayer"; close "callvote";, ;, 1) MENU_CHOICE_BUTTON_VIS(2, "button_3", "@MENU_CHANGE_MAP", open "changemap"; close "changegametype"; close "kickplayer"; close "callvote";, ;, 1)
MENU_CHOICE_BUTTON_VIS(3, "button_4", "Change Gametype", open "changegametype"; close "changemap"; close "kickplayer"; close "callvote";, ;, 1) MENU_CHOICE_BUTTON_VIS(3, "button_4", "Change Gametype", open "changegametype"; close "changemap"; close "kickplayer"; close "callvote";, ;, 1)
MENU_CHOICE_BUTTON_VIS(4, "button_5", "@MPUI_KICK_PLAYER", open "kickplayer"; close "changemap"; close "changegametype"; close "callvote";, ;, 1) MENU_CHOICE_BUTTON_VIS(4, "button_5", "@MPUI_KICK_PLAYER", open "kickplayer"; close "changemap"; close "changegametype"; close "callvote";, ;, 1)
ITEM_BUTTON_BACK(close "self")
} }
} }

View File

@ -59,6 +59,8 @@
#include "ui_mp/pc_options.inc" #include "ui_mp/pc_options.inc"
PC_OPTIONS_SECTION_TITLE("Change Gametype") PC_OPTIONS_SECTION_TITLE("Change Gametype")
ITEM_BUTTON_BACK(close "self")
itemDef itemDef
{ {

View File

@ -59,6 +59,8 @@
#include "ui_mp/pc_options.inc" #include "ui_mp/pc_options.inc"
PC_OPTIONS_SECTION_TITLE("@MENU_CHANGE_MAP") PC_OPTIONS_SECTION_TITLE("@MENU_CHANGE_MAP")
ITEM_BUTTON_BACK(close "self")
itemDef itemDef
{ {

File diff suppressed because it is too large Load Diff

View File

@ -60,6 +60,8 @@
PC_OPTIONS_SECTION_TITLE("@MPUI_KICK_PLAYER") PC_OPTIONS_SECTION_TITLE("@MPUI_KICK_PLAYER")
ITEM_BUTTON_BACK(close "self")
itemDef itemDef
{ {
name "maplist" name "maplist"