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

	<element name="road_overlay">
		<rect>
			<bounds left="0" top="0" right="256" bottom="240" />
			<color red="1" green="1" blue="1" />
		</rect>
		<rect>
			<bounds left="0" top="47" right="256" bottom="129" />
			<color red="0.95" green="0.08" blue="0.13" />
		</rect>
		<rect>
			<bounds left="0" top="159" right="256" bottom="240" />
			<color red="1.0" green="0.97" blue="0.31" />
		</rect>
	</element>

	<element name="circle_red">
		<disk>
			<color red="0.95" green="0.08" blue="0.13" />
		</disk>
	</element>
	<element name="circle_green">
		<disk>
			<color red="0.16" green="0.58" blue="0.25" />
		</disk>
	</element>
	<element name="circle_yellow">
		<disk>
			<color red="1.0" green="0.97" blue="0.31" />
		</disk>
	</element>


	<!-- NOTE: still need to add the RPM tachometers, -->
	<!-- but first figure out how they're hooked up -->

	<view name="Color Overlay">
		<screen index="0">
			<bounds left="0" top="0" right="400" bottom="300" />
		</screen>

		<element ref="road_overlay" blend="multiply">
			<bounds left="0" top="0" right="400" bottom="300" />
		</element>

		<element ref="circle_red" blend="multiply">
			<bounds x="24.5" y="168.5" width="24" height="24" />
		</element>
		<element ref="circle_green" blend="multiply">
			<bounds x="49.5" y="168.5" width="24" height="24" />
		</element>
		<element ref="circle_yellow" blend="multiply">
			<bounds x="74.5" y="168.5" width="24" height="24" />
		</element>
		<element ref="circle_yellow" blend="multiply">
			<bounds x="99.5" y="168.5" width="24" height="24" />
		</element>
		<element ref="circle_yellow" blend="multiply">
			<bounds x="124.5" y="168.5" width="24" height="24" />
		</element>

		<element ref="circle_red" blend="add">
			<bounds x="24.5" y="168.5" width="24" height="24" />
			<color red=".3" green=".3" blue=".3" />
		</element>
		<element ref="circle_green" blend="add">
			<bounds x="49.5" y="168.5" width="24" height="24" />
			<color red=".3" green=".3" blue=".3" />
		</element>
		<element ref="circle_yellow" blend="add">
			<bounds x="74.5" y="168.5" width="24" height="24" />
			<color red=".3" green=".3" blue=".3" />
		</element>
		<element ref="circle_yellow" blend="add">
			<bounds x="99.5" y="168.5" width="24" height="24" />
			<color red=".3" green=".3" blue=".3" />
		</element>
		<element ref="circle_yellow" blend="add">
			<bounds x="124.5" y="168.5" width="24" height="24" />
			<color red=".3" green=".3" blue=".3" />
		</element>

	</view>
</mamelayout>