Add an update warning to the main menu.

This commit is contained in:
Paul Chote
2017-12-28 18:23:57 +00:00
committed by abcdefg30
parent 3effa5cec4
commit 5c53172ab0
4 changed files with 71 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ Container@MAINMENU:
Height: 25
Align: Center
Font: Regular
Contrast: True
Shadow: true
Container@MENUS:
X: 13 + (WINDOW_RIGHT - 522) / 4 - WIDTH / 2
Y: WINDOW_BOTTOM / 2 - HEIGHT / 2
@@ -302,3 +302,21 @@ Container@MAINMENU:
Height: 25
Text: Battlefield News
Font: Bold
Container@UPDATE_NOTICE:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: 95
Width: 128
Children:
Label@A:
Width: PARENT_RIGHT
Height: 25
Align: Center
Shadow: true
Text: You are running an outdated version of OpenRA.
Label@B:
Y: 20
Width: PARENT_RIGHT
Height: 25
Align: Center
Shadow: true
Text: Download the latest version from www.openra.net