2010-06-30 23:41:04 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<objects>
|
|
|
|
|
2010-07-02 23:28:48 +02:00
|
|
|
<script file="gui/common/functions_global_object.js"/>
|
2010-06-30 23:41:04 +02:00
|
|
|
<script file="gui/gamesetup/gamesetup.js"/>
|
|
|
|
|
|
|
|
<!-- Add a translucent black background to fade out the menu page -->
|
|
|
|
<object type="image" z="0" sprite="bkTranslucent"/>
|
|
|
|
|
|
|
|
<object type="image" style="wheatWindow" size="50%-400 50%-300 50%+400 50%+300">
|
|
|
|
|
|
|
|
<action on="Tick">
|
|
|
|
onTick();
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<object style="wheatWindowTitleBar" type="text">Match setup</object>
|
|
|
|
|
|
|
|
<object type="button" style="wheatExit" tooltip_style="snToolTip">
|
|
|
|
<action on="Press"><![CDATA[
|
2010-07-02 23:28:48 +02:00
|
|
|
cancelSetup();
|
2010-06-30 23:41:04 +02:00
|
|
|
Engine.PopGuiPage();
|
|
|
|
]]></action>
|
|
|
|
</object>
|
|
|
|
|
2010-07-02 23:28:48 +02:00
|
|
|
<!-- Map selection -->
|
|
|
|
|
2010-06-30 23:41:04 +02:00
|
|
|
<object size="0 0 250 100%">
|
|
|
|
|
|
|
|
<object name="mapSelection"
|
|
|
|
style="wheatList"
|
|
|
|
type="list"
|
|
|
|
size="0 0 100% 100%-200"
|
|
|
|
tooltip_style="onscreenToolTip"
|
|
|
|
tooltip="Select a map to play on.">
|
|
|
|
<action on="Load">initMapNameList(this);</action>
|
|
|
|
<action on="SelectionChange">selectMap(this.list[this.selected]);</action>
|
|
|
|
</object>
|
|
|
|
|
|
|
|
<object type="image" style="indentedPanel" size="0 100%-190 100% 100%">
|
|
|
|
<object name="mapInfoName" type="text" size="0 0 100% 30" font="serif-bold-18">[Map name]</object>
|
|
|
|
<object name="mapInfoDescription" type="text" size="0 24 100% 100%" font="serif-13">[Description]</object>
|
|
|
|
</object>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
|
2010-07-02 23:28:48 +02:00
|
|
|
<!-- Player assignments -->
|
|
|
|
|
2010-06-30 23:41:04 +02:00
|
|
|
<object size="260 0 100% 100%-200" type="image" sprite="wheatIndentFillLight">
|
|
|
|
<repeat count="8">
|
|
|
|
<object name="playerBox[n]" size="0 0 100% 30">
|
|
|
|
<object name="playerName[n]" type="text" text_align="right" size="0 6 150 100%">[Player name]</object>
|
|
|
|
<object name="playerAssignment[n]" type="dropdown" style="wheatDropDown" size="150 2 300 100%"/>
|
|
|
|
</object>
|
|
|
|
</repeat>
|
|
|
|
</object>
|
|
|
|
|
2010-07-02 23:28:48 +02:00
|
|
|
<!-- Chat window -->
|
|
|
|
|
|
|
|
<object name="chatPanel" size="260 100%-190 100% 100%-45" type="image" sprite="wheatIndentFillLight">
|
|
|
|
|
|
|
|
<object name="chatText" size="3 1 100%-1 100%-25" type="text" style="chatPanel"/>
|
|
|
|
|
|
|
|
<object name="chatInput" size="2 100%-23 100%-66 100%-3" type="input" style="wheatInput">
|
|
|
|
<action on="Press">submitChatInput();</action>
|
|
|
|
</object>
|
|
|
|
|
|
|
|
<object size="100%-65 100%-25 100%-1 100%" type="button" style="wheatButton">
|
|
|
|
Send
|
|
|
|
<action on="Press">submitChatInput();</action>
|
|
|
|
</object>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
<!-- Other things -->
|
|
|
|
|
2010-06-30 23:41:04 +02:00
|
|
|
<object name="onscreenToolTip"
|
|
|
|
type="text"
|
|
|
|
font="serif-14"
|
|
|
|
textcolor="white"
|
|
|
|
sprite="bkTranslucent"
|
|
|
|
hidden="true"
|
2010-07-02 23:28:48 +02:00
|
|
|
size="260 100%-40 100%-150 100%"
|
2010-06-30 23:41:04 +02:00
|
|
|
>[Tooltip text]</object>
|
|
|
|
|
|
|
|
<object
|
|
|
|
type="button"
|
|
|
|
style="wheatButton"
|
|
|
|
font="serif-16"
|
|
|
|
size="100%-140 100%-40 100%+3 100%+3"
|
|
|
|
tooltip_style="onscreenToolTip"
|
|
|
|
tooltip="Click this button to start a new game with the current settings."
|
|
|
|
>Start game!
|
|
|
|
<action on="Press">launchGame();</action>
|
|
|
|
</object>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
</objects>
|