forked from 0ad/0ad
wraitii
25293ce0cc
Adds -autostart-aidiff to set the difficulty from the command line from testing. This was SVN commit r13278.
50 lines
1.5 KiB
XML
50 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<objects>
|
|
|
|
<script file="gui/aiconfig/aiconfig.js"/>
|
|
|
|
<!-- Add a translucent black background to fade out the menu page -->
|
|
<object type="image" z="0" sprite="BackgroundTranslucent"/>
|
|
|
|
<object type="image" style="StoneDialog" size="50%-200 40%-140 50%+200 40%+180">
|
|
|
|
<object style="TitleText" type="text" size="50%-128 -16 50%+128 16">AI Configuration</object>
|
|
|
|
<object size="50%-128 30 50%+128 80">
|
|
<object type="text" style="RightLabelText" size="-10 0 90 50%">
|
|
AI Player
|
|
</object>
|
|
|
|
<object name="aiSelection" type="dropdown" style="StoneDropDown" size="50%-24 0 50%+136 28">
|
|
<action on="SelectionChange">selectAI(this.selected);</action>
|
|
</object>
|
|
|
|
<object type="text" style="RightLabelText" size="-10 35 90 50%+35">
|
|
AI Difficulty
|
|
</object>
|
|
|
|
<object name="aiDifficulty" type="dropdown" style="StoneDropDown" size="50%-24 35 50%+136 63">
|
|
</object>
|
|
</object>
|
|
|
|
<object size="8% 50%-54 92% 50%+74">
|
|
|
|
<object name="aiDescription" type="text" style="LeftLabelText" size="0 0 100% 100%" text_align="center"/>
|
|
|
|
<!-- TODO: we might want to add things like difficulty controls into here -->
|
|
|
|
</object>
|
|
|
|
<object type="button" style="StoneButton" size="50%-144 100%-60 50%-16 100%-32">
|
|
OK
|
|
<action on="Press">returnAI();</action>
|
|
</object>
|
|
|
|
<object type="button" style="StoneButton" size="50%+16 100%-60 50%+144 100%-32">
|
|
Cancel
|
|
<action on="Press">Engine.PopGuiPage();</action>
|
|
</object>
|
|
</object>
|
|
</objects>
|