Extract mod selector into its own mod.

This commit is contained in:
Paul Chote
2014-03-23 17:07:10 +13:00
parent fa775a88c1
commit c720cb0b41
36 changed files with 1507 additions and 279 deletions

View File

@@ -63,17 +63,11 @@ Container@INSTALL_PANEL:
WordWrap:true
Text:OpenRA can download these files (excluding music and videos) from the internet, or you can install from the original C&C CDs.
Font:Bold
Button@QUIT_BUTTON:
Button@BACK_BUTTON:
Y:149
Width:140
Height:35
Text:Quit
Button@MODS_BUTTON:
X:150
Y:149
Width:140
Height:35
Text:Change Mod
Text:Back
Button@DOWNLOAD_BUTTON:
X:350
Y:149

View File

@@ -86,24 +86,24 @@ Container@MENU_BACKGROUND:
Width:140
Height:35
Text:Multiplayer
Button@MODS_BUTTON:
X:300
Y:0
Width:140
Height:35
Text:Mods
Button@SETTINGS_BUTTON:
X:450
X:300
Y:0
Width:140
Height:35
Text:Settings
Button@EXTRAS_BUTTON:
X:600
X:450
Y:0
Width:140
Height:35
Text:Extras
Button@MODS_BUTTON:
X:600
Y:0
Width:140
Height:35
Text:Mods
Button@QUIT_BUTTON:
X:750
Y:0

View File

@@ -1,88 +0,0 @@
Container@MODS_PANEL:
Logic:ModBrowserLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 500)/2
Width:740
Height:535
Children:
Label@TITLE:
Text:Select Mod
Width:740
Y:0-25
Font:BigBold
Contrast:true
Align:Center
Background@bg:
Width:740
Height:500
Background:panel-black
Children:
ScrollPanel@MOD_LIST:
X:15
Y:30
Width:710
Height:455
Children:
ScrollItem@MOD_TEMPLATE:
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Visible:false
Children:
Label@TITLE:
X:10
Width:200
Height:25
Label@AUTHOR:
X:PARENT_RIGHT-300
Align:Center
Width:50
Height:25
Label@VERSION:
Width:140
X:PARENT_RIGHT-150
Align:Center
Height:25
Container@MOD_LABELS:
Width:710-25
Height:25
X:15
Y:5
Children:
Label@TITLE:
Width:125
Height:25
X:0
Y:0
Text:Title
Align:Center
Font:Bold
Label@AUTHOR:
X:PARENT_RIGHT-300
Align:Center
Width:50
Height:25
Text:Author
Font:Bold
Label@VERSION:
Width:140
X:PARENT_RIGHT-150
Align:Center
Height:25
Text:Version
Font:Bold
Button@BACK_BUTTON:
Key:escape
X:0
Y:499
Width:140
Height:35
Text:Back
Button@LOAD_BUTTON:
Key:return
X:600
Y:499
Width:140
Height:35
Text:Load Mod

BIN
mods/cnc/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -1,8 +1,8 @@
Metadata:
Title: Tiberian Dawn
Description: OpenRA Reimagining of the classic game
Description: Join the Global Defense Initiative or the Brotherhood of Nod in our\nrecreation of the classic game that started it all.\n\nTiberian Dawn modernizes the original Command & Conquer gameplay\nby introducing features from later games, including per-factory\nproduction queues, unit veterancy, and capturable tech structures.
Version: {DEV_VERSION}
Author: The OpenRA Developers
Author: the OpenRA Developers
Folders:
.
@@ -90,7 +90,6 @@ ChromeLayout:
mods/cnc/chrome/ingame-chat.yaml
mods/cnc/chrome/ingamemenu.yaml
mods/cnc/chrome/music.yaml
mods/cnc/chrome/modchooser.yaml
mods/cnc/chrome/settings.yaml
mods/cnc/chrome/credits.yaml
mods/cnc/chrome/cheats.yaml

BIN
mods/cnc/preview.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB