summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/superchs.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/superchs.lay')
-rw-r--r--src/mame/layout/superchs.lay139
1 files changed, 108 insertions, 31 deletions
diff --git a/src/mame/layout/superchs.lay b/src/mame/layout/superchs.lay
index 8ccb36373e9..5b2637a2406 100644
--- a/src/mame/layout/superchs.lay
+++ b/src/mame/layout/superchs.lay
@@ -3,6 +3,9 @@
license:CC0
-->
<mamelayout version="2">
+
+<!-- define elements -->
+
<element name="shifter" defstate="0">
<rect>
<bounds left="0" right="32" top="0" bottom="64" />
@@ -51,44 +54,118 @@ license:CC0
</disk>
</element>
- <view name="Upright (4:3), Shifter-R">
- <screen index="0">
- <bounds left="0" top="0" right="640" bottom="480" />
- </screen>
- <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
- <bounds x="606" y="414" width="32" height="64" />
- <color alpha="0.6" />
- </element>
- </view>
- <view name="Upright (4:3), Shifter-L">
- <screen index="0">
- <bounds left="0" top="0" right="640" bottom="480" />
- </screen>
- <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
- <bounds x="2" y="414" width="32" height="64" />
- <color alpha="0.6" />
- </element>
- </view>
- <!-- Super Chase (Deluxe/Cockpit cab) used a widescreen monitor, see http://flyers.arcade-museum.com/?page=thumbs&db=videodb&id=1118 -->
+<!-- build screen -->
- <view name="Deluxe (16:9), Shifter-R">
+ <view name="Upright (4:3)">
<screen index="0">
- <bounds left="0" top="0" right="800" bottom="450" />
+ <bounds x="0" y="0" width="640" height="480" />
</screen>
- <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
- <bounds x="766" y="384" width="32" height="64" />
- <color alpha="0.6" />
- </element>
+
+ <!-- shifter options -->
+ <collection name="Shifter-R Overlay" visible="yes">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="606" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter" visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="606" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-R Off-screen" visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="648" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="648" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-L Overlay" visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="2" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="2" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-L Off-screen" visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="-40" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="-40" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
</view>
- <view name="Deluxe (16:9), Shifter-L">
+
+ <view name="Deluxe (16:9)">
+ <!-- Super Chase (Deluxe/Cockpit cab) used a widescreen monitor, see http://flyers.arcade-museum.com/?page=thumbs&db=videodb&id=1118 -->
<screen index="0">
- <bounds left="0" top="0" right="800" bottom="450" />
+ <bounds x="0" y="0" width="853.333" height="480" />
</screen>
- <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
- <bounds x="2" y="384" width="32" height="64" />
- <color alpha="0.6" />
- </element>
+
+ <!-- shifter options -->
+ <collection name="Shifter-R Overlay" visible="yes">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="819.333" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter" visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="819.333" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-R Off-screen" visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="861.333" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="861.333" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-L Overlay" visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="2" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="2" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-L Off-screen" visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="-40" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="SWITCHES" inputmask="0x20">
+ <bounds x="-40" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
</view>
</mamelayout>