summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/spyhunttec.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/spyhunttec.lay')
-rw-r--r--src/mame/layout/spyhunttec.lay375
1 files changed, 259 insertions, 116 deletions
diff --git a/src/mame/layout/spyhunttec.lay b/src/mame/layout/spyhunttec.lay
index d0f32700faa..464b864f659 100644
--- a/src/mame/layout/spyhunttec.lay
+++ b/src/mame/layout/spyhunttec.lay
@@ -4,6 +4,8 @@ license:CC0
-->
<mamelayout version="2">
+<!-- define elements -->
+
<element name="lamp_miss" defstate="0">
<text string="MISSILES" state="0">
<color red="0.3" green="0.1" blue="0.0" />
@@ -12,7 +14,6 @@ license:CC0
<color red="1.0" green="0.4" blue="0.2" />
</text>
</element>
-
<element name="lamp_oil" defstate="0">
<text string="OIL SLICK" state="0">
<color red="0.3" green="0.0" blue="0.25" />
@@ -21,7 +22,6 @@ license:CC0
<color red="1.0" green="0.2" blue="0.8" />
</text>
</element>
-
<element name="lamp_van" defstate="0">
<text string="WEAPONS VAN" state="0">
<color red="0.3" green="0.25" blue="0.0" />
@@ -30,7 +30,6 @@ license:CC0
<color red="1.0" green="0.8" blue="0.2" />
</text>
</element>
-
<element name="lamp_smoke" defstate="0">
<text string="SMOKE SCREEN" state="0">
<color red="0.3" green="0.0" blue="0.25" />
@@ -39,7 +38,6 @@ license:CC0
<color red="1.0" green="0.2" blue="0.8" />
</text>
</element>
-
<element name="lamp_gun" defstate="0">
<text string="MACHINE GUNS" state="0">
<color red="0.3" green="0.1" blue="0.0" />
@@ -49,6 +47,87 @@ license:CC0
</text>
</element>
+ <element name="lamp_miss_r" defstate="0">
+ <text string="MISL." align="1" state="0">
+ <color red="0.3" green="0.1" blue="0.0" />
+ </text>
+ <text string="MISL." align="1" state="1">
+ <color red="1.0" green="0.4" blue="0.2" />
+ </text>
+ </element>
+ <element name="lamp_oil_r" defstate="0">
+ <text string="OIL" align="1" state="0">
+ <color red="0.3" green="0.0" blue="0.25" />
+ </text>
+ <text string="OIL" align="1" state="1">
+ <color red="1.0" green="0.2" blue="0.8" />
+ </text>
+ </element>
+ <element name="lamp_van_r" defstate="0">
+ <text string="VAN" align="1" state="0">
+ <color red="0.3" green="0.25" blue="0.0" />
+ </text>
+ <text string="VAN" align="1" state="1">
+ <color red="1.0" green="0.8" blue="0.2" />
+ </text>
+ </element>
+ <element name="lamp_smoke_r" defstate="0">
+ <text string="SMOKE" align="1" state="0">
+ <color red="0.3" green="0.0" blue="0.25" />
+ </text>
+ <text string="SMOKE" align="1" state="1">
+ <color red="1.0" green="0.2" blue="0.8" />
+ </text>
+ </element>
+ <element name="lamp_gun_r" defstate="0">
+ <text string="GUNS" align="1" state="0">
+ <color red="0.3" green="0.1" blue="0.0" />
+ </text>
+ <text string="GUNS" align="1" state="1">
+ <color red="1.0" green="0.4" blue="0.2" />
+ </text>
+ </element>
+
+ <element name="lamp_miss_l" defstate="0">
+ <text string="MISL." align="2" state="0">
+ <color red="0.3" green="0.1" blue="0.0" />
+ </text>
+ <text string="MISL." align="2" state="1">
+ <color red="1.0" green="0.4" blue="0.2" />
+ </text>
+ </element>
+ <element name="lamp_oil_l" defstate="0">
+ <text string="OIL" align="2" state="0">
+ <color red="0.3" green="0.0" blue="0.25" />
+ </text>
+ <text string="OIL" align="2" state="1">
+ <color red="1.0" green="0.2" blue="0.8" />
+ </text>
+ </element>
+ <element name="lamp_van_l" defstate="0">
+ <text string="VAN" align="2" state="0">
+ <color red="0.3" green="0.25" blue="0.0" />
+ </text>
+ <text string="VAN" align="2" state="1">
+ <color red="1.0" green="0.8" blue="0.2" />
+ </text>
+ </element>
+ <element name="lamp_smoke_l" defstate="0">
+ <text string="SMOKE" align="2" state="0">
+ <color red="0.3" green="0.0" blue="0.25" />
+ </text>
+ <text string="SMOKE" align="2" state="1">
+ <color red="1.0" green="0.2" blue="0.8" />
+ </text>
+ </element>
+ <element name="lamp_gun_l" defstate="0">
+ <text string="GUNS" align="2" state="0">
+ <color red="0.3" green="0.1" blue="0.0" />
+ </text>
+ <text string="GUNS" align="2" state="1">
+ <color red="1.0" green="0.4" blue="0.2" />
+ </text>
+ </element>
<element name="shifter" defstate="0">
<rect>
@@ -99,186 +178,250 @@ license:CC0
</element>
- <group name="lamps">
- <bounds x="0" y="0" width="480" height="25" />
-
- <element name="lamp1" ref="lamp_miss">
- <bounds x="5" y="0" width="60" height="25" />
- </element>
- <element name="lamp0" ref="lamp_oil">
- <bounds x="72" y="0" width="59" height="25" />
- </element>
- <element name="lamp2" ref="lamp_van">
- <bounds x="172" y="0" width="85" height="25" />
- </element>
- <element name="lamp3" ref="lamp_smoke">
- <bounds x="295" y="0" width="93" height="25" />
- </element>
- <element name="lamp4" ref="lamp_gun">
- <bounds x="390" y="0" width="90" height="25" />
- </element>
- </group>
+<!-- build screen -->
-
- <view name="Lamps + Shifter-R">
+ <view name="Lamps Bottom">
<screen index="0">
<bounds x="0" y="0" width="480" height="640" />
</screen>
+ <!-- on the cabinet, the lamps are below the screen -->
<collection name="Lamps">
- <group ref="lamps">
- <bounds x="0" y="641" width="480" height="25" />
- </group>
+ <element name="lamp1" ref="lamp_miss">
+ <bounds x="5" y="641" width="60" height="25" />
+ </element>
+ <element name="lamp0" ref="lamp_oil">
+ <bounds x="72" y="641" width="59" height="25" />
+ </element>
+ <element name="lamp2" ref="lamp_van">
+ <bounds x="172" y="641" width="85" height="25" />
+ </element>
+ <element name="lamp3" ref="lamp_smoke">
+ <bounds x="295" y="641" width="93" height="25" />
+ </element>
+ <element name="lamp4" ref="lamp_gun">
+ <bounds x="390" y="641" width="90" height="25" />
+ </element>
</collection>
- <collection name="Shifter">
+ <!-- shifter options -->
+ <collection name="Shifter-R Overlay" visible="yes">
<element ref="shifter" inputtag="IN2" inputmask="0x10">
<bounds x="446" y="574" width="32" height="64" />
<color alpha="0.6" />
</element>
+ <collection name="Opaque Shifter" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="446" y="574" width="32" height="64" />
+ </element>
+ </collection>
</collection>
- </view>
- <view name="Lamps + Shifter-L">
- <screen index="0">
- <bounds x="0" y="0" width="480" height="640" />
- </screen>
+ <collection name="Shifter-R Off-screen H" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="488" y="574" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="488" y="574" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
- <collection name="Lamps">
- <group ref="lamps">
- <bounds x="0" y="641" width="480" height="25" />
- </group>
+ <collection name="Shifter-R Off-screen V" visible="no"><!-- TATE -->
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="446" y="667" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="446" y="667" width="32" height="64" />
+ </element>
+ </collection>
</collection>
- <collection name="Shifter">
+ <collection name="Shifter-L Overlay" visible="no">
<element ref="shifter" inputtag="IN2" inputmask="0x10">
<bounds x="2" y="574" width="32" height="64" />
<color alpha="0.6" />
</element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="2" y="574" width="32" height="64" />
+ </element>
+ </collection>
</collection>
- </view>
-
- <view name="Lamps + Widescreen Shifter-R">
- <screen index="0">
- <bounds x="0" y="0" width="480" height="640" />
- </screen>
- <collection name="Lamps">
- <group ref="lamps">
- <bounds x="0" y="641" width="480" height="25" />
- </group>
+ <collection name="Shifter-L Off-screen H" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="-40" y="574" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="-40" y="574" width="32" height="64" />
+ </element>
+ </collection>
</collection>
- <collection name="Shifter">
+ <collection name="Shifter-L Off-screen V" visible="no"><!-- TATE -->
<element ref="shifter" inputtag="IN2" inputmask="0x10">
- <bounds x="496" y="574" width="32" height="64" />
+ <bounds x="2" y="667" width="32" height="64" />
+ <color alpha="0.6" />
</element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="2" y="667" width="32" height="64" />
+ </element>
+ </collection>
</collection>
</view>
- <view name="Lamps + Widescreen Shifter-L">
+ <view name="Lamps Right">
<screen index="0">
<bounds x="0" y="0" width="480" height="640" />
</screen>
<collection name="Lamps">
- <group ref="lamps">
- <bounds x="0" y="641" width="480" height="25" />
- </group>
+ <element name="lamp1" ref="lamp_miss_r">
+ <bounds x="488" y="430" width="38" height="25" />
+ </element>
+ <element name="lamp0" ref="lamp_oil_r">
+ <bounds x="488" y="455" width="22" height="25" />
+ </element>
+ <element name="lamp2" ref="lamp_van_r">
+ <bounds x="488" y="480" width="26" height="25" />
+ </element>
+ <element name="lamp3" ref="lamp_smoke_r">
+ <bounds x="488" y="505" width="42" height="25" />
+ </element>
+ <element name="lamp4" ref="lamp_gun_r">
+ <bounds x="488" y="530" width="32" height="25" />
+ </element>
</collection>
- <collection name="Shifter">
+ <!-- shifter options (TATE makes no sense here) -->
+ <collection name="Shifter-R Overlay" visible="no">
<element ref="shifter" inputtag="IN2" inputmask="0x10">
- <bounds x="-48" y="574" width="32" height="64" />
+ <bounds x="446" y="574" width="32" height="64" />
+ <color alpha="0.6" />
</element>
+ <collection name="Opaque Shifter" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="446" y="574" width="32" height="64" />
+ </element>
+ </collection>
</collection>
- </view>
- <view name="Widescreen Lamps and Shifter-R">
- <screen index="0">
- <bounds x="0" y="0" width="480" height="640" />
- </screen>
-
- <collection name="Lamps">
- <element name="lamp1" ref="lamp_miss">
- <bounds x="494" y="430" width="60" height="25" />
- </element>
- <element name="lamp0" ref="lamp_oil">
- <bounds x="493" y="455" width="59" height="25" />
- </element>
- <element name="lamp2" ref="lamp_van">
- <bounds x="494" y="480" width="85" height="25" />
- </element>
- <element name="lamp3" ref="lamp_smoke">
- <bounds x="492" y="505" width="93" height="25" />
+ <collection name="Shifter-R Off-screen" visible="yes">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="488" y="574" width="32" height="64" />
+ <color alpha="0.6" />
</element>
- <element name="lamp4" ref="lamp_gun">
- <bounds x="494" y="530" width="90" height="25" />
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="488" y="574" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-L Overlay" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="2" y="574" width="32" height="64" />
+ <color alpha="0.6" />
</element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="2" y="574" width="32" height="64" />
+ </element>
+ </collection>
</collection>
- <collection name="Shifter">
+ <collection name="Shifter-L Off-screen" visible="no">
<element ref="shifter" inputtag="IN2" inputmask="0x10">
- <bounds x="496" y="574" width="32" height="64" />
+ <bounds x="-40" y="574" width="32" height="64" />
+ <color alpha="0.6" />
</element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="-40" y="574" width="32" height="64" />
+ </element>
+ </collection>
</collection>
</view>
- <view name="Widescreen Lamps and Shifter-L">
+ <view name="Lamps Left">
<screen index="0">
<bounds x="0" y="0" width="480" height="640" />
</screen>
<collection name="Lamps">
- <element name="lamp1" ref="lamp_miss">
- <bounds x="-70" y="430" width="60" height="25" />
+ <element name="lamp1" ref="lamp_miss_l">
+ <bounds x="-42" y="430" width="38" height="25" />
</element>
- <element name="lamp0" ref="lamp_oil">
- <bounds x="-69" y="455" width="59" height="25" />
+ <element name="lamp0" ref="lamp_oil_l">
+ <bounds x="-30" y="455" width="22" height="25" />
</element>
- <element name="lamp2" ref="lamp_van">
- <bounds x="-95" y="480" width="85" height="25" />
+ <element name="lamp2" ref="lamp_van_l">
+ <bounds x="-34" y="480" width="26" height="25" />
</element>
- <element name="lamp3" ref="lamp_smoke">
- <bounds x="-102" y="505" width="93" height="25" />
+ <element name="lamp3" ref="lamp_smoke_l">
+ <bounds x="-50" y="505" width="42" height="25" />
</element>
- <element name="lamp4" ref="lamp_gun">
- <bounds x="-100" y="530" width="90" height="25" />
+ <element name="lamp4" ref="lamp_gun_l">
+ <bounds x="-40" y="530" width="32" height="25" />
</element>
</collection>
- <collection name="Shifter">
+ <!-- shifter options (TATE makes no sense here) -->
+ <collection name="Shifter-R Overlay" visible="no">
<element ref="shifter" inputtag="IN2" inputmask="0x10">
- <bounds x="-48" y="574" width="32" height="64" />
+ <bounds x="446" y="574" width="32" height="64" />
+ <color alpha="0.6" />
</element>
+ <collection name="Opaque Shifter" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="446" y="574" width="32" height="64" />
+ </element>
+ </collection>
</collection>
- </view>
- <view name="Vertical Widescreen Lamps + Shifter-R">
- <screen index="0">
- <bounds x="0" y="0" width="480" height="640" />
- </screen>
+ <collection name="Shifter-R Off-screen" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="488" y="574" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="488" y="574" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
- <group ref="lamps">
- <bounds x="0" y="641" width="480" height="25" />
- </group>
+ <collection name="Shifter-L Overlay" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="2" y="574" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="2" y="574" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
- <element ref="shifter" inputtag="IN2" inputmask="0x10">
- <bounds x="446" y="667" width="32" height="64" />
- </element>
+ <collection name="Shifter-L Off-screen" visible="yes">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="-40" y="574" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x10">
+ <bounds x="-40" y="574" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
</view>
- <view name="Vertical Widescreen Lamps + Shifter-L">
- <screen index="0">
- <bounds x="0" y="0" width="480" height="640" />
- </screen>
-
- <group ref="lamps">
- <bounds x="0" y="641" width="480" height="25" />
- </group>
-
- <element ref="shifter" inputtag="IN2" inputmask="0x10">
- <bounds x="2" y="667" width="32" height="64" />
- </element>
- </view>
</mamelayout>