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

@@ -41,19 +41,12 @@ Background@INSTALL_PANEL:
Height:25
Text:Use CD
Font:Bold
Button@MODS_BUTTON:
X:PARENT_RIGHT - 250
Y:PARENT_BOTTOM - 45
Width:110
Height:25
Text:Change Mod
Font:Bold
Button@QUIT_BUTTON:
Button@BACK_BUTTON:
X:PARENT_RIGHT - 130
Y:PARENT_BOTTOM - 45
Width:110
Height:25
Text:Quit
Text:Back
Font:Bold
Background@INSTALL_DOWNLOAD_PANEL:

View File

@@ -52,27 +52,27 @@ Container@MAINMENU:
Height:30
Text:Multiplayer
Font:Bold
Button@MODS_BUTTON:
X:PARENT_RIGHT/2-WIDTH/2
Y:140
Width:140
Height:30
Text:Mods
Font:Bold
Button@SETTINGS_BUTTON:
X:PARENT_RIGHT/2-WIDTH/2
Y:180
Y:140
Width:140
Height:30
Text:Settings
Font:Bold
Button@EXTRAS_BUTTON:
X:PARENT_RIGHT/2-WIDTH/2
Y:220
Y:180
Width:140
Height:30
Text:Extras
Font:Bold
Button@MODS_BUTTON:
X:PARENT_RIGHT/2-WIDTH/2
Y:220
Width:140
Height:30
Text:Mods
Font:Bold
Button@QUIT_BUTTON:
X:PARENT_RIGHT/2-WIDTH/2
Y:260

View File

@@ -1,85 +0,0 @@
Background@MODS_PANEL:
Logic:ModBrowserLogic
Width:740
Height:500
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Children:
Label@TITLE:
Text:Select Mod
Y:20
Width:PARENT_RIGHT
Height:25
Font:Bold
Align:Center
ScrollPanel@MOD_LIST:
X:20
Y:70
Width:700
Height:PARENT_BOTTOM - 125
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:45
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:PARENT_RIGHT-180
Y:PARENT_BOTTOM-45
Width:160
Height:25
Font:Bold
Text:Cancel
Button@LOAD_BUTTON:
Key:return
X:PARENT_RIGHT-360
Y:PARENT_BOTTOM-45
Width:160
Height:25
Font:Bold
Text:Load Mod

BIN
mods/ra/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@@ -1,8 +1,8 @@
Metadata:
Title: Red Alert
Description: OpenRA Reimagining of the classic game
Description: In a world where Hitler was assassinated and the Third Reich never\nexisted, the Soviet Union seeks power over all of Europe. Allied\nagainst this Evil Empire, the free world faces a Cold War turned hot.\n\nRed Alert fuses the quick and fun gameplay of the original\nC&C: Red Alert, with balance improvements and new gameplay\nfeatures inspired by modern RTS games.
Version: {DEV_VERSION}
Author: The OpenRA Developers
Author: the OpenRA Developers
Folders:
.
@@ -94,7 +94,6 @@ ChromeLayout:
mods/ra/chrome/directconnect.yaml
mods/ra/chrome/replaybrowser.yaml
mods/ra/chrome/dropdowns.yaml
mods/ra/chrome/modchooser.yaml
mods/ra/chrome/cheats.yaml
mods/ra/chrome/musicplayer.yaml
mods/ra/chrome/tooltips.yaml

BIN
mods/ra/preview.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB