summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/seawolf.lay
blob: ae60618816df460cb7c79785fc2e0a4f77789384 (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
<?xml version="1.0"?>
<mamelayout version="2">

	<element name="overlay">
		<rect>
			<bounds left="0" top="0" right="4" bottom="3" />
			<color red="0.25" green="0.5" blue="1" />
		</rect>
	</element>

<!-- define periscope lamps -->

	<element name="lamp_1" defstate="0">
		<disk state="1">
			<color red="1.0" green="0.25" blue="0.10" />
		</disk>
		<disk state="0">
			<color red="0.25" green="0.05" blue="0.0" />
		</disk>
		<text string="1">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.2" width="1" height="0.6" />
		</text>
	</element>

	<element name="lamp_2" defstate="0">
		<disk state="1">
			<color red="1.0" green="0.25" blue="0.10" />
		</disk>
		<disk state="0">
			<color red="0.25" green="0.05" blue="0.0" />
		</disk>
		<text string="2">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.2" width="1" height="0.6" />
		</text>
	</element>

	<element name="lamp_3" defstate="0">
		<disk state="1">
			<color red="1.0" green="0.25" blue="0.10" />
		</disk>
		<disk state="0">
			<color red="0.25" green="0.05" blue="0.0" />
		</disk>
		<text string="3">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.2" width="1" height="0.6" />
		</text>
	</element>

	<element name="lamp_4" defstate="0">
		<disk state="1">
			<color red="1.0" green="0.25" blue="0.10" />
		</disk>
		<disk state="0">
			<color red="0.25" green="0.05" blue="0.0" />
		</disk>
		<text string="4">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.2" width="1" height="0.6" />
		</text>
	</element>

	<element name="lamp_ready" defstate="0">
		<disk state="1">
			<color red="1.0" green="0.25" blue="0.10" />
			<bounds x="0" y="0" width="1" height="1" />
		</disk>
		<disk state="0">
			<color red="0.25" green="0.05" blue="0.0" />
			<bounds x="0" y="0" width="1" height="1" />
		</disk>

		<disk state="1">
			<color red="1.0" green="0.25" blue="0.10" />
			<bounds x="1.5" y="0" width="1" height="1" />
		</disk>
		<disk state="0">
			<color red="0.25" green="0.05" blue="0.0" />
			<bounds x="1.5" y="0" width="1" height="1" />
		</disk>

		<rect state="1">
			<color red="1.0" green="0.25" blue="0.10" />
			<bounds x="0.5" y="0" width="1.5" height="1" />
		</rect>
		<rect state="0">
			<color red="0.25" green="0.05" blue="0.0" />
			<bounds x="0.5" y="0" width="1.5" height="1" />
		</rect>

		<text string="READY">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.2" width="2.5" height="0.6" />
		</text>
	</element>

	<element name="lamp_reload" defstate="0">
		<disk state="1">
			<color red="1.0" green="0.25" blue="0.10" />
			<bounds x="0" y="0" width="1" height="1" />
		</disk>
		<disk state="0">
			<color red="0.25" green="0.05" blue="0.0" />
			<bounds x="0" y="0" width="1" height="1" />
		</disk>

		<disk state="1">
			<color red="1.0" green="0.25" blue="0.10" />
			<bounds x="1.5" y="0" width="1" height="1" />
		</disk>
		<disk state="0">
			<color red="0.25" green="0.05" blue="0.0" />
			<bounds x="1.5" y="0" width="1" height="1" />
		</disk>

		<rect state="1">
			<color red="1.0" green="0.25" blue="0.10" />
			<bounds x="0.5" y="0" width="1.5" height="1" />
		</rect>
		<rect state="0">
			<color red="0.25" green="0.05" blue="0.0" />
			<bounds x="0.5" y="0" width="1.5" height="1" />
		</rect>

		<text string="RELOAD">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.2" width="2.5" height="0.6" />
		</text>
	</element>


<!-- NOTE: does not include explosion lamps yet -->

	<view name="Lamps + Color Overlay">
		<bounds left="0" top="-90" right="400" bottom="300" />
		<screen index="0">
			<bounds left="0" top="0" right="400" bottom="300" />
		</screen>
		<overlay name="overlay" element="overlay">
			<bounds left="0" top="0" right="400" bottom="300" />
		</overlay>

		<bezel name="TORP_LAMP_1" element="lamp_1">
			<bounds x="117.5" y="-80" width="30" height="30" />
		</bezel>
		<bezel name="TORP_LAMP_2" element="lamp_2">
			<bounds x="162.5" y="-80" width="30" height="30" />
		</bezel>
		<bezel name="TORP_LAMP_3" element="lamp_3">
			<bounds x="207.5" y="-80" width="30" height="30" />
		</bezel>
		<bezel name="TORP_LAMP_4" element="lamp_4">
			<bounds x="252.5" y="-80" width="30" height="30" />
		</bezel>

		<bezel name="READY_LAMP" element="lamp_ready">
			<bounds x="117.5" y="-40" width="75" height="30" />
		</bezel>
		<bezel name="RELOAD_LAMP" element="lamp_reload">
			<bounds x="207.5" y="-40" width="75" height="30" />
		</bezel>

	</view>

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

</mamelayout>