summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/enforceja.lay
blob: b1614932736f2fb5c218611633b4a761bfcf0df1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<?xml version="1.0"?>
<!--
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" />
			<color red="0.85" green="0.4" blue="0.3" />
		</rect>
		<rect>
			<bounds left="2" right="30" top="2" bottom="62" />
			<color red="0.14" green="0.17" blue="0.2" />
		</rect>
		<rect>
			<bounds left="14" right="18" top="15" bottom="49" />
			<color red="0.44" green="0.47" blue="0.5" />
		</rect>
		<disk>
			<bounds left="14" right="18" top="13" bottom="17" />
			<color red="0.44" green="0.47" blue="0.5" />
		</disk>
		<disk>
			<bounds left="14" right="18" top="47" bottom="51" />
			<color red="0.44" green="0.47" blue="0.5" />
		</disk>
		<text string="LOW" state="0">
			<bounds left="3" right="29" top="2" bottom="12" />
			<color red="1.0" green="1.0" blue="0.4" />
		</text>
		<text string="LOW" state="1">
			<bounds left="3" right="29" top="2" bottom="12" />
			<color red="1.0" green="1.0" blue="1.0" />
		</text>

		<text string="HIGH" state="0">
			<bounds left="3" right="29" top="52" bottom="62" />
			<color red="1.0" green="1.0" blue="1.0" />
		</text>
		<text string="HIGH" state="1">
			<bounds left="3" right="29" top="52" bottom="62" />
			<color red="1.0" green="1.0" blue="0.4" />
		</text>
		<disk state="0">
			<bounds left="9" right="23" top="14" bottom="28" />
			<color red="0.85" green="0.4" blue="0.3" />
		</disk>
		<disk state="1">
			<bounds left="9" right="23" top="36" bottom="50" />
			<color red="0.85" green="0.4" blue="0.3" />
		</disk>
	</element>


<!-- build screen -->

	<view name="Shifter-R">
		<screen index="0">
			<bounds x="0" y="0" width="640" height="480" />
		</screen>
		<element ref="shifter" inputtag="IN2" inputmask="0x01">
			<bounds x="606" y="414" width="32" height="64" />
			<color alpha="0.6" />
		</element>
	</view>
	<view name="Shifter-L">
		<screen index="0">
			<bounds x="0" y="0" width="640" height="480" />
		</screen>
		<element ref="shifter" inputtag="IN2" inputmask="0x01">
			<bounds x="2" y="414" width="32" height="64" />
			<color alpha="0.6" />
		</element>
	</view>
	<view name="Widescreen Shifter-R">
		<screen index="0">
			<bounds x="0" y="0" width="640" height="480" />
		</screen>
		<element ref="shifter" inputtag="IN2" inputmask="0x01">
			<bounds x="648" y="414" width="32" height="64" />
		</element>
	</view>
	<view name="Widescreen Shifter-L">
		<screen index="0">
			<bounds x="0" y="0" width="640" height="480" />
		</screen>
		<element ref="shifter" inputtag="IN2" inputmask="0x01">
			<bounds x="-40" y="414" width="32" height="64" />
		</element>
	</view>

	<view name="3D Scope Straight View">
		<!-- parallel-eyed -->
		<screen index="0"><bounds x="0" y="0" width="640" height="480" /></screen>
		<element name="shutter1" ref="shutter"><bounds x="0" y="0" width="640" height="480" /></element>

		<screen index="0"><bounds x="644" y="0" width="640" height="480" /></screen>
		<element name="shutter0" ref="shutter"><bounds x="644" y="0" width="640" height="480" /></element>

		<!-- shifter options (off-screen shifter is not possible here) -->
		<collection name="Shifter-R" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="606" y="414" width="32" height="64" /><color alpha="0.6" /></element>
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="1250" y="414" width="32" height="64" /><color alpha="0.6" /></element>
		</collection>
		<collection name="Shifter-L" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="2" y="414" width="32" height="64" /><color alpha="0.6" /></element>
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="646" y="414" width="32" height="64" /><color alpha="0.6" /></element>
		</collection>
	</view>

	<view name="3D Scope Cross View">
		<!-- cross-eyed -->
		<screen index="0"><bounds x="0" y="0" width="640" height="480" /></screen>
		<element name="shutter0" ref="shutter"><bounds x="0" y="0" width="640" height="480" /></element>

		<screen index="0"><bounds x="644" y="0" width="640" height="480" /></screen>
		<element name="shutter1" ref="shutter"><bounds x="644" y="0" width="640" height="480" /></element>

		<!-- shifter options (off-screen shifter is not possible here) -->
		<collection name="Shifter-R" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="606" y="414" width="32" height="64" /><color alpha="0.6" /></element>
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="1250" y="414" width="32" height="64" /><color alpha="0.6" /></element>
		</collection>
		<collection name="Shifter-L" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="2" y="414" width="32" height="64" /><color alpha="0.6" /></element>
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="646" y="414" width="32" height="64" /><color alpha="0.6" /></element>
		</collection>
	</view>

	<view name="3D Scope Left">
		<screen index="0"><bounds x="0" y="0" width="640" height="480" /></screen>
		<element name="shutter1" ref="shutter"><bounds x="0" y="0" width="640" height="480" /></element>

		<!-- shifter options -->
		<collection name="Shifter-R" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="606" y="414" width="32" height="64" /><color alpha="0.6" /></element>
		</collection>
		<collection name="Shifter-L" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="2" y="414" width="32" height="64" /><color alpha="0.6" /></element>
		</collection>
		<collection name="Widescreen Shifter-R" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="648" y="414" width="32" height="64" /></element>
		</collection>
		<collection name="Widescreen Shifter-L" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="-40" y="414" width="32" height="64" /></element>
		</collection>
	</view>

	<view name="3D Scope Right">
		<screen index="0"><bounds x="0" y="0" width="640" height="480" /></screen>
		<element name="shutter0" ref="shutter"><bounds x="0" y="0" width="640" height="480" /></element>

		<!-- shifter options -->
		<collection name="Shifter-R" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="606" y="414" width="32" height="64" /><color alpha="0.6" /></element>
		</collection>
		<collection name="Shifter-L" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="2" y="414" width="32" height="64" /><color alpha="0.6" /></element>
		</collection>
		<collection name="Widescreen Shifter-R" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="648" y="414" width="32" height="64" /></element>
		</collection>
		<collection name="Widescreen Shifter-L" visible="no">
			<element ref="shifter" inputtag="IN2" inputmask="0x01"><bounds x="-40" y="414" width="32" height="64" /></element>
		</collection>
	</view>

</mamelayout>