Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/pregame/mainmenu.xml
Show First 20 Lines • Show All 221 Lines • ▼ Show 20 Lines | > | ||||
tooltip_style="pgToolTip" | tooltip_style="pgToolTip" | ||||
hidden="true" | hidden="true" | ||||
> | > | ||||
<object | <object | ||||
type="button" | type="button" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 0 100% 28" | size="0 0 100% 28" | ||||
tooltip_style="pgToolTip" | tooltip_style="pgToolTip" | ||||
hotkey="joingame" | |||||
> | > | ||||
<translatableAttribute id="caption" comment="Join a game by specifying the host's IP address.">Join Game</translatableAttribute> | <translatableAttribute id="caption" comment="Join a game by specifying the host's IP address.">Join Game</translatableAttribute> | ||||
<translatableAttribute id="tooltip">Joining an existing multiplayer game.</translatableAttribute> | <translatableAttribute id="tooltip">Joining an existing multiplayer game.</translatableAttribute> | ||||
<action on="Press"> | <action on="Press"> | ||||
closeMenu(); | closeMenu(); | ||||
Engine.PushGuiPage("page_gamesetup_mp.xml", { "multiplayerGameType": "join" }); | Engine.PushGuiPage("page_gamesetup_mp.xml", { "multiplayerGameType": "join" }); | ||||
</action> | </action> | ||||
</object> | </object> | ||||
<object | <object | ||||
type="button" | type="button" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 32 100% 60" | size="0 32 100% 60" | ||||
tooltip_style="pgToolTip" | tooltip_style="pgToolTip" | ||||
hotkey="hostgame" | |||||
> | > | ||||
<translatableAttribute id="caption">Host Game</translatableAttribute> | <translatableAttribute id="caption">Host Game</translatableAttribute> | ||||
<translatableAttribute id="tooltip">Host a multiplayer game.\n\nRequires UDP port 20595 to be open.</translatableAttribute> | <translatableAttribute id="tooltip">Host a multiplayer game.\n\nRequires UDP port 20595 to be open.</translatableAttribute> | ||||
<action on="Press"> | <action on="Press"> | ||||
closeMenu(); | closeMenu(); | ||||
Engine.PushGuiPage("page_gamesetup_mp.xml", { multiplayerGameType: "host" }); | Engine.PushGuiPage("page_gamesetup_mp.xml", { multiplayerGameType: "host" }); | ||||
</action> | </action> | ||||
</object> | </object> | ||||
▲ Show 20 Lines • Show All 373 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator