summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/buggyboy.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/buggyboy.lay')
-rw-r--r--src/mame/layout/buggyboy.lay138
1 files changed, 104 insertions, 34 deletions
diff --git a/src/mame/layout/buggyboy.lay b/src/mame/layout/buggyboy.lay
index c1d2328c1ab..8c7296c16f3 100644
--- a/src/mame/layout/buggyboy.lay
+++ b/src/mame/layout/buggyboy.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,23 +54,10 @@ license:CC0
</disk>
</element>
- <view name="Triple-Screen Shifter-R">
- <screen index="0">
- <bounds x="0" y="0" width="640" height="480" />
- </screen>
- <screen index="1">
- <bounds x="640" y="0" width="640" height="480" />
- </screen>
- <screen index="2">
- <bounds x="1280" y="0" width="640" height="480" />
- </screen>
- <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
- <bounds x="1886" y="414" width="32" height="64" />
- <color alpha="0.6" />
- </element>
- </view>
- <view name="Triple-Screen Shifter-L">
+<!-- build screen -->
+
+ <view name="Triple-Screen + Shifter">
<screen index="0">
<bounds x="0" y="0" width="640" height="480" />
</screen>
@@ -78,29 +68,109 @@ license:CC0
<bounds x="1280" y="0" width="640" height="480" />
</screen>
- <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
- <bounds x="2" y="414" width="32" height="64" />
- <color alpha="0.6" />
- </element>
- </view>
- <view name="Single-Screen Shifter-R">
- <screen index="1">
- <bounds x="0" y="0" width="640" height="480" />
- </screen>
+ <!-- shifter options -->
+ <collection name="Shifter-R Overlay" visible="yes">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="1886" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="* Opaque" visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="1886" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-R Off-screen" visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="1928" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="* Opaque " visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="1928" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
- <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
- <bounds x="606" y="414" width="32" height="64" />
- <color alpha="0.6" />
- </element>
+ <collection name="Shifter-L Overlay" visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="2" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="* Opaque " visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="2" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-L Off-screen" visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="-40" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="* Opaque " visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="-40" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
</view>
- <view name="Single-Screen Shifter-L">
+
+ <view name="Single-Screen + Shifter">
<screen index="1">
<bounds x="0" y="0" width="640" height="480" />
</screen>
- <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
- <bounds x="2" y="414" width="32" height="64" />
- <color alpha="0.6" />
- </element>
+ <!-- shifter options -->
+ <collection name="Shifter-R Overlay" visible="yes">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="606" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="* Opaque" visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="606" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-R Off-screen" visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="648" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="* Opaque " visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="648" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-L Overlay" visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="2" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="* Opaque " visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="2" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-L Off-screen" visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="-40" y="414" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="* Opaque " visible="no">
+ <element ref="shifter" inputtag="soundbrd:PPI_PORTA" inputmask="0x40">
+ <bounds x="-40" y="414" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
</view>
+
</mamelayout>