summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-04-12 12:08:47 +0200
committer hap <happppp@users.noreply.github.com>2021-04-12 12:09:00 +0200
commit68b66ab09112028e4a5cd97d82008427fe4bc767 (patch)
tree2f0f98c87fb26146dc48d08947f8294894611a6c /src/mame/layout
parent2bedaba0a1ba942ac66860753b197490220da14f (diff)
taito_z: add electronic shutters for contcirc 3d scope
Diffstat (limited to 'src/mame/layout')
-rw-r--r--src/mame/layout/contcirc.lay39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/mame/layout/contcirc.lay b/src/mame/layout/contcirc.lay
index 0b3526f73c8..51f851fdd29 100644
--- a/src/mame/layout/contcirc.lay
+++ b/src/mame/layout/contcirc.lay
@@ -3,6 +3,13 @@
license:CC0
-->
<mamelayout version="2">
+
+<!-- define elements -->
+
+ <element name="shutter" defstate="0">
+ <rect state="1"><color red="0" green="0" blue="0" /></rect>
+ </element>
+
<element name="shifter" defstate="0">
<rect>
<bounds left="0" right="32" top="0" bottom="64" />
@@ -51,6 +58,9 @@ license:CC0
</disk>
</element>
+
+<!-- build screen -->
+
<view name="Shifter-R">
<screen index="0">
<bounds x="0" y="0" width="640" height="480" />
@@ -85,4 +95,33 @@ license:CC0
<bounds x="-40" y="414" width="32" height="64" />
</element>
</view>
+
+ <view name="3D Scope Straight View">
+ <!-- parallel-eyed -->
+ <screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen>
+ <element name="shutter1" ref="shutter"><bounds left="0" top="0" right="4" bottom="3" /></element>
+
+ <screen index="0"><bounds left="4.03" top="0" right="8.03" bottom="3" /></screen>
+ <element name="shutter0" ref="shutter"><bounds left="4.03" top="0" right="8.03" bottom="3" /></element>
+ </view>
+
+ <view name="3D Scope Cross View">
+ <!-- cross-eyed -->
+ <screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen>
+ <element name="shutter0" ref="shutter"><bounds left="0" top="0" right="4" bottom="3" /></element>
+
+ <screen index="0"><bounds left="4.03" top="0" right="8.03" bottom="3" /></screen>
+ <element name="shutter1" ref="shutter"><bounds left="4.03" top="0" right="8.03" bottom="3" /></element>
+ </view>
+
+ <view name="3D Scope Left">
+ <screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen>
+ <element name="shutter1" ref="shutter"><bounds left="0" top="0" right="4" bottom="3" /></element>
+ </view>
+
+ <view name="3D Scope Right">
+ <screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen>
+ <element name="shutter0" ref="shutter"><bounds left="0" top="0" right="4" bottom="3" /></element>
+ </view>
+
</mamelayout>