summaryrefslogtreecommitdiffstats
path: root/src/mame/layout/unkeinv.lay
blob: 5b63bac106581287341185b595282c1ded30cd1c (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
<?xml version="1.0"?>
<!--
license:CC0
-->
<mamelayout version="2">

<!-- define elements -->

	<element name="led" defstate="0">
		<disk state="0"><color red="0.1" green="0.01" blue="0.015" /></disk>
		<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
	</element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="-0.5" right="18" top="-0.5" bottom="17.5" />

		<!-- invaders -->
		<element name="0.0" ref="led"><bounds x="0" y="0" width="1" height="1" /></element>
		<element name="1.0" ref="led"><bounds x="0" y="2" width="1" height="1" /></element>
		<element name="2.0" ref="led"><bounds x="0" y="4" width="1" height="1" /></element>
		<element name="3.0" ref="led"><bounds x="0" y="6" width="1" height="1" /></element>
		<element name="4.0" ref="led"><bounds x="0" y="8" width="1" height="1" /></element>

		<element name="0.1" ref="led"><bounds x="3" y="0" width="1" height="1" /></element>
		<element name="1.1" ref="led"><bounds x="3" y="2" width="1" height="1" /></element>
		<element name="2.1" ref="led"><bounds x="3" y="4" width="1" height="1" /></element>
		<element name="3.1" ref="led"><bounds x="3" y="6" width="1" height="1" /></element>
		<element name="4.1" ref="led"><bounds x="3" y="8" width="1" height="1" /></element>

		<element name="0.2" ref="led"><bounds x="6" y="0" width="1" height="1" /></element>
		<element name="1.2" ref="led"><bounds x="6" y="2" width="1" height="1" /></element>
		<element name="2.2" ref="led"><bounds x="6" y="4" width="1" height="1" /></element>
		<element name="3.2" ref="led"><bounds x="6" y="6" width="1" height="1" /></element>
		<element name="4.2" ref="led"><bounds x="6" y="8" width="1" height="1" /></element>

		<element name="0.3" ref="led"><bounds x="9" y="0" width="1" height="1" /></element>
		<element name="1.3" ref="led"><bounds x="9" y="2" width="1" height="1" /></element>
		<element name="2.3" ref="led"><bounds x="9" y="4" width="1" height="1" /></element>
		<element name="3.3" ref="led"><bounds x="9" y="6" width="1" height="1" /></element>
		<element name="4.3" ref="led"><bounds x="9" y="8" width="1" height="1" /></element>

		<element name="0.4" ref="led"><bounds x="12" y="0" width="1" height="1" /></element>
		<element name="1.4" ref="led"><bounds x="12" y="2" width="1" height="1" /></element>
		<element name="2.4" ref="led"><bounds x="12" y="4" width="1" height="1" /></element>
		<element name="3.4" ref="led"><bounds x="12" y="6" width="1" height="1" /></element>
		<element name="4.4" ref="led"><bounds x="12" y="8" width="1" height="1" /></element>

		<element name="0.5" ref="led"><bounds x="15" y="0" width="1" height="1" /></element>
		<element name="1.5" ref="led"><bounds x="15" y="2" width="1" height="1" /></element>
		<element name="2.5" ref="led"><bounds x="15" y="4" width="1" height="1" /></element>
		<element name="3.5" ref="led"><bounds x="15" y="6" width="1" height="1" /></element>
		<element name="4.5" ref="led"><bounds x="15" y="8" width="1" height="1" /></element>

		<!-- barriers -->
		<element name="5.0" ref="led"><bounds x="1.5" y="12" width="1" height="1" /></element>
		<element name="5.1" ref="led"><bounds x="4.5" y="12" width="1" height="1" /></element>
		<element name="5.2" ref="led"><bounds x="7.5" y="12" width="1" height="1" /></element>
		<element name="5.3" ref="led"><bounds x="10.5" y="12" width="1" height="1" /></element>
		<element name="5.4" ref="led"><bounds x="13.5" y="12" width="1" height="1" /></element>
		<element name="5.5" ref="led"><bounds x="16.5" y="12" width="1" height="1" /></element>

		<!-- wand -->
		<repeat count="4">
			<param name="y" start="0" increment="2" />
			<param name="n" start="0" increment="1" />
			<element ref="led" blend="add" name="~n~.7">
				<animate inputtag="IN.1" mask="0x0f" />
				<bounds state="0" x="0" y="~y~" width="1" height="1" />
				<bounds state="11" x="16.5" y="~y~" width="1" height="1" />
			</element>
		</repeat>
		<repeat count="5">
			<param name="y" start="8" increment="2" />
			<param name="n" start="0" increment="1" />
			<element ref="led" blend="add" name="~n~.6">
				<animate inputtag="IN.1" mask="0x0f" />
				<bounds state="0" x="0" y="~y~" width="1" height="1" />
				<bounds state="11" x="16.5" y="~y~" width="1" height="1" />
			</element>
		</repeat>

	</view>
</mamelayout>