Skip to content

Commit 93d95f8

Browse files
committed
Add Extra Buttons
1 parent a5f5d9d commit 93d95f8

4 files changed

Lines changed: 27 additions & 55 deletions

File tree

ClientFiles/Resources/ClientDefinitions.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ MPMapsPath=INI/MPMaps.ini
4949
; -> FSIniPath=Map Editor/FinalAlert.ini
5050
; File name of BattleFS.ini, in the INI/ directory
5151
; It's recommended to just write all campaigns in Battle.ini instead
52-
;
53-
BattleFSFileName=BattleE.ini
52+
BattleFSFileName=
5453
; Comma-separated list of files required to run the game / mod that are not included in the installation.
5554
RequiredFiles=ra2.mix,ra2md.mix,langmd.mix,language.mix,BINKW32.DLL,Blowfish.dll,gamemd.exe,ra2-launcher.exe,ra2md-launcher.exe
5655
; Comma-separated list of files that cannot be present to run the game / mod without problems.

ClientFiles/Resources/MainMenu.ini

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Size=1280,800
66
DrawBorders=false
77

88
[ExtraControls]
9+
0=btnQuickmatch:XNALinkButton
10+
1=btnProfiles:XNALinkButton
911

1012
[btnExtras]
1113
Visible=false
@@ -59,13 +61,23 @@ HoverTexture=MainMenu/button_c.png
5961
HoverSoundEffect=button.wav
6062
FontIndex=1
6163

62-
;[btnLoadGame]; YR Repo currently doesn't support skirmish saved games
63-
;Location=885,341
64-
;Text=Load Game
65-
;IdleTexture=MainMenu/button.png
66-
;HoverTexture=MainMenu/button_c.png
67-
;HoverSoundEffect=button.wav
68-
;FontIndex=1
64+
[btnLoadGame]
65+
Location=885,341
66+
Text=Load Game
67+
IdleTexture=MainMenu/button.png
68+
HoverTexture=MainMenu/button_c.png
69+
HoverSoundEffect=button.wav
70+
FontIndex=1
71+
Visible=false; YR Repo currently doesn't support skirmish saved games
72+
73+
[btnMapEditor]
74+
Location=885,593
75+
Text=Map Editor
76+
IdleTexture=MainMenu/button.png
77+
HoverTexture=MainMenu/button_c.png
78+
HoverSoundEffect=button.wav
79+
FontIndex=1
80+
Visible=false
6981

7082
[btnProfiles]
7183
Location=885,553

ClientFiles/Resources/OptionsWindow.ini

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -86,44 +86,6 @@ BackgroundTexture=optionsbg.png
8686

8787
[CnCNetOptionsPanel]
8888

89-
;[UpdaterOptionsPanel]
90-
;0=lblUpdateChannel:XNALabel
91-
;1=ddUpdateChannel:FileSettingDropDown
92-
;2=lblUpdateChannelDescription:XNALabel
93-
;3=btnCncnetSupport:XNALinkButton
94-
95-
;[lblUpdateChannel]
96-
;Location=12,240
97-
;Size=90,24
98-
;Text=Update Channel:
99-
100-
;[ddUpdateChannel]
101-
;Location=102,238
102-
;Size=97,21
103-
;Items=Live,Beta,Dev
104-
;DefaultValue=0
105-
;CheckFilePresence=yes
106-
;ResetUnselectableItem=yes
107-
;ForceApplyUnselectableItem=no
108-
;RestartRequired=true
109-
;Item0File0=Resources/Config/UpdaterConfig_Live.ini,updateconfig.ini,OverwriteOnMismatch
110-
;Item1File0=Resources/Config/UpdaterConfig_Beta.ini,updateconfig.ini,OverwriteOnMismatch
111-
;Item2File0=Resources/Config/UpdaterConfig_Dev.ini,updateconfig.ini,OverwriteOnMismatch
112-
;ToolTip=Switch between update Channels. Requires client restart.
113-
;Enabled=true
114-
115-
;[lblUpdateChannelDescription]
116-
;Location=12,264
117-
;Text=**WARNING**: Using the Beta channel may bring unexpected errors or behavior.@It is meant to allow public testing of upcoming features before they are released. Please use@Discord to report any issues and be sure to mention the Update Channel you are using.
118-
119-
[btnCncnetSupport]
120-
Location=12,315
121-
Size=133,21
122-
Text=CnCNet Support
123-
URL=https://discord.com/channels/188156159620939776/1060560955186085888
124-
IdleTexture=133pxbtn.png
125-
HoverTexture=133pxbtn_c.png
126-
12789
[ComponentsPanel]
12890

12991
[ddClientResolution]
@@ -184,8 +146,3 @@ Location=200,161
184146

185147
[gameListPanel]
186148
Location=0,200
187-
188-
[btnForceUpdate]
189-
Location=407,213
190-
Size=133,23
191-

ClientFiles/Resources/UpdaterConfig.ini

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ IgnoreMasks=gui_settings.xml
99
; Location is optional.
1010

1111
[DownloadMirrors]
12-
0=https://downloads.cncnet.org/updates/games/yr/live/, CnCNet Live
13-
1=https://downloads.cncnet.org/updates/games/yr/dev/, CnCNet Dev
14-
2=https://downloads.cncnet.org/updates/games/yr/beta/, CnCNet Beta
12+
0=https://downloads.cncnet.org/updates/games/yr/live/,CnCNet Live,Europe
13+
1=https://downloads.cncnet.org/updates/games/yr/dev/,CnCNet Dev,Europe
14+
2=https://downloads.cncnet.org/updates/games/yr/beta/,CnCNet Beta,Europe
15+
16+
[btnForceUpdate]
17+
Location=407,213
18+
Size=133,23
1519

1620
; List of custom components.
1721
; Format: UI Name, Version File ID, Download File Path, Local File Path, [Disable archive extension for download path (true/false)?]

0 commit comments

Comments
 (0)