More GUI stuff, primarily to start implementing entity lists.
This was SVN commit r1451.
This commit is contained in:
parent
944397c4cf
commit
0d270c968c
@ -167,6 +167,7 @@ hotkey.alwayson.toggle = "Shift+X" ; Toggle always ons (Exit Button, End Game
|
||||
hotkey.onlinehelp = "F1" ; Enable/disable online manual entry for current selection.
|
||||
hotkey.endgame = "Alt+X" ; End current game session and return to main menu.
|
||||
hotkey.next.song = "M" ; Start another music track.
|
||||
hotkey.audio.toggle = "Ctrl+A" ; Enable/disable sound.
|
||||
|
||||
; UNMAPPED KEY/MOUSE REFERENCE:
|
||||
|
||||
|
@ -15,7 +15,11 @@
|
||||
</Traits>
|
||||
<Actions>
|
||||
<Create
|
||||
unitlist="hele_fem_b1;hele_isp_u1"
|
||||
list=""
|
||||
list.unit="hele_fem_b1;hele_isp_u1"
|
||||
list.structciv="hele_cc;hele_fc;hele_ho1;hele_ho2;hele_ho3;hele_rc;hele_tc;hele_hc"
|
||||
list.structmil="hele_mc;hele_pc;hele_ff;hele_tf;hele_wc;hele_wg;hele_wt"
|
||||
list.tech="tech1;tech2"
|
||||
/>
|
||||
</Actions>
|
||||
<Actor>Hellenes Civilisation Centre</Actor>
|
||||
|
@ -726,54 +726,108 @@
|
||||
crd_status_orb_command_1_x, crd_status_orb_command_1_y, crd_status_orb_command_1_x+crd_status_orb_command_1_width, crd_status_orb_command_1_y+crd_status_orb_command_1_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_x, -crd_status_orb_command_1_y-crd_status_orb_command_1_height, crd_status_orb_command_1_x+crd_status_orb_command_1_width, -crd_status_orb_command_1_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_1" style="portrait" textcolor="255 255 255" z="70" hidden="false">1
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_1_x, crd_status_orb_command_1_1_y, crd_status_orb_command_1_1_x+crd_status_orb_command_1_1_width, crd_status_orb_command_1_1_y+crd_status_orb_command_1_1_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_1_x, -crd_status_orb_command_1_1_y-crd_status_orb_command_1_1_height, crd_status_orb_command_1_1_x+crd_status_orb_command_1_1_width, -crd_status_orb_command_1_1_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
<action on="Press"><![CDATA[
|
||||
GUIObjectToggle("session_panel_status_command_pri_1_group");
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_2" style="portrait" textcolor="255 255 255" z="70" hidden="false">2
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_2_x, crd_status_orb_command_1_2_y, crd_status_orb_command_1_2_x+crd_status_orb_command_1_2_width, crd_status_orb_command_1_2_y+crd_status_orb_command_1_2_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_2_x, -crd_status_orb_command_1_2_y-crd_status_orb_command_1_2_height, crd_status_orb_command_1_2_x+crd_status_orb_command_1_2_width, -crd_status_orb_command_1_2_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
<object type="empty" name="session_panel_status_command_pri_1_group" size="0 0 100% 100%" z="1" hidden="false">
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_3" style="portrait" textcolor="255 255 255" z="70" hidden="false">3
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_3_x, crd_status_orb_command_1_3_y, crd_status_orb_command_1_3_x+crd_status_orb_command_1_3_width, crd_status_orb_command_1_3_y+crd_status_orb_command_1_3_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_3_x, -crd_status_orb_command_1_3_y-crd_status_orb_command_1_3_height, crd_status_orb_command_1_3_x+crd_status_orb_command_1_3_width, -crd_status_orb_command_1_3_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
<object type="button" name="session_panel_status_command_pri_1_1" style="portrait" textcolor="255 255 255" z="70" hidden="false">1
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_1_x, crd_status_orb_command_1_1_y, crd_status_orb_command_1_1_x+crd_status_orb_command_1_1_width, crd_status_orb_command_1_1_y+crd_status_orb_command_1_1_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_1_x, -crd_status_orb_command_1_1_y-crd_status_orb_command_1_1_height, crd_status_orb_command_1_1_x+crd_status_orb_command_1_1_width, -crd_status_orb_command_1_1_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_4" style="portrait" textcolor="255 255 255" z="70" hidden="false">4
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_4_x, crd_status_orb_command_1_4_y, crd_status_orb_command_1_4_x+crd_status_orb_command_1_4_width, crd_status_orb_command_1_4_y+crd_status_orb_command_1_4_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_4_x, -crd_status_orb_command_1_4_y-crd_status_orb_command_1_4_height, crd_status_orb_command_1_4_x+crd_status_orb_command_1_4_width, -crd_status_orb_command_1_4_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
<object type="button" name="session_panel_status_command_pri_1_2" style="portrait" textcolor="255 255 255" z="70" hidden="false">2
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_2_x, crd_status_orb_command_1_2_y, crd_status_orb_command_1_2_x+crd_status_orb_command_1_2_width, crd_status_orb_command_1_2_y+crd_status_orb_command_1_2_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_2_x, -crd_status_orb_command_1_2_y-crd_status_orb_command_1_2_height, crd_status_orb_command_1_2_x+crd_status_orb_command_1_2_width, -crd_status_orb_command_1_2_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_5" style="portrait" textcolor="255 255 255" z="70" hidden="false">5
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_5_x, crd_status_orb_command_1_5_y, crd_status_orb_command_1_5_x+crd_status_orb_command_1_5_width, crd_status_orb_command_1_5_y+crd_status_orb_command_1_5_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_5_x, -crd_status_orb_command_1_5_y-crd_status_orb_command_1_5_height, crd_status_orb_command_1_5_x+crd_status_orb_command_1_5_width, -crd_status_orb_command_1_5_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
<object type="button" name="session_panel_status_command_pri_1_3" style="portrait" textcolor="255 255 255" z="70" hidden="false">3
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_3_x, crd_status_orb_command_1_3_y, crd_status_orb_command_1_3_x+crd_status_orb_command_1_3_width, crd_status_orb_command_1_3_y+crd_status_orb_command_1_3_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_3_x, -crd_status_orb_command_1_3_y-crd_status_orb_command_1_3_height, crd_status_orb_command_1_3_x+crd_status_orb_command_1_3_width, -crd_status_orb_command_1_3_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_6" style="portrait" textcolor="255 255 255" z="70" hidden="false">6
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_6_x, crd_status_orb_command_1_6_y, crd_status_orb_command_1_6_x+crd_status_orb_command_1_6_width, crd_status_orb_command_1_6_y+crd_status_orb_command_1_6_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_6_x, -crd_status_orb_command_1_6_y-crd_status_orb_command_1_6_height, crd_status_orb_command_1_6_x+crd_status_orb_command_1_6_width, -crd_status_orb_command_1_6_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
<object type="button" name="session_panel_status_command_pri_1_4" style="portrait" textcolor="255 255 255" z="70" hidden="false">4
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_4_x, crd_status_orb_command_1_4_y, crd_status_orb_command_1_4_x+crd_status_orb_command_1_4_width, crd_status_orb_command_1_4_y+crd_status_orb_command_1_4_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_4_x, -crd_status_orb_command_1_4_y-crd_status_orb_command_1_4_height, crd_status_orb_command_1_4_x+crd_status_orb_command_1_4_width, -crd_status_orb_command_1_4_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_5" style="portrait" textcolor="255 255 255" z="70" hidden="false">5
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_5_x, crd_status_orb_command_1_5_y, crd_status_orb_command_1_5_x+crd_status_orb_command_1_5_width, crd_status_orb_command_1_5_y+crd_status_orb_command_1_5_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_5_x, -crd_status_orb_command_1_5_y-crd_status_orb_command_1_5_height, crd_status_orb_command_1_5_x+crd_status_orb_command_1_5_width, -crd_status_orb_command_1_5_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_6" style="portrait" textcolor="255 255 255" z="70" hidden="false">6
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_6_x, crd_status_orb_command_1_6_y, crd_status_orb_command_1_6_x+crd_status_orb_command_1_6_width, crd_status_orb_command_1_6_y+crd_status_orb_command_1_6_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_6_x, -crd_status_orb_command_1_6_y-crd_status_orb_command_1_6_height, crd_status_orb_command_1_6_x+crd_status_orb_command_1_6_width, -crd_status_orb_command_1_6_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_7" style="portrait" textcolor="255 255 255" z="70" hidden="false">7
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_7_x, crd_status_orb_command_1_7_y, crd_status_orb_command_1_7_x+crd_status_orb_command_1_7_width, crd_status_orb_command_1_7_y+crd_status_orb_command_1_7_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_7_x, -crd_status_orb_command_1_7_y-crd_status_orb_command_1_7_height, crd_status_orb_command_1_7_x+crd_status_orb_command_1_7_width, -crd_status_orb_command_1_7_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_8" style="portrait" textcolor="255 255 255" z="70" hidden="false">8
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_8_x, crd_status_orb_command_1_8_y, crd_status_orb_command_1_8_x+crd_status_orb_command_1_8_width, crd_status_orb_command_1_8_y+crd_status_orb_command_1_8_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_8_x, -crd_status_orb_command_1_8_y-crd_status_orb_command_1_8_height, crd_status_orb_command_1_8_x+crd_status_orb_command_1_8_width, -crd_status_orb_command_1_8_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_9" style="portrait" textcolor="255 255 255" z="70" hidden="false">9
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_9_x, crd_status_orb_command_1_9_y, crd_status_orb_command_1_9_x+crd_status_orb_command_1_9_width, crd_status_orb_command_1_9_y+crd_status_orb_command_1_9_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_9_x, -crd_status_orb_command_1_9_y-crd_status_orb_command_1_9_height, crd_status_orb_command_1_9_x+crd_status_orb_command_1_9_width, -crd_status_orb_command_1_9_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_10" style="portrait" textcolor="255 255 255" z="70" hidden="false">10
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_10_x, crd_status_orb_command_1_10_y, crd_status_orb_command_1_10_x+crd_status_orb_command_1_10_width, crd_status_orb_command_1_10_y+crd_status_orb_command_1_10_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_10_x, -crd_status_orb_command_1_10_y-crd_status_orb_command_1_10_height, crd_status_orb_command_1_10_x+crd_status_orb_command_1_10_width, -crd_status_orb_command_1_10_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_11" style="portrait" textcolor="255 255 255" z="70" hidden="false">11
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_11_x, crd_status_orb_command_1_11_y, crd_status_orb_command_1_11_x+crd_status_orb_command_1_11_width, crd_status_orb_command_1_11_y+crd_status_orb_command_1_11_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_11_x, -crd_status_orb_command_1_11_y-crd_status_orb_command_1_11_height, crd_status_orb_command_1_11_x+crd_status_orb_command_1_11_width, -crd_status_orb_command_1_11_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_1_12" style="portrait" textcolor="255 255 255" z="70" hidden="false">12
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_1_12_x, crd_status_orb_command_1_12_y, crd_status_orb_command_1_12_x+crd_status_orb_command_1_12_width, crd_status_orb_command_1_12_y+crd_status_orb_command_1_12_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_1_12_x, -crd_status_orb_command_1_12_y-crd_status_orb_command_1_12_height, crd_status_orb_command_1_12_x+crd_status_orb_command_1_12_width, -crd_status_orb_command_1_12_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2" style="portrait" textcolor="255 255 255" z="70" hidden="false">2
|
||||
@ -782,6 +836,108 @@
|
||||
crd_status_orb_command_2_x, crd_status_orb_command_2_y, crd_status_orb_command_2_x+crd_status_orb_command_2_width, crd_status_orb_command_2_y+crd_status_orb_command_2_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_x, -crd_status_orb_command_2_y-crd_status_orb_command_2_height, crd_status_orb_command_2_x+crd_status_orb_command_2_width, -crd_status_orb_command_2_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
<action on="Press"><![CDATA[
|
||||
GUIObjectToggle("session_panel_status_command_pri_2_group");
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="empty" name="session_panel_status_command_pri_2_group" size="0 0 100% 100%" z="1" hidden="false">
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_1" style="portrait" textcolor="255 255 255" z="70" hidden="false">1
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_1_x, crd_status_orb_command_2_1_y, crd_status_orb_command_2_1_x+crd_status_orb_command_2_1_width, crd_status_orb_command_2_1_y+crd_status_orb_command_2_1_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_1_x, -crd_status_orb_command_2_1_y-crd_status_orb_command_2_1_height, crd_status_orb_command_2_1_x+crd_status_orb_command_2_1_width, -crd_status_orb_command_2_1_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_2" style="portrait" textcolor="255 255 255" z="70" hidden="false">2
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_2_x, crd_status_orb_command_2_2_y, crd_status_orb_command_2_2_x+crd_status_orb_command_2_2_width, crd_status_orb_command_2_2_y+crd_status_orb_command_2_2_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_2_x, -crd_status_orb_command_2_2_y-crd_status_orb_command_2_2_height, crd_status_orb_command_2_2_x+crd_status_orb_command_2_2_width, -crd_status_orb_command_2_2_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_3" style="portrait" textcolor="255 255 255" z="70" hidden="false">3
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_3_x, crd_status_orb_command_2_3_y, crd_status_orb_command_2_3_x+crd_status_orb_command_2_3_width, crd_status_orb_command_2_3_y+crd_status_orb_command_2_3_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_3_x, -crd_status_orb_command_2_3_y-crd_status_orb_command_2_3_height, crd_status_orb_command_2_3_x+crd_status_orb_command_2_3_width, -crd_status_orb_command_2_3_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_4" style="portrait" textcolor="255 255 255" z="70" hidden="false">4
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_4_x, crd_status_orb_command_2_4_y, crd_status_orb_command_2_4_x+crd_status_orb_command_2_4_width, crd_status_orb_command_2_4_y+crd_status_orb_command_2_4_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_4_x, -crd_status_orb_command_2_4_y-crd_status_orb_command_2_4_height, crd_status_orb_command_2_4_x+crd_status_orb_command_2_4_width, -crd_status_orb_command_2_4_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_5" style="portrait" textcolor="255 255 255" z="70" hidden="false">5
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_5_x, crd_status_orb_command_2_5_y, crd_status_orb_command_2_5_x+crd_status_orb_command_2_5_width, crd_status_orb_command_2_5_y+crd_status_orb_command_2_5_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_5_x, -crd_status_orb_command_2_5_y-crd_status_orb_command_2_5_height, crd_status_orb_command_2_5_x+crd_status_orb_command_2_5_width, -crd_status_orb_command_2_5_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_6" style="portrait" textcolor="255 255 255" z="70" hidden="false">6
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_6_x, crd_status_orb_command_2_6_y, crd_status_orb_command_2_6_x+crd_status_orb_command_2_6_width, crd_status_orb_command_2_6_y+crd_status_orb_command_2_6_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_6_x, -crd_status_orb_command_2_6_y-crd_status_orb_command_2_6_height, crd_status_orb_command_2_6_x+crd_status_orb_command_2_6_width, -crd_status_orb_command_2_6_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_7" style="portrait" textcolor="255 255 255" z="70" hidden="false">7
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_7_x, crd_status_orb_command_2_7_y, crd_status_orb_command_2_7_x+crd_status_orb_command_2_7_width, crd_status_orb_command_2_7_y+crd_status_orb_command_2_7_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_7_x, -crd_status_orb_command_2_7_y-crd_status_orb_command_2_7_height, crd_status_orb_command_2_7_x+crd_status_orb_command_2_7_width, -crd_status_orb_command_2_7_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_8" style="portrait" textcolor="255 255 255" z="70" hidden="false">8
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_8_x, crd_status_orb_command_2_8_y, crd_status_orb_command_2_8_x+crd_status_orb_command_2_8_width, crd_status_orb_command_2_8_y+crd_status_orb_command_2_8_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_8_x, -crd_status_orb_command_2_8_y-crd_status_orb_command_2_8_height, crd_status_orb_command_2_8_x+crd_status_orb_command_2_8_width, -crd_status_orb_command_2_8_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_9" style="portrait" textcolor="255 255 255" z="70" hidden="false">9
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_9_x, crd_status_orb_command_2_9_y, crd_status_orb_command_2_9_x+crd_status_orb_command_2_9_width, crd_status_orb_command_2_9_y+crd_status_orb_command_2_9_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_9_x, -crd_status_orb_command_2_9_y-crd_status_orb_command_2_9_height, crd_status_orb_command_2_9_x+crd_status_orb_command_2_9_width, -crd_status_orb_command_2_9_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_10" style="portrait" textcolor="255 255 255" z="70" hidden="false">10
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_10_x, crd_status_orb_command_2_10_y, crd_status_orb_command_2_10_x+crd_status_orb_command_2_10_width, crd_status_orb_command_2_10_y+crd_status_orb_command_2_10_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_10_x, -crd_status_orb_command_2_10_y-crd_status_orb_command_2_10_height, crd_status_orb_command_2_10_x+crd_status_orb_command_2_10_width, -crd_status_orb_command_2_10_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_11" style="portrait" textcolor="255 255 255" z="70" hidden="false">11
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_11_x, crd_status_orb_command_2_11_y, crd_status_orb_command_2_11_x+crd_status_orb_command_2_11_width, crd_status_orb_command_2_11_y+crd_status_orb_command_2_11_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_11_x, -crd_status_orb_command_2_11_y-crd_status_orb_command_2_11_height, crd_status_orb_command_2_11_x+crd_status_orb_command_2_11_width, -crd_status_orb_command_2_11_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_2_12" style="portrait" textcolor="255 255 255" z="70" hidden="false">12
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_2_12_x, crd_status_orb_command_2_12_y, crd_status_orb_command_2_12_x+crd_status_orb_command_2_12_width, crd_status_orb_command_2_12_y+crd_status_orb_command_2_12_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_2_12_x, -crd_status_orb_command_2_12_y-crd_status_orb_command_2_12_height, crd_status_orb_command_2_12_x+crd_status_orb_command_2_12_width, -crd_status_orb_command_2_12_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3" style="portrait" textcolor="255 255 255" z="70" hidden="false">3
|
||||
@ -790,6 +946,108 @@
|
||||
crd_status_orb_command_3_x, crd_status_orb_command_3_y, crd_status_orb_command_3_x+crd_status_orb_command_3_width, crd_status_orb_command_3_y+crd_status_orb_command_3_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_x, -crd_status_orb_command_3_y-crd_status_orb_command_3_height, crd_status_orb_command_3_x+crd_status_orb_command_3_width, -crd_status_orb_command_3_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
<action on="Press"><![CDATA[
|
||||
GUIObjectToggle("session_panel_status_command_pri_3_group");
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="empty" name="session_panel_status_command_pri_3_group" size="0 0 100% 100%" z="1" hidden="false">
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_1" style="portrait" textcolor="255 255 255" z="70" hidden="false">1
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_1_x, crd_status_orb_command_3_1_y, crd_status_orb_command_3_1_x+crd_status_orb_command_3_1_width, crd_status_orb_command_3_1_y+crd_status_orb_command_3_1_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_1_x, -crd_status_orb_command_3_1_y-crd_status_orb_command_3_1_height, crd_status_orb_command_3_1_x+crd_status_orb_command_3_1_width, -crd_status_orb_command_3_1_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_2" style="portrait" textcolor="255 255 255" z="70" hidden="false">2
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_2_x, crd_status_orb_command_3_2_y, crd_status_orb_command_3_2_x+crd_status_orb_command_3_2_width, crd_status_orb_command_3_2_y+crd_status_orb_command_3_2_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_2_x, -crd_status_orb_command_3_2_y-crd_status_orb_command_3_2_height, crd_status_orb_command_3_2_x+crd_status_orb_command_3_2_width, -crd_status_orb_command_3_2_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_3" style="portrait" textcolor="255 255 255" z="70" hidden="false">3
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_3_x, crd_status_orb_command_3_3_y, crd_status_orb_command_3_3_x+crd_status_orb_command_3_3_width, crd_status_orb_command_3_3_y+crd_status_orb_command_3_3_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_3_x, -crd_status_orb_command_3_3_y-crd_status_orb_command_3_3_height, crd_status_orb_command_3_3_x+crd_status_orb_command_3_3_width, -crd_status_orb_command_3_3_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_4" style="portrait" textcolor="255 255 255" z="70" hidden="false">4
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_4_x, crd_status_orb_command_3_4_y, crd_status_orb_command_3_4_x+crd_status_orb_command_3_4_width, crd_status_orb_command_3_4_y+crd_status_orb_command_3_4_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_4_x, -crd_status_orb_command_3_4_y-crd_status_orb_command_3_4_height, crd_status_orb_command_3_4_x+crd_status_orb_command_3_4_width, -crd_status_orb_command_3_4_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_5" style="portrait" textcolor="255 255 255" z="70" hidden="false">5
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_5_x, crd_status_orb_command_3_5_y, crd_status_orb_command_3_5_x+crd_status_orb_command_3_5_width, crd_status_orb_command_3_5_y+crd_status_orb_command_3_5_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_5_x, -crd_status_orb_command_3_5_y-crd_status_orb_command_3_5_height, crd_status_orb_command_3_5_x+crd_status_orb_command_3_5_width, -crd_status_orb_command_3_5_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_6" style="portrait" textcolor="255 255 255" z="70" hidden="false">6
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_6_x, crd_status_orb_command_3_6_y, crd_status_orb_command_3_6_x+crd_status_orb_command_3_6_width, crd_status_orb_command_3_6_y+crd_status_orb_command_3_6_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_6_x, -crd_status_orb_command_3_6_y-crd_status_orb_command_3_6_height, crd_status_orb_command_3_6_x+crd_status_orb_command_3_6_width, -crd_status_orb_command_3_6_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_7" style="portrait" textcolor="255 255 255" z="70" hidden="false">7
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_7_x, crd_status_orb_command_3_7_y, crd_status_orb_command_3_7_x+crd_status_orb_command_3_7_width, crd_status_orb_command_3_7_y+crd_status_orb_command_3_7_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_7_x, -crd_status_orb_command_3_7_y-crd_status_orb_command_3_7_height, crd_status_orb_command_3_7_x+crd_status_orb_command_3_7_width, -crd_status_orb_command_3_7_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_8" style="portrait" textcolor="255 255 255" z="70" hidden="false">8
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_8_x, crd_status_orb_command_3_8_y, crd_status_orb_command_3_8_x+crd_status_orb_command_3_8_width, crd_status_orb_command_3_8_y+crd_status_orb_command_3_8_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_8_x, -crd_status_orb_command_3_8_y-crd_status_orb_command_3_8_height, crd_status_orb_command_3_8_x+crd_status_orb_command_3_8_width, -crd_status_orb_command_3_8_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_9" style="portrait" textcolor="255 255 255" z="70" hidden="false">9
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_9_x, crd_status_orb_command_3_9_y, crd_status_orb_command_3_9_x+crd_status_orb_command_3_9_width, crd_status_orb_command_3_9_y+crd_status_orb_command_3_9_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_9_x, -crd_status_orb_command_3_9_y-crd_status_orb_command_3_9_height, crd_status_orb_command_3_9_x+crd_status_orb_command_3_9_width, -crd_status_orb_command_3_9_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_10" style="portrait" textcolor="255 255 255" z="70" hidden="false">10
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_10_x, crd_status_orb_command_3_10_y, crd_status_orb_command_3_10_x+crd_status_orb_command_3_10_width, crd_status_orb_command_3_10_y+crd_status_orb_command_3_10_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_10_x, -crd_status_orb_command_3_10_y-crd_status_orb_command_3_10_height, crd_status_orb_command_3_10_x+crd_status_orb_command_3_10_width, -crd_status_orb_command_3_10_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_11" style="portrait" textcolor="255 255 255" z="70" hidden="false">11
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_11_x, crd_status_orb_command_3_11_y, crd_status_orb_command_3_11_x+crd_status_orb_command_3_11_width, crd_status_orb_command_3_11_y+crd_status_orb_command_3_11_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_11_x, -crd_status_orb_command_3_11_y-crd_status_orb_command_3_11_height, crd_status_orb_command_3_11_x+crd_status_orb_command_3_11_width, -crd_status_orb_command_3_11_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_3_12" style="portrait" textcolor="255 255 255" z="70" hidden="false">12
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_3_12_x, crd_status_orb_command_3_12_y, crd_status_orb_command_3_12_x+crd_status_orb_command_3_12_width, crd_status_orb_command_3_12_y+crd_status_orb_command_3_12_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_3_12_x, -crd_status_orb_command_3_12_y-crd_status_orb_command_3_12_height, crd_status_orb_command_3_12_x+crd_status_orb_command_3_12_width, -crd_status_orb_command_3_12_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4" style="portrait" textcolor="255 255 255" z="70" hidden="false">4
|
||||
@ -798,6 +1056,108 @@
|
||||
crd_status_orb_command_4_x, crd_status_orb_command_4_y, crd_status_orb_command_4_x+crd_status_orb_command_4_width, crd_status_orb_command_4_y+crd_status_orb_command_4_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_x, -crd_status_orb_command_4_y-crd_status_orb_command_4_height, crd_status_orb_command_4_x+crd_status_orb_command_4_width, -crd_status_orb_command_4_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
<action on="Press"><![CDATA[
|
||||
GUIObjectToggle("session_panel_status_command_pri_4_group");
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="empty" name="session_panel_status_command_pri_4_group" size="0 0 100% 100%" z="1" hidden="false">
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_1" style="portrait" textcolor="255 255 255" z="70" hidden="false">1
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_1_x, crd_status_orb_command_4_1_y, crd_status_orb_command_4_1_x+crd_status_orb_command_4_1_width, crd_status_orb_command_4_1_y+crd_status_orb_command_4_1_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_1_x, -crd_status_orb_command_4_1_y-crd_status_orb_command_4_1_height, crd_status_orb_command_4_1_x+crd_status_orb_command_4_1_width, -crd_status_orb_command_4_1_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_2" style="portrait" textcolor="255 255 255" z="70" hidden="false">2
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_2_x, crd_status_orb_command_4_2_y, crd_status_orb_command_4_2_x+crd_status_orb_command_4_2_width, crd_status_orb_command_4_2_y+crd_status_orb_command_4_2_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_2_x, -crd_status_orb_command_4_2_y-crd_status_orb_command_4_2_height, crd_status_orb_command_4_2_x+crd_status_orb_command_4_2_width, -crd_status_orb_command_4_2_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_3" style="portrait" textcolor="255 255 255" z="70" hidden="false">3
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_3_x, crd_status_orb_command_4_3_y, crd_status_orb_command_4_3_x+crd_status_orb_command_4_3_width, crd_status_orb_command_4_3_y+crd_status_orb_command_4_3_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_3_x, -crd_status_orb_command_4_3_y-crd_status_orb_command_4_3_height, crd_status_orb_command_4_3_x+crd_status_orb_command_4_3_width, -crd_status_orb_command_4_3_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_4" style="portrait" textcolor="255 255 255" z="70" hidden="false">4
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_4_x, crd_status_orb_command_4_4_y, crd_status_orb_command_4_4_x+crd_status_orb_command_4_4_width, crd_status_orb_command_4_4_y+crd_status_orb_command_4_4_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_4_x, -crd_status_orb_command_4_4_y-crd_status_orb_command_4_4_height, crd_status_orb_command_4_4_x+crd_status_orb_command_4_4_width, -crd_status_orb_command_4_4_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_5" style="portrait" textcolor="255 255 255" z="70" hidden="false">5
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_5_x, crd_status_orb_command_4_5_y, crd_status_orb_command_4_5_x+crd_status_orb_command_4_5_width, crd_status_orb_command_4_5_y+crd_status_orb_command_4_5_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_5_x, -crd_status_orb_command_4_5_y-crd_status_orb_command_4_5_height, crd_status_orb_command_4_5_x+crd_status_orb_command_4_5_width, -crd_status_orb_command_4_5_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_6" style="portrait" textcolor="255 255 255" z="70" hidden="false">6
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_6_x, crd_status_orb_command_4_6_y, crd_status_orb_command_4_6_x+crd_status_orb_command_4_6_width, crd_status_orb_command_4_6_y+crd_status_orb_command_4_6_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_6_x, -crd_status_orb_command_4_6_y-crd_status_orb_command_4_6_height, crd_status_orb_command_4_6_x+crd_status_orb_command_4_6_width, -crd_status_orb_command_4_6_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_7" style="portrait" textcolor="255 255 255" z="70" hidden="false">7
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_7_x, crd_status_orb_command_4_7_y, crd_status_orb_command_4_7_x+crd_status_orb_command_4_7_width, crd_status_orb_command_4_7_y+crd_status_orb_command_4_7_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_7_x, -crd_status_orb_command_4_7_y-crd_status_orb_command_4_7_height, crd_status_orb_command_4_7_x+crd_status_orb_command_4_7_width, -crd_status_orb_command_4_7_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_8" style="portrait" textcolor="255 255 255" z="70" hidden="false">8
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_8_x, crd_status_orb_command_4_8_y, crd_status_orb_command_4_8_x+crd_status_orb_command_4_8_width, crd_status_orb_command_4_8_y+crd_status_orb_command_4_8_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_8_x, -crd_status_orb_command_4_8_y-crd_status_orb_command_4_8_height, crd_status_orb_command_4_8_x+crd_status_orb_command_4_8_width, -crd_status_orb_command_4_8_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_9" style="portrait" textcolor="255 255 255" z="70" hidden="false">9
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_9_x, crd_status_orb_command_4_9_y, crd_status_orb_command_4_9_x+crd_status_orb_command_4_9_width, crd_status_orb_command_4_9_y+crd_status_orb_command_4_9_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_9_x, -crd_status_orb_command_4_9_y-crd_status_orb_command_4_9_height, crd_status_orb_command_4_9_x+crd_status_orb_command_4_9_width, -crd_status_orb_command_4_9_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_10" style="portrait" textcolor="255 255 255" z="70" hidden="false">10
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_10_x, crd_status_orb_command_4_10_y, crd_status_orb_command_4_10_x+crd_status_orb_command_4_10_width, crd_status_orb_command_4_10_y+crd_status_orb_command_4_10_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_10_x, -crd_status_orb_command_4_10_y-crd_status_orb_command_4_10_height, crd_status_orb_command_4_10_x+crd_status_orb_command_4_10_width, -crd_status_orb_command_4_10_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_11" style="portrait" textcolor="255 255 255" z="70" hidden="false">11
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_11_x, crd_status_orb_command_4_11_y, crd_status_orb_command_4_11_x+crd_status_orb_command_4_11_width, crd_status_orb_command_4_11_y+crd_status_orb_command_4_11_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_11_x, -crd_status_orb_command_4_11_y-crd_status_orb_command_4_11_height, crd_status_orb_command_4_11_x+crd_status_orb_command_4_11_width, -crd_status_orb_command_4_11_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_4_12" style="portrait" textcolor="255 255 255" z="70" hidden="false">12
|
||||
<action on="Load"><![CDATA[
|
||||
AddSizeCoord(this.name,
|
||||
crd_status_orb_command_4_12_x, crd_status_orb_command_4_12_y, crd_status_orb_command_4_12_x+crd_status_orb_command_4_12_width, crd_status_orb_command_4_12_y+crd_status_orb_command_4_12_height, left_screen, top_screen, left_screen, top_screen,
|
||||
crd_status_orb_command_4_12_x, -crd_status_orb_command_4_12_y-crd_status_orb_command_4_12_height, crd_status_orb_command_4_12_x+crd_status_orb_command_4_12_width, -crd_status_orb_command_4_12_y, left_screen, bottom_screen, left_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
</object>
|
||||
|
||||
<object type="button" name="session_panel_status_command_pri_5" style="portrait" textcolor="255 255 255" z="70" hidden="false">5
|
||||
|
@ -35,6 +35,15 @@
|
||||
<!-- END temporary code -->
|
||||
</object>
|
||||
|
||||
<object type="button" name="audio_toggle" hotkey="audio.toggle" hidden="true">
|
||||
<action on="Press"><![CDATA[
|
||||
if (snd_disabled == true)
|
||||
snd_disable(false);
|
||||
else
|
||||
snd_disable(true);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<!-- TEMPORARY END GAME BUTTON; REMOVE WHEN GAME MENU IMPLEMENTED; BUTTON IS OUTSIDE OF pregame_gui IN ORDER TO BE VISIBLE DURING GAME -->
|
||||
|
||||
<object type="button" name="End_Game_Button" sprite="message_box-button-normal" sprite-over="message_box-button-over" hotkey="endgame" text-align="center" text-valign="center" size="100%-200 2 100%-100 36" z="105" hidden="true">
|
||||
|
@ -219,10 +219,21 @@ function manualDisplay()
|
||||
ManualRollover.caption += "Version: " + selection[0].traits.id.version + "\n";
|
||||
|
||||
// Lists.
|
||||
if (selection[0].actions.create)
|
||||
if (selection[0].actions.create && selection[0].actions.create.list)
|
||||
{
|
||||
if (selection[0].actions.create.unitlist)
|
||||
ManualRollover.caption += "Trains: " + selection[0].actions.create.unitlist + "\n";
|
||||
if (selection[0].actions.create.list.unit)
|
||||
ManualRollover.caption += "Trains: " + selection[0].actions.create.list.unit + "\n";
|
||||
if (selection[0].actions.create.list.structciv || selection[0].actions.create.list.structmil)
|
||||
{
|
||||
ManualRollover.caption += "Builds: ";
|
||||
if (selection[0].actions.create.list.structciv)
|
||||
ManualRollover.caption += selection[0].actions.create.list.structciv + " ";
|
||||
if (selection[0].actions.create.list.structmil)
|
||||
ManualRollover.caption += selection[0].actions.create.list.structmil + " ";
|
||||
ManualRollover.caption += "\n";
|
||||
}
|
||||
if (selection[0].actions.create.list.tech)
|
||||
ManualRollover.caption += "Research: " + selection[0].actions.create.list.research + "\n";
|
||||
}
|
||||
|
||||
|
||||
|
@ -78,6 +78,7 @@ function initStatusOrb()
|
||||
crd_status_orb_stat3_y = crd_status_orb_stat2_y+crd_status_orb_stat2_height;
|
||||
|
||||
// Command Button 1.
|
||||
command_sub_max = 12; // Maximum number of entries in command button list.
|
||||
crd_status_orb_command_1_width = crd_portrait_sml_width;
|
||||
crd_status_orb_command_1_height = crd_portrait_sml_height;
|
||||
crd_status_orb_command_1_x = 0;
|
||||
@ -120,24 +121,276 @@ function initStatusOrb()
|
||||
crd_status_orb_command_1_6_x = crd_status_orb_command_1_x;
|
||||
crd_status_orb_command_1_6_y = crd_status_orb_command_1_5_y+crd_status_orb_command_1_5_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 1_7.
|
||||
crd_status_orb_command_1_7_width = crd_status_orb_command_1_width;
|
||||
crd_status_orb_command_1_7_height = crd_status_orb_command_1_height;
|
||||
crd_status_orb_command_1_7_x = crd_status_orb_command_1_x;
|
||||
crd_status_orb_command_1_7_y = crd_status_orb_command_1_6_y+crd_status_orb_command_1_6_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 1_8.
|
||||
crd_status_orb_command_1_8_width = crd_status_orb_command_1_width;
|
||||
crd_status_orb_command_1_8_height = crd_status_orb_command_1_height;
|
||||
crd_status_orb_command_1_8_x = crd_status_orb_command_1_x;
|
||||
crd_status_orb_command_1_8_y = crd_status_orb_command_1_7_y+crd_status_orb_command_1_7_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 1_9.
|
||||
crd_status_orb_command_1_9_width = crd_status_orb_command_1_width;
|
||||
crd_status_orb_command_1_9_height = crd_status_orb_command_1_height;
|
||||
crd_status_orb_command_1_9_x = crd_status_orb_command_1_x;
|
||||
crd_status_orb_command_1_9_y = crd_status_orb_command_1_8_y+crd_status_orb_command_1_8_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 1_10.
|
||||
crd_status_orb_command_1_10_width = crd_status_orb_command_1_width;
|
||||
crd_status_orb_command_1_10_height = crd_status_orb_command_1_height;
|
||||
crd_status_orb_command_1_10_x = crd_status_orb_command_1_x;
|
||||
crd_status_orb_command_1_10_y = crd_status_orb_command_1_9_y+crd_status_orb_command_1_9_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 1_11.
|
||||
crd_status_orb_command_1_11_width = crd_status_orb_command_1_width;
|
||||
crd_status_orb_command_1_11_height = crd_status_orb_command_1_height;
|
||||
crd_status_orb_command_1_11_x = crd_status_orb_command_1_x;
|
||||
crd_status_orb_command_1_11_y = crd_status_orb_command_1_10_y+crd_status_orb_command_1_10_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 1_12.
|
||||
crd_status_orb_command_1_12_width = crd_status_orb_command_1_width;
|
||||
crd_status_orb_command_1_12_height = crd_status_orb_command_1_height;
|
||||
crd_status_orb_command_1_12_x = crd_status_orb_command_1_x;
|
||||
crd_status_orb_command_1_12_y = crd_status_orb_command_1_11_y+crd_status_orb_command_1_11_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2.
|
||||
crd_status_orb_command_2_width = crd_status_orb_command_1_width;
|
||||
crd_status_orb_command_2_height = crd_status_orb_command_1_height;
|
||||
crd_status_orb_command_2_x = crd_status_orb_command_1_x+crd_status_orb_command_1_width+crd_status_orb_command_span;
|
||||
crd_status_orb_command_2_y = crd_status_orb_command_1_y;
|
||||
|
||||
// Command Button 2_1.
|
||||
crd_status_orb_command_2_1_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_1_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_1_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_1_y = crd_status_orb_command_2_y+crd_status_orb_command_2_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2_2.
|
||||
crd_status_orb_command_2_2_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_2_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_2_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_2_y = crd_status_orb_command_2_1_y+crd_status_orb_command_2_1_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2_3.
|
||||
crd_status_orb_command_2_3_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_3_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_3_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_3_y = crd_status_orb_command_2_2_y+crd_status_orb_command_2_2_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2_4.
|
||||
crd_status_orb_command_2_4_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_4_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_4_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_4_y = crd_status_orb_command_2_3_y+crd_status_orb_command_2_3_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2_5.
|
||||
crd_status_orb_command_2_5_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_5_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_5_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_5_y = crd_status_orb_command_2_4_y+crd_status_orb_command_2_4_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2_6.
|
||||
crd_status_orb_command_2_6_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_6_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_6_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_6_y = crd_status_orb_command_2_5_y+crd_status_orb_command_2_5_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2_7.
|
||||
crd_status_orb_command_2_7_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_7_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_7_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_7_y = crd_status_orb_command_2_6_y+crd_status_orb_command_2_6_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2_8.
|
||||
crd_status_orb_command_2_8_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_8_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_8_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_8_y = crd_status_orb_command_2_7_y+crd_status_orb_command_2_7_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2_9.
|
||||
crd_status_orb_command_2_9_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_9_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_9_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_9_y = crd_status_orb_command_2_8_y+crd_status_orb_command_2_8_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2_10.
|
||||
crd_status_orb_command_2_10_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_10_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_10_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_10_y = crd_status_orb_command_2_9_y+crd_status_orb_command_2_9_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2_11.
|
||||
crd_status_orb_command_2_11_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_11_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_11_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_11_y = crd_status_orb_command_2_10_y+crd_status_orb_command_2_10_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 2_12.
|
||||
crd_status_orb_command_2_12_width = crd_status_orb_command_2_width;
|
||||
crd_status_orb_command_2_12_height = crd_status_orb_command_2_height;
|
||||
crd_status_orb_command_2_12_x = crd_status_orb_command_2_x;
|
||||
crd_status_orb_command_2_12_y = crd_status_orb_command_2_11_y+crd_status_orb_command_2_11_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3.
|
||||
crd_status_orb_command_3_width = crd_status_orb_command_1_width;
|
||||
crd_status_orb_command_3_height = crd_status_orb_command_1_height;
|
||||
crd_status_orb_command_3_x = crd_status_orb_command_2_x+crd_status_orb_command_2_width+crd_status_orb_command_span;
|
||||
crd_status_orb_command_3_y = crd_status_orb_command_2_y;
|
||||
|
||||
// Command Button 3_1.
|
||||
crd_status_orb_command_3_1_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_1_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_1_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_1_y = crd_status_orb_command_3_y+crd_status_orb_command_3_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3_2.
|
||||
crd_status_orb_command_3_2_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_2_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_2_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_2_y = crd_status_orb_command_3_1_y+crd_status_orb_command_3_1_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3_3.
|
||||
crd_status_orb_command_3_3_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_3_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_3_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_3_y = crd_status_orb_command_3_2_y+crd_status_orb_command_3_2_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3_4.
|
||||
crd_status_orb_command_3_4_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_4_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_4_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_4_y = crd_status_orb_command_3_3_y+crd_status_orb_command_3_3_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3_5.
|
||||
crd_status_orb_command_3_5_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_5_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_5_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_5_y = crd_status_orb_command_3_4_y+crd_status_orb_command_3_4_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3_6.
|
||||
crd_status_orb_command_3_6_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_6_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_6_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_6_y = crd_status_orb_command_3_5_y+crd_status_orb_command_3_5_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3_7.
|
||||
crd_status_orb_command_3_7_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_7_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_7_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_7_y = crd_status_orb_command_3_6_y+crd_status_orb_command_3_6_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3_8.
|
||||
crd_status_orb_command_3_8_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_8_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_8_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_8_y = crd_status_orb_command_3_7_y+crd_status_orb_command_3_7_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3_9.
|
||||
crd_status_orb_command_3_9_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_9_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_9_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_9_y = crd_status_orb_command_3_8_y+crd_status_orb_command_3_8_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3_10.
|
||||
crd_status_orb_command_3_10_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_10_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_10_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_10_y = crd_status_orb_command_3_9_y+crd_status_orb_command_3_9_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3_11.
|
||||
crd_status_orb_command_3_11_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_11_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_11_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_11_y = crd_status_orb_command_3_10_y+crd_status_orb_command_3_10_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 3_12.
|
||||
crd_status_orb_command_3_12_width = crd_status_orb_command_3_width;
|
||||
crd_status_orb_command_3_12_height = crd_status_orb_command_3_height;
|
||||
crd_status_orb_command_3_12_x = crd_status_orb_command_3_x;
|
||||
crd_status_orb_command_3_12_y = crd_status_orb_command_3_11_y+crd_status_orb_command_3_11_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4.
|
||||
crd_status_orb_command_4_width = crd_status_orb_command_1_width;
|
||||
crd_status_orb_command_4_height = crd_status_orb_command_1_height;
|
||||
crd_status_orb_command_4_x = crd_status_orb_command_3_x+crd_status_orb_command_3_width+crd_status_orb_command_span;
|
||||
crd_status_orb_command_4_y = crd_status_orb_command_3_y;
|
||||
|
||||
// Command Button 4_1.
|
||||
crd_status_orb_command_4_1_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_1_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_1_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_1_y = crd_status_orb_command_4_y+crd_status_orb_command_4_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4_2.
|
||||
crd_status_orb_command_4_2_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_2_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_2_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_2_y = crd_status_orb_command_4_1_y+crd_status_orb_command_4_1_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4_3.
|
||||
crd_status_orb_command_4_3_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_3_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_3_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_3_y = crd_status_orb_command_4_2_y+crd_status_orb_command_4_2_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4_4.
|
||||
crd_status_orb_command_4_4_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_4_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_4_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_4_y = crd_status_orb_command_4_3_y+crd_status_orb_command_4_3_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4_5.
|
||||
crd_status_orb_command_4_5_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_5_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_5_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_5_y = crd_status_orb_command_4_4_y+crd_status_orb_command_4_4_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4_6.
|
||||
crd_status_orb_command_4_6_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_6_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_6_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_6_y = crd_status_orb_command_4_5_y+crd_status_orb_command_4_5_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4_7.
|
||||
crd_status_orb_command_4_7_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_7_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_7_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_7_y = crd_status_orb_command_4_6_y+crd_status_orb_command_4_6_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4_8.
|
||||
crd_status_orb_command_4_8_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_8_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_8_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_8_y = crd_status_orb_command_4_7_y+crd_status_orb_command_4_7_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4_9.
|
||||
crd_status_orb_command_4_9_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_9_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_9_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_9_y = crd_status_orb_command_4_8_y+crd_status_orb_command_4_8_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4_10.
|
||||
crd_status_orb_command_4_10_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_10_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_10_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_10_y = crd_status_orb_command_4_9_y+crd_status_orb_command_4_9_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4_11.
|
||||
crd_status_orb_command_4_11_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_11_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_11_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_11_y = crd_status_orb_command_4_10_y+crd_status_orb_command_4_10_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 4_12.
|
||||
crd_status_orb_command_4_12_width = crd_status_orb_command_4_width;
|
||||
crd_status_orb_command_4_12_height = crd_status_orb_command_4_height;
|
||||
crd_status_orb_command_4_12_x = crd_status_orb_command_4_x;
|
||||
crd_status_orb_command_4_12_y = crd_status_orb_command_4_11_y+crd_status_orb_command_4_11_height+crd_status_orb_command_span;
|
||||
|
||||
// Command Button 5.
|
||||
crd_status_orb_command_5_width = crd_status_orb_command_1_width;
|
||||
crd_status_orb_command_5_height = crd_status_orb_command_1_height;
|
||||
@ -194,19 +447,74 @@ function initStatusOrb()
|
||||
}
|
||||
|
||||
// ====================================================================
|
||||
/*
|
||||
function getCommandSlot()
|
||||
|
||||
function UpdateList(listIcon, listCol)
|
||||
{
|
||||
if (crd_status_orb_command_1.length == 0)
|
||||
return "1";
|
||||
if (crd_status_orb_command_2.length == 0)
|
||||
return "2";
|
||||
if (crd_status_orb_command_3.length == 0)
|
||||
return "3";
|
||||
if (crd_status_orb_command_4.length == 0)
|
||||
return "4";
|
||||
// Populates a given column of command icons with appropriate build portraits for the selected object.
|
||||
// Returns an array of this selection.
|
||||
|
||||
// Build unit list.
|
||||
if (selection[0].actions.create && selection[0].actions.create.list)
|
||||
{
|
||||
switch (listIcon)
|
||||
{
|
||||
case "tab_train":
|
||||
listName = selection[0].actions.create.list.unit;
|
||||
break;
|
||||
case "tab_buildciv":
|
||||
listName = selection[0].actions.create.list.structciv;
|
||||
break;
|
||||
case "tab_buildmil":
|
||||
listName = selection[0].actions.create.list.structmil;
|
||||
break;
|
||||
case "tab_research":
|
||||
listName = selection[0].actions.create.list.tech;
|
||||
break;
|
||||
default:
|
||||
return 0;
|
||||
break;
|
||||
}
|
||||
|
||||
if (listName)
|
||||
{
|
||||
// Enable tab portrait.
|
||||
setPortrait("session_panel_status_command_pri_" + listCol, listIcon);
|
||||
GUIObjectUnhide("session_panel_status_command_pri_" + listCol);
|
||||
|
||||
// Extract entity list into an array.
|
||||
// (Give it a string literally identical to the attribute, as for some reason it doesn't work right now. :(
|
||||
|
||||
// listArray = parseDelimiterString(listName, ";");
|
||||
listArray = parseDelimiterString("hele_fem_b1;hele_isp_u1;hele_fem_b1;hele_fem_b1;hele_isp_u1;hele_isp_u1;hele_isp_u1;hele_isp_u1;hele_isp_u1;hele_isp_u1;hele_isp_u1;hele_isp_u1;hele_isp_u1", ";");
|
||||
|
||||
// Populate appropriate command buttons.
|
||||
for (createLoop = 1; createLoop <= command_sub_max; createLoop++)
|
||||
{
|
||||
if (createLoop < listArray.length+1)
|
||||
{
|
||||
if (getEntityTemplate(listArray[createLoop-1]).traits.id.icon_cell && getEntityTemplate(listArray[createLoop-1]).traits.id.icon_cell != "")
|
||||
setPortrait("session_panel_status_command_pri_" + listCol + "_" + createLoop, getEntityTemplate(listArray[createLoop-1]).traits.id.icon + "_" + getEntityTemplate(listArray[createLoop-1]).traits.id.icon_cell);
|
||||
else
|
||||
setPortrait("session_panel_status_command_pri_" + listCol + "_" + createLoop, getEntityTemplate(listArray[createLoop-1]).traits.id.icon);
|
||||
getGUIObjectByName("session_panel_status_command_pri_" + listCol + "_" + createLoop).hidden = false;
|
||||
}
|
||||
else
|
||||
getGUIObjectByName("session_panel_status_command_pri_" + listCol + "_" + createLoop).hidden = true;
|
||||
}
|
||||
|
||||
return listArray;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Hide the whole column.
|
||||
GUIObjectHide("session_panel_status_command_pri_" + listCol);
|
||||
GUIObjectHide("session_panel_status_command_pri_" + listCol + "_group");
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
// ====================================================================
|
||||
|
||||
function UpdateStatusOrb()
|
||||
@ -352,40 +660,10 @@ function UpdateStatusOrb()
|
||||
// Reveal Status Orb
|
||||
getGUIObjectByName("session_status_orb").hidden = false;
|
||||
|
||||
// Build unit list.
|
||||
if (selection[0].actions.create)
|
||||
{
|
||||
if (selection[0].actions.create.unitlist)
|
||||
{
|
||||
// Enable tab portrait.
|
||||
setPortrait("session_panel_status_command_pri_1", "tab_train");
|
||||
getGUIObjectByName("session_panel_status_command_pri_1").hidden = false;
|
||||
|
||||
// commandSlot = getCommandSlot();
|
||||
|
||||
// Extract entity list into an array.
|
||||
// (Give it a string literally identical to the attribute, as for some reason it doesn't work right now. :(
|
||||
// crd_status_orb_command_1 = parseDelimiterString(selection[0].actions.create.unitlist, ";");
|
||||
crd_status_orb_command_1 = parseDelimiterString("hele_fem_b1;hele_isp_u1", ";");
|
||||
}
|
||||
}
|
||||
else
|
||||
getGUIObjectByName("session_panel_status_command_pri_1").hidden = true;
|
||||
|
||||
|
||||
// Populate appropriate command buttons.
|
||||
for (createLoop = 1; createLoop <= 6; createLoop++)
|
||||
{
|
||||
if (selection[0].actions.create && selection[0].actions.create.unitlist && createLoop < crd_status_orb_command_1.length+1)
|
||||
{
|
||||
if (getEntityTemplate(crd_status_orb_command_1[createLoop-1]).traits.id.icon_cell && getEntityTemplate(crd_status_orb_command_1[createLoop-1]).traits.id.icon_cell != "")
|
||||
setPortrait("session_panel_status_command_pri_1_" + createLoop, getEntityTemplate(crd_status_orb_command_1[createLoop-1]).traits.id.icon + "_" + getEntityTemplate(crd_status_orb_command_1[createLoop-1]).traits.id.icon_cell);
|
||||
else
|
||||
setPortrait("session_panel_status_command_pri_1_" + createLoop, getEntityTemplate(crd_status_orb_command_1[createLoop-1]).traits.id.icon);
|
||||
getGUIObjectByName("session_panel_status_command_pri_1_" + createLoop).hidden = false;
|
||||
}
|
||||
else
|
||||
getGUIObjectByName("session_panel_status_command_pri_1_" + createLoop).hidden = true;
|
||||
}
|
||||
// Update train/research/build lists.
|
||||
unitArray = UpdateList("tab_train", 1);
|
||||
structcivArray = UpdateList("tab_buildciv", 2);
|
||||
structmilArray = UpdateList("tab_buildmil", 3);
|
||||
techArray = UpdateList("tab_research", 4);
|
||||
}
|
||||
|
||||
|
@ -435,13 +435,13 @@
|
||||
|
||||
<!-- Structure List (Build Military) portrait. -->
|
||||
<sprite name="ui_portrait_tab_buildmil_64">
|
||||
<image texture="ui_portrait_tab_buildciv_64.png" texture-size="0 0 100% 100%" size="0 0 100% 100%" />
|
||||
<image texture="ui_portrait_tab_buildmil_64.png" texture-size="0 0 100% 100%" size="0 0 100% 100%" />
|
||||
</sprite>
|
||||
<sprite name="ui_portrait_tab_buildmil_64-lit">
|
||||
<image texture="ui_portrait_tab_buildciv_64-lit.png" texture-size="0 0 100% 100%" size="0 0 100% 100%" />
|
||||
<image texture="ui_portrait_tab_buildmil_64-lit.png" texture-size="0 0 100% 100%" size="0 0 100% 100%" />
|
||||
</sprite>
|
||||
<sprite name="ui_portrait_tab_buildmil_64-grey">
|
||||
<image texture="ui_portrait_tab_buildciv_64-grey.png" texture-size="0 0 100% 100%" size="0 0 100% 100%" />
|
||||
<image texture="ui_portrait_tab_buildmil_64-grey.png" texture-size="0 0 100% 100%" size="0 0 100% 100%" />
|
||||
</sprite>
|
||||
|
||||
<!-- Tech List (Research) portrait. -->
|
||||
|
Loading…
Reference in New Issue
Block a user