summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/sc1_vfd.lay
blob: a0383204590141a8afc5ac444ad568bbece4b5cd (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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<?xml version="1.0"?>
<!--
license:CC0-1.0
-->
<mamelayout version="2">
	<element name="matrixlamp">
		<rect state ="0">
			<bounds x="0" y="0" width="7" height="7" />
			<color red="0.7" green="0.7" blue="0.7" />
		</rect>
		<rect state ="1">
			<bounds x="0" y="0" width="7" height="7" />
			<color red="0.0" green="0.0" blue="1.0" />
		</rect>
		<rect state ="2">
			<bounds x="0" y="0" width="7" height="7" />
			<color red="0.0" green="1.0" blue="0.0" />
		</rect>
	</element>
	<element name="vfd0" defstate="0x1ffff">
		<image statemask="0x10000">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 5.5751489,10.110863 H 9.2604166 L 8.4572172,16.772693 H 6.2366072 Z" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00001">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path id="path51" d="M 12.90516,10.161109 H 27.856267 L 27.855142,11.50959 25.338095,13.075909 16.051038,13.114959 Z M 42.417243,10.261023 27.856267,10.161109 27.855142,11.50959 30.414805,13.072751 39.535834,13.078433 Z" style="fill:#ffffff" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00002">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.264583px" stroke-linecap="butt" stroke-linejoin="miter" stroke-opacity="1" d="M 42.041575,37.421477 44.179731,12.225859 41.259013,14.668866 39.415835,35.906298 C 40.081949,36.93419 40.845977,37.717294 42.041575,37.421477 Z" id="path51-7-2" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00004">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.264583px" stroke-linecap="butt" stroke-linejoin="miter" stroke-opacity="1" d="M 39.447351,64.530474 41.585507,39.334856 38.664789,41.777863 36.821611,63.015295 C 37.487725,64.043187 38.251753,64.826291 39.447351,64.530474 Z" id="path51-7-2-8" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00008">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path id="path51-9" d="M 7.8556158,67.704626 H 22.806723 L 22.805598,66.356145 20.288551,64.789826 11.001494,64.750776 Z M 37.367699,67.604712 22.806723,67.704626 22.805598,66.356145 25.365261,64.792984 34.48629,64.787302 Z" style="fill:#ffffff" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00010">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 8.5178274,39.889769 6.3796714,65.194461 9.3003894,62.740878 11.143568,41.411507 C 10.477453,40.379165 9.7134253,39.592671 8.5178274,39.889769 Z" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00020">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 9.0129335,37.364834 11.315997,11.79124 14.142221,14.423235 12.205637,34.951962 C 11.539523,35.979854 10.208531,37.660651 9.0129335,37.364834 Z" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00040">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 12.992931,37.136159 22.584077,37.183409 23.906994,38.695313 22.489583,40.112723 12.945685,40.159973 11.528274,38.600823 Z" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00080">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 37.649496,37.177873 28.483255,37.092673 27.05925,38.63486 28.434606,39.959389 37.69534,40.003549 39.070697,38.546569 Z" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00100">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 24.237412,35.484203 26.278328,14.695194 27.820515,13.271189 29.145044,14.646546 27.252076,34.868589 25.606108,36.999898 Z" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00200">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 21.697521,62.566148 23.738437,41.777139 25.314033,40.219499 26.605153,41.728491 24.645368,62.518482 23.066217,64.081843 Z" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00400">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 20.980658,42.896758 20.813614,48.776688 11.860085,61.739261 12.227581,55.592061 Z" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x00800">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 22.311153,34.885786 22.419813,28.438892 16.054297,15.334578 15.956987,21.623519 Z" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x01000">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 29.950185,34.249843 30.125007,28.795136 38.522145,16.163293 38.38322,21.601787 Z" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x02000">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 28.919024,42.61391 28.344314,48.210359 34.685754,61.692648 35.051744,55.970672 Z" i/>
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x04000">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<ellipse fill="#ffffff" fill-opacity="1" stroke="#ffffff" stroke-width="0.265px" id="path464" cx="44.458858" cy="66.347984" rx="1.7706606" ry="1.837478" />
				</svg>
			]]>
		</data>
		</image>
		<image statemask="0x08000">
		<data>
			<![CDATA[
				<svg xmlns="http://www.w3.org/2000/svg" width="50" height="80">
				<path fill="#ffffff" stroke="#ffffff" stroke-width="0.265px" d="M 46.104124,70.525342 C 45.100018,72.080805 43.656399,74.554957 41.796361,74.717598 42.552502,73.33236 43.003896,71.969087 42.701352,70.476596 43.739076,71.153376 44.909534,71.06457 46.104124,70.525346 Z" />
				</svg>
			]]>
		</data>
		</image>
	</element>

	<element name="Steppers" defstate="0">
		<simplecounter maxstate="999" digits="3">
			<color red="1.0" green="1.0" blue="1.0" />
			<bounds x="0" y="0" width="1" height="1" />
		</simplecounter>
	</element>

	<group name="vfd">
		<repeat count="16">
			<param name="i" start="0" increment="1" />
			<param name="x" start="0" increment="9" />
			<element name="vfdblank~i~" ref="vfd0">
				<bounds x="~x~" y="280" width="9" height="17" />
			</element>

			<element name="vfd~i~" ref="vfd0">
				<animate name="vfdduty0" />
				<color state="0" red="0.00" green="0.6" blue="1.00" alpha="0.0"/>
				<color state="31" red="0.00" green="0.6" blue="1.00" alpha="1.0"/>
				<bounds x="~x~" y="280" width="9" height="17" />
			</element>
		</repeat>
	</group>

	<view name="VFD, Reels and Lamp Matrix">
		<element name="reel1" ref="Steppers" state="0">
			<bounds x="10" y="320" width="50" height="50" />
		</element>
		<element name="reel2" ref="Steppers" state="0">
			<bounds x="60" y="320" width="50" height="50" />
		</element>
		<element name="reel3" ref="Steppers" state="0">
			<bounds x="110" y="320" width="50" height="50" />
		</element>
		<element name="reel4" ref="Steppers" state="0">
			<bounds x="160" y="320" width="50" height="50" />
		</element>
		<element name="reel5" ref="Steppers" state="0">
			<bounds x="220" y="320" width="50" height="50" />
		</element>
		<element name="reel6" ref="Steppers" state="0">
			<bounds x="280" y="320" width="50" height="50" />
		</element>

		<repeat count="16">
			<param name="s" start="0" increment="16" />
			<param name="y" start="0" increment="8" />
			<repeat count="16">
				<param name="n" start="~s~" increment="1" />
				<param name="x" start="0" increment="8" />
				<element name="lamp~n~" ref="matrixlamp" state="0" blend="add">
					<bounds x="~x~" y="~y~" width="7" height="7" />
				</element>
			</repeat>
		</repeat>
		<group ref="vfd" />
	</view>

	<view name="VFD Only (144:17)">
		<group ref="vfd" />
	</view>
</mamelayout>