summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/contcirc.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/contcirc.lay')
-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>