Load chrome.xml from mod

This commit is contained in:
Paul Chote
2010-02-05 22:36:44 +13:00
parent 4c5f02b801
commit 61dfcd87bc
6 changed files with 157 additions and 4 deletions

146
mods/cnc/chrome.xml Normal file
View File

@@ -0,0 +1,146 @@
<chrome>
<collection name="chrome-allies" src="chrome-allies.png">
<image name="specialbin-top" x="0" y="0" width="30" height="51" />
<image name="specialbin-middle" x="0" y="51" width="30" height="51" />
<image name="specialbin-bottom" x="0" y="153" width="30" height="39" />
<image name="moneybin" x="192" y="0" width="320" height="32" />
<image name="tooltip-bg" x="0" y="288" width="272" height="136" />
</collection>
<collection name="radar-allies" src="chrome-allies.png">
<image name="left" x="297" y="31" width="9" height="192" />
<image name="right" x="498" y="31" width="9" height="192" />
<image name="bottom" x="297" y="223" width="210" height="30" />
<image name="bg" x="306" y="31" width="192" height="192" />
<image name="power-indicator" x="187" y="4" width="4" height="7" />
</collection>
<collection name="palette-allies" src="chrome-allies.png">
<image name="top" x="297" y="288" width="201" height="9" />
<image name="dock-top" x="498" y="274" width="14" height="23" />
<image name="bottom" x="297" y="489" width="201" height="9" />
<image name="dock-bottom" x="498" y="489" width="14" height="23" />
<image name="bg-0" x="297" y="297" width="201" height="48" />
<image name="dock-0" x="498" y="297" width="14" height="48" />
<image name="bg-1" x="297" y="345" width="201" height="48" />
<image name="dock-1" x="498" y="345" width="14" height="48" />
<image name="bg-2" x="297" y="393" width="201" height="48" />
<image name="dock-2" x="498" y="393" width="14" height="48" />
<image name="bg-3" x="297" y="441" width="201" height="48" />
<image name="dock-3" x="498" y="441" width="14" height="48" />
</collection>
<collection name="digits-allies" src="chrome-allies.png">
<image name="0" x="32" y="0" width="13" height="17" />
<image name="1" x="45" y="0" width="13" height="17" />
<image name="2" x="58" y="0" width="13" height="17" />
<image name="3" x="71" y="0" width="13" height="17" />
<image name="4" x="84" y="0" width="13" height="17" />
<image name="5" x="97" y="0" width="13" height="17" />
<image name="6" x="110" y="0" width="13" height="17" />
<image name="7" x="123" y="0" width="13" height="17" />
<image name="8" x="136" y="0" width="13" height="17" />
<image name="9" x="149" y="0" width="13" height="17" />
</collection>
<collection name="chrome-soviet" src="chrome-soviet.png">
<image name="specialbin-top" x="0" y="0" width="30" height="51" />
<image name="specialbin-middle" x="0" y="51" width="30" height="51" />
<image name="specialbin-bottom" x="0" y="153" width="30" height="39" />
<image name="moneybin" x="192" y="0" width="320" height="32" />
<image name="tooltip-bg" x="0" y="288" width="272" height="136" />
</collection>
<collection name="radar-soviet" src="chrome-soviet.png">
<image name="left" x="297" y="31" width="9" height="192" />
<image name="right" x="498" y="31" width="9" height="192" />
<image name="bottom" x="297" y="223" width="210" height="30" />
<image name="bg" x="306" y="31" width="192" height="192" />
<image name="power-indicator" x="187" y="4" width="4" height="7" />
</collection>
<collection name="palette-soviet" src="chrome-soviet.png">
<image name="top" x="297" y="288" width="201" height="9" />
<image name="dock-top" x="498" y="274" width="14" height="23" />
<image name="bottom" x="297" y="489" width="201" height="9" />
<image name="dock-bottom" x="498" y="489" width="14" height="23" />
<image name="bg-0" x="297" y="297" width="201" height="48" />
<image name="dock-0" x="498" y="297" width="14" height="48" />
<image name="bg-1" x="297" y="345" width="201" height="48" />
<image name="dock-1" x="498" y="345" width="14" height="48" />
<image name="bg-2" x="297" y="393" width="201" height="48" />
<image name="dock-2" x="498" y="393" width="14" height="48" />
<image name="bg-3" x="297" y="441" width="201" height="48" />
<image name="dock-3" x="498" y="441" width="14" height="48" />
</collection>
<collection name="digits-soviet" src="chrome-soviet.png">
<image name="0" x="32" y="0" width="13" height="17" />
<image name="1" x="45" y="0" width="13" height="17" />
<image name="2" x="58" y="0" width="13" height="17" />
<image name="3" x="71" y="0" width="13" height="17" />
<image name="4" x="84" y="0" width="13" height="17" />
<image name="5" x="97" y="0" width="13" height="17" />
<image name="6" x="110" y="0" width="13" height="17" />
<image name="7" x="123" y="0" width="13" height="17" />
<image name="8" x="136" y="0" width="13" height="17" />
<image name="9" x="149" y="0" width="13" height="17" />
</collection>
<collection name="tabs-selected" src="tabs.png">
<image name="allies-Building" x="0" y="0" width="27" height="41" />
<image name="allies-Defense" x="0" y="40" width="27" height="41" />
<image name="allies-Infantry" x="0" y="80" width="27" height="41" />
<image name="allies-Vehicle" x="0" y="120" width="27" height="41" />
<image name="allies-Plane" x="0" y="160" width="27" height="41" />
<image name="allies-Ship" x="0" y="200" width="27" height="41" />
<image name="soviet-Building" x="80" y="0" width="27" height="41" />
<image name="soviet-Defense" x="80" y="40" width="27" height="41" />
<image name="soviet-Infantry" x="80" y="80" width="27" height="41" />
<image name="soviet-Vehicle" x="80" y="120" width="27" height="41" />
<image name="soviet-Plane" x="80" y="160" width="27" height="41" />
<image name="soviet-Ship" x="80" y="200" width="27" height="41" />
</collection>
<collection name="tabs-ready" src="tabs.png">
<image name="allies-Building" x="27" y="0" width="27" height="41" />
<image name="allies-Defense" x="27" y="40" width="27" height="41" />
<image name="allies-Infantry" x="27" y="80" width="27" height="41" />
<image name="allies-Vehicle" x="27" y="120" width="27" height="41" />
<image name="allies-Plane" x="27" y="160" width="27" height="41" />
<image name="allies-Ship" x="27" y="200" width="27" height="41" />
<image name="soviet-Building" x="107" y="0" width="27" height="41" />
<image name="soviet-Defense" x="107" y="40" width="27" height="41" />
<image name="soviet-Infantry" x="107" y="80" width="27" height="41" />
<image name="soviet-Vehicle" x="107" y="120" width="27" height="41" />
<image name="soviet-Plane" x="107" y="160" width="27" height="41" />
<image name="soviet-Ship" x="107" y="200" width="27" height="41" />
</collection>
<collection name="tabs-normal" src="tabs.png">
<image name="allies-Building" x="54" y="0" width="27" height="41" />
<image name="allies-Defense" x="54" y="40" width="27" height="41" />
<image name="allies-Infantry" x="54" y="80" width="27" height="41" />
<image name="allies-Vehicle" x="54" y="120" width="27" height="41" />
<image name="allies-Plane" x="54" y="160" width="27" height="41" />
<image name="allies-Ship" x="54" y="200" width="27" height="41" />
<image name="soviet-Building" x="134" y="0" width="27" height="41" />
<image name="soviet-Defense" x="134" y="40" width="27" height="41" />
<image name="soviet-Infantry" x="134" y="80" width="27" height="41" />
<image name="soviet-Vehicle" x="134" y="120" width="27" height="41" />
<image name="soviet-Plane" x="134" y="160" width="27" height="41" />
<image name="soviet-Ship" x="134" y="200" width="27" height="41" />
</collection>
<collection name="panel" src="widget-panel.png">
<image name="border-t" x="4" y="0" width="248" height="4" />
<image name="border-b" x="4" y="252" width="248" height="4" />
<image name="border-l" x="0" y="4" width="4" height="248" />
<image name="border-r" x="252" y="4" width="4" height="248" />
<image name="corner-tl" x="0" y="0" width="4" height="4" />
<image name="corner-tr" x="252" y="0" width="4" height="4" />
<image name="corner-bl" x="0" y="252" width="4" height="4" />
<image name="corner-br" x="252" y="252" width="4" height="4" />
<image name="background" x="4" y="4" width="248" height="248" />
</collection>
<collection name="dialog" src="dialog.png">
<image name="background" x="0" y="0" width="624" height="384" />
<image name="border-r" x="624" y="0" width="14" height="200" />
<image name="border-l" x="638" y="0" width="14" height="200" />
<image name="border-b" x="46" y="399" width="320" height="16" />
<image name="border-t" x="46" y="384" width="320" height="16" />
<image name="corner-tl" x="0" y="384" width="23" height="24" />
<image name="corner-tr" x="23" y="384" width="23" height="24" />
<image name="corner-bl" x="0" y="407" width="23" height="24" />
<image name="corner-br" x="23" y="407" width="23" height="24" />
</collection>
</chrome>

View File

@@ -47,6 +47,9 @@ Sequences:
mods/cnc/sequences-infantry.xml:
mods/cnc/sequences.xml: Obsolete; will disappear once done converting
Chrome:
mods/cnc/chrome.xml:
Assemblies:
mods/cnc/OpenRa.Mods.Cnc.dll: Cnc mod traits
mods/ra/OpenRa.Mods.RA.dll: Red alert mod traits