summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/pe_poker.lay
blob: 727906af8baa9464ac7d19da271cb8027f2cf145 (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
<?xml version="1.0"?>
<!-- pe_poker.lay -->

<mamelayout version="2">
	<element name="bezel">
	</element>

	<!-- specific elements to a kind of machine -->
	<element name="hold" defstate="1">
		<rect state="0">
			<color red="0.5" green="0.5" blue="0.5" />
		</rect>
		<rect state="1">
			<color red="1.0" green="1.0" blue="1.0" />
		</rect>
		<text string="HOLD">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.1" width="1" height="0.8" />
		</text>
	</element>

	<!-- change text depending on kind of machine -->
	<element name="dealspinstart" defstate="1">
		<rect state="0">
			<color red="0.5" green="0.5" blue="0.5" />
		</rect>
		<rect state="1">
			<color red="1.0" green="1.0" blue="1.0" />
		</rect>
		<text string="DRAW">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.1" width="1" height="0.8" />
		</text>
	</element>

	<!-- shared elements by all kinds of machine -->
	<element name="dooropen" defstate="1">
		<rect state="0">
			<color red="0.5" green="0.5" blue="0.5" />
		</rect>
		<rect state="1">
			<color red="1.0" green="1.0" blue="1.0" />
		</rect>
		<text string="DOOR OPEN">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.1" width="1" height="0.8" />
		</text>
	</element>
	<element name="hopper1" defstate="1">
		<rect state="0">
			<color red="0.5" green="0.5" blue="0.5" />
		</rect>
		<rect state="1">
			<color red="1.0" green="1.0" blue="1.0" />
		</rect>
		<text string="HOPPER 1">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.1" width="1" height="0.8" />
		</text>
	</element>
	<element name="hopper2" defstate="1">
		<rect state="0">
			<color red="0.5" green="0.5" blue="0.5" />
		</rect>
		<rect state="1">
			<color red="1.0" green="1.0" blue="1.0" />
		</rect>
		<text string="HOPPER 2">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.1" width="1" height="0.8" />
		</text>
	</element>
	<element name="change" defstate="1">
		<rect state="1">
			<color red="1.0" green="0.0" blue="0.0" />
		</rect>
		<rect state="0">
			<color red="0.5" green="0.0" blue="0.0" />
		</rect>
	</element>
	<element name="changetext" defstate="1">
		<rect state="1">
			<color red="1.0" green="0.0" blue="0.0" />
		</rect>
		<rect state="0">
			<color red="0.0" green="0.0" blue="0.0" />
		</rect>
		<text string="CHANGE REQUEST ... CALLING ATTENDANT ...">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.1" width="1" height="0.8" />
		</text>
	</element>
	<element name="bet1" defstate="1">
		<rect state="0">
			<color red="0.5" green="0.5" blue="0.5" />
		</rect>
		<rect state="1">
			<color red="1.0" green="1.0" blue="1.0" />
		</rect>
		<text string="BET 1">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.1" width="1" height="0.8" />
		</text>
	</element>
	<element name="betmax" defstate="1">
		<rect state="0">
			<color red="0.5" green="0.5" blue="0.5" />
		</rect>
		<rect state="1">
			<color red="1.0" green="1.0" blue="1.0" />
		</rect>
		<text string="BET MAX">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.1" width="1" height="0.8" />
		</text>
	</element>
	<element name="cashout" defstate="1">
		<rect state="0">
			<color red="0.5" green="0.5" blue="0.5" />
		</rect>
		<rect state="1">
			<color red="1.0" green="1.0" blue="1.0" />
		</rect>
		<text string="CASHOUT">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.1" width="1" height="0.8" />
		</text>
	</element>

	<view name="Bezel Lamps">
		<screen index="0">
			<bounds left="10" top="40" right="330" bottom="240" />
		</screen>
		<bezel element="bezel">
			<bounds left="0" top="0" right="340" bottom="310" />
		</bezel>
		<!-- specific bezels to a kind of machine -->
		<bezel name="pe_bnkb0" element="hold" inputtag="IN_BANK1" inputmask="0x04">
			<bounds x="12" y="250" width="60" height="20" />
		</bezel>
		<bezel name="pe_bnkb0" element="hold" inputtag="IN_BANK1" inputmask="0x08">
			<bounds x="76" y="250" width="60" height="20" />
		</bezel>
		<bezel name="pe_bnkb0" element="hold" inputtag="IN_BANK1" inputmask="0x10">
			<bounds x="140" y="250" width="60" height="20" />
		</bezel>
		<bezel name="pe_bnkb0" element="hold" inputtag="IN_BANK1" inputmask="0x20">
			<bounds x="204" y="250" width="60" height="20" />
		</bezel>
		<bezel name="pe_bnkb0" element="hold" inputtag="IN_BANK1" inputmask="0x40">
			<bounds x="268" y="250" width="60" height="20" />
		</bezel>
		<!-- shared bezels by all kinds of machine -->
		<bezel name="pe_bnkb5" element="changetext">
			<bounds x="20" y="10" width="300" height="20" />
		</bezel>
		<bezel name="pe_bnkb1" element="dealspinstart" inputtag="IN_BANK2" inputmask="0x01">
			<bounds x="10" y="280" width="74" height="20" />
		</bezel>
		<bezel name="pe_bnkb4" element="bet1" inputtag="IN_BANK2" inputmask="0x08">
			<bounds x="92" y="280" width="74" height="20" />
		</bezel>
		<bezel name="pe_bnkb4" element="betmax" inputtag="IN_BANK2" inputmask="0x02">
			<bounds x="174" y="280" width="74" height="20" />
		</bezel>
		<bezel name="pe_bnkb2" element="cashout" inputtag="IN_BANK2" inputmask="0x10">
			<bounds x="256" y="280" width="74" height="20" />
		</bezel>
	</view>

	<view name="Debug Lamps">
		<screen index="0">
			<bounds left="10" top="40" right="330" bottom="240" />
		</screen>
		<bezel element="bezel">
			<bounds left="0" top="0" right="340" bottom="310" />
		</bezel>
		<!-- specific bezels to a kind of machine -->
		<bezel name="pe_bnkb3" element="hold">
			<bounds x="12" y="250" width="60" height="20" />
		</bezel>
		<bezel name="pe_bnkb0" element="hold">
			<bounds x="76" y="250" width="60" height="20" />
		</bezel>
		<bezel name="pe_bnkb0" element="hold">
			<bounds x="140" y="250" width="60" height="20" />
		</bezel>
		<bezel name="pe_bnkb0" element="hold">
			<bounds x="204" y="250" width="60" height="20" />
		</bezel>
		<bezel name="pe_bnkb7" element="hold">
			<bounds x="268" y="250" width="60" height="20" />
		</bezel>
		<!-- shared bezels by all kinds of machine -->
		<bezel name="pe_bnkb6" element="dooropen">
			<bounds x="10" y="10" width="90" height="20" />
		</bezel>
		<bezel name="pe_bnka4" element="hopper1">
			<bounds x="110" y="10" width="90" height="20" />
		</bezel>
		<bezel name="pe_bnka5" element="hopper2">
			<bounds x="210" y="10" width="90" height="20" />
		</bezel>
		<bezel name="pe_bnkb5" element="change">
			<bounds x="310" y="10" width="20" height="20" />
		</bezel>
		<bezel name="pe_bnkb1" element="dealspinstart">
			<bounds x="10" y="280" width="74" height="20" />
		</bezel>
		<bezel name="pe_bnkb4" element="bet1">
			<bounds x="92" y="280" width="74" height="20" />
		</bezel>
		<bezel name="pe_bnkb4" element="betmax">
			<bounds x="174" y="280" width="74" height="20" />
		</bezel>
		<bezel name="pe_bnkb2" element="cashout">
			<bounds x="256" y="280" width="74" height="20" />
		</bezel>
	</view>
</mamelayout>