diff options
Diffstat (limited to 'src/mame/layout/turbotag.lay')
-rw-r--r-- | src/mame/layout/turbotag.lay | 127 |
1 files changed, 81 insertions, 46 deletions
diff --git a/src/mame/layout/turbotag.lay b/src/mame/layout/turbotag.lay index 84fc5950c0f..f3aac680500 100644 --- a/src/mame/layout/turbotag.lay +++ b/src/mame/layout/turbotag.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,54 +54,86 @@ license:CC0 </disk> </element> - <view name="Shifter-R"> - <screen index="0"> - <bounds x="0" y="0" width="480" height="640" /> - </screen> - <element ref="shifter" inputtag="ssio:IP0" inputmask="0x10"> - <bounds x="446" y="574" width="32" height="64" /> - <color alpha="0.6" /> - </element> - </view> - <view name="Shifter-L"> - <screen index="0"> - <bounds x="0" y="0" width="480" height="640" /> - </screen> - <element ref="shifter" inputtag="ssio:IP0" inputmask="0x10"> - <bounds x="2" y="574" width="32" height="64" /> - <color alpha="0.6" /> - </element> - </view> - <view name="Widescreen Shifter-R"> - <screen index="0"> - <bounds x="0" y="0" width="480" height="640" /> - </screen> - <element ref="shifter" inputtag="ssio:IP0" inputmask="0x10"> - <bounds x="488" y="574" width="32" height="64" /> - </element> - </view> - <view name="Widescreen Shifter-L"> - <screen index="0"> - <bounds x="0" y="0" width="480" height="640" /> - </screen> - <element ref="shifter" inputtag="ssio:IP0" inputmask="0x10"> - <bounds x="-40" y="574" width="32" height="64" /> - </element> - </view> - <view name="Vertical Widescreen Shifter-R"> - <screen index="0"> - <bounds x="0" y="0" width="480" height="640" /> - </screen> - <element ref="shifter" inputtag="ssio:IP0" inputmask="0x10"> - <bounds x="446" y="648" width="32" height="64" /> - </element> - </view> - <view name="Vertical Widescreen Shifter-L"> + +<!-- build screen --> + + <view name="Shifter"> <screen index="0"> <bounds x="0" y="0" width="480" height="640" /> </screen> - <element ref="shifter" inputtag="ssio:IP0" inputmask="0x10"> - <bounds x="2" y="648" width="32" height="64" /> - </element> + + <!-- shifter options --> + <collection name="Shifter-R Overlay" visible="yes"> + <element ref="shifter" inputtag="ssio:IP0" 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="ssio:IP0" inputmask="0x10"> + <bounds x="446" y="574" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-R Off-screen H" visible="no"> + <element ref="shifter" inputtag="ssio:IP0" 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="ssio:IP0" inputmask="0x10"> + <bounds x="488" y="574" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-R Off-screen V" visible="no"><!-- TATE --> + <element ref="shifter" inputtag="ssio:IP0" inputmask="0x10"> + <bounds x="446" y="648" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter " visible="no"> + <element ref="shifter" inputtag="ssio:IP0" inputmask="0x10"> + <bounds x="446" y="648" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-L Overlay" visible="no"> + <element ref="shifter" inputtag="ssio:IP0" 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="ssio:IP0" inputmask="0x10"> + <bounds x="2" y="574" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-L Off-screen H" visible="no"> + <element ref="shifter" inputtag="ssio:IP0" 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="ssio:IP0" inputmask="0x10"> + <bounds x="-40" y="574" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-L Off-screen V" visible="no"><!-- TATE --> + <element ref="shifter" inputtag="ssio:IP0" inputmask="0x10"> + <bounds x="2" y="648" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter " visible="no"> + <element ref="shifter" inputtag="ssio:IP0" inputmask="0x10"> + <bounds x="2" y="648" width="32" height="64" /> + </element> + </collection> + </collection> </view> + </mamelayout> |