blob: 1695d6b41fb3159bb8197c6cd7175d9b34bf8ba7 (
plain) (
tree)
|
|
<?xml version="1.0"?>
<!--
license:CC0-1.0
-->
<mamelayout version="2">
<!-- define periscope lamps -->
<element name="lamp_1" defstate="0">
<disk state="1">
<color red="1.0" green="0.25" blue="0.10" />
</disk>
<disk state="0">
<color red="0.25" green="0.05" blue="0.0" />
</disk>
<text string="1">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="1" height="0.6" />
</text>
</element>
<element name="lamp_2" defstate="0">
<disk state="1">
<color red="1.0" green="0.25" blue="0.10" />
</disk>
<disk state="0">
<color red="0.25" green="0.05" blue="0.0" />
</disk>
<text string="2">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="1" height="0.6" />
</text>
</element>
<element name="lamp_3" defstate="0">
<disk state="1">
<color red="1.0" green="0.25" blue="0.10" />
</disk>
<disk state="0">
<color red="0.25" green="0.05" blue="0.0" />
</disk>
<text string="3">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="1" height="0.6" />
</text>
</element>
<element name="lamp_4" defstate="0">
<disk state="1">
<color red="1.0" green="0.25" blue="0.10" />
</disk>
<disk state="0">
<color red="0.25" green="0.05" blue="0.0" />
</disk>
<text string="4">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="1" height="0.6" />
</text>
</element>
<element name="lamp_ready" defstate="0">
<disk state="1">
<color red="1.0" green="0.25" blue="0.10" />
<bounds x="0" y="0" width="1" height="1" />
</disk>
<disk state="0">
<color red="0.25" green="0.05" blue="0.0" />
<bounds x="0" y="0" width="1" height="1" />
</disk>
<disk state="1">
<color red="1.0" green="0.25" blue="0.10" />
<bounds x="1.5" y="0" width="1" height="1" />
</disk>
<disk state="0">
<color red="0.25" green="0.05" blue="0.0" />
<bounds x="1.5" y="0" width="1" height="1" />
</disk>
<rect state="1">
<color red="1.0" green="0.25" blue="0.10" />
<bounds x="0.5" y="0" width="1.5" height="1" />
</rect>
<rect state="0">
<color red="0.25" green="0.05" blue="0.0" />
<bounds x="0.5" y="0" width="1.5" height="1" />
</rect>
<text string="READY">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="2.5" height="0.6" />
</text>
</element>
<element name="lamp_reload" defstate="0">
<disk state="1">
<color red="1.0" green="0.25" blue="0.10" />
<bounds x="0" y="0" width="1" height="1" />
</disk>
<disk state="0">
<color red="0.25" green="0.05" blue="0.0" />
<bounds x="0" y="0" width="1" height="1" />
</disk>
<disk state="1">
<color red="1.0" green="0.25" blue="0.10" />
<bounds x="1.5" y="0" width="1" height="1" />
</disk>
<disk state="0">
<color red="0.25" green="0.05" blue="0.0" />
<bounds x="1.5" y="0" width="1" height="1" />
</disk>
<rect state="1">
<color red="1.0" green="0.25" blue="0.10" />
<bounds x="0.5" y="0" width="1.5" height="1" />
</rect>
<rect state="0">
<color red="0.25" green="0.05" blue="0.0" />
<bounds x="0.5" y="0" width="1.5" height="1" />
</rect>
<text string="RELOAD">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="2.5" height="0.6" />
</text>
</element>
<!-- NOTE: does not include explosion lamps yet -->
<view name="Periscope Lamps">
<bounds left="0" top="0" right="400" bottom="390" />
<screen index="0">
<bounds left="0" top="0" right="400" bottom="300" />
</screen>
<!-- player 1 is right -->
<element name="lamp3" ref="lamp_1">
<bounds x="225" y="310" width="30" height="30" />
</element>
<element name="lamp4" ref="lamp_2">
<bounds x="270" y="310" width="30" height="30" />
</element>
<element name="lamp5" ref="lamp_3">
<bounds x="315" y="310" width="30" height="30" />
</element>
<element name="lamp6" ref="lamp_4">
<bounds x="360" y="310" width="30" height="30" />
</element>
<element name="lamp2" ref="lamp_ready">
<bounds x="225" y="350" width="75" height="30" />
</element>
<element name="lamp1" ref="lamp_reload">
<bounds x="315" y="350" width="75" height="30" />
</element>
<!-- player 2 is left -->
<element name="lamp10" ref="lamp_1">
<bounds x="10" y="310" width="30" height="30" />
</element>
<element name="lamp11" ref="lamp_2">
<bounds x="55" y="310" width="30" height="30" />
</element>
<element name="lamp12" ref="lamp_3">
<bounds x="100" y="310" width="30" height="30" />
</element>
<element name="lamp13" ref="lamp_4">
<bounds x="145" y="310" width="30" height="30" />
</element>
<element name="lamp9" ref="lamp_ready">
<bounds x="10" y="350" width="75" height="30" />
</element>
<element name="lamp8" ref="lamp_reload">
<bounds x="100" y="350" width="75" height="30" />
</element>
</view>
</mamelayout>
|