diff options
Diffstat (limited to 'assets/ui')
-rw-r--r-- | assets/ui/main.menu | 26 | ||||
-rw-r--r-- | assets/ui/menudef.h | 1 | ||||
-rw-r--r-- | assets/ui/menus.txt | 1 |
3 files changed, 25 insertions, 3 deletions
diff --git a/assets/ui/main.menu b/assets/ui/main.menu index 5c84d87c..b2a241c4 100644 --- a/assets/ui/main.menu +++ b/assets/ui/main.menu @@ -75,12 +75,32 @@ itemDef { name mainmenu + text "News" + type ITEM_TYPE_BUTTON + style WINDOW_STYLE_EMPTY + textstyle ITEM_TEXTSTYLE_NORMAL + textscale .416 + rect X (Y+(1*ELEM_H)) W ELEM_H + textalign ALIGN_RIGHT + backcolor 0 0 0 0 + forecolor 1 1 1 1 + visible MENU_TRUE + action + { + play "sound/misc/menu1.wav"; + open news_menu + } + } + + itemDef + { + name mainmenu text "Options" type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY textstyle ITEM_TEXTSTYLE_NORMAL textscale .416 - rect X (Y+ELEM_H) W ELEM_H + rect X (Y+(2*ELEM_H)) W ELEM_H textalign ALIGN_RIGHT backcolor 0 0 0 0 forecolor 1 1 1 1 @@ -100,7 +120,7 @@ style WINDOW_STYLE_EMPTY textstyle ITEM_TEXTSTYLE_NORMAL textscale .416 - rect X (Y+(2*ELEM_H)) W ELEM_H + rect X (Y+(3*ELEM_H)) W ELEM_H textalign ALIGN_RIGHT backcolor 0 0 0 0 forecolor 1 1 1 1 @@ -119,7 +139,7 @@ type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY textstyle ITEM_TEXTSTYLE_NORMAL - rect X (Y+(3*ELEM_H)) W ELEM_H + rect X (Y+(4*ELEM_H)) W ELEM_H textscale .416 textalign ALIGN_RIGHT forecolor 1 1 1 1 diff --git a/assets/ui/menudef.h b/assets/ui/menudef.h index 41412225..0ec235ab 100644 --- a/assets/ui/menudef.h +++ b/assets/ui/menudef.h @@ -93,6 +93,7 @@ enum FEEDER_HUMANTEAM_LIST, // human team members FEEDER_TEAM_LIST, // team members for team voting FEEDER_PLAYER_LIST, // players + FEEDER_NEWS, // news FEEDER_MODS, // list of available mods FEEDER_DEMOS, // list of available demo files FEEDER_SERVERSTATUS, // server status diff --git a/assets/ui/menus.txt b/assets/ui/menus.txt index 294d9953..e9f51093 100644 --- a/assets/ui/menus.txt +++ b/assets/ui/menus.txt @@ -2,6 +2,7 @@ // { loadMenu { "ui/main.menu" } + loadMenu { "ui/news.menu" } loadMenu { "ui/joinserver.menu" } loadMenu { "ui/options.menu" } loadMenu { "ui/createserver.menu" } |