Skip to content

Commit fdad8d3

Browse files
committed
damesc: update checkers pieces
1 parent 61ab1c2 commit fdad8d3

File tree

3 files changed

+119
-66
lines changed

3 files changed

+119
-66
lines changed

src/mame/layout/fidel_acr.lay

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ license:CC0-1.0
44
-->
55
<mamelayout version="2">
66

7+
<!-- NOTE: no checkers pieces simulation here -->
8+
79
<!-- define elements -->
810

911
<element name="gray"><rect><color red="0.6" green="0.6" blue="0.6" /></rect></element>

src/mame/layout/fidel_cr.lay

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ license:CC0-1.0
44
-->
55
<mamelayout version="2">
66

7+
<!-- NOTE: no checkers pieces simulation here -->
8+
79
<!-- define elements -->
810

911
<element name="gray"><rect><color red="0.6" green="0.6" blue="0.6" /></rect></element>

src/mame/layout/fidel_dsc.lay

Lines changed: 115 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ license:CC0-1.0
108108
<element name="text_pb"><text string="PB"><color red="0.17" green="0.15" blue="0.15" /></text></element>
109109
<element name="text_rv"><text string="RV"><color red="0.17" green="0.15" blue="0.15" /></text></element>
110110
<element name="text_lv"><text string="LV"><color red="0.17" green="0.15" blue="0.15" /></text></element>
111-
<element name="text_wk"><text string="[K]"><color red="0.17" green="0.15" blue="0.15" /></text></element>
112-
<element name="text_bk"><text string="[K]"><color red="0.81" green="0.8" blue="0.79" /></text></element>
111+
<element name="text_wk"><text string="WK"><color red="0.17" green="0.15" blue="0.15" /></text></element> <!-- crown symbol -->
112+
<element name="text_bk"><text string="BK"><color red="0.81" green="0.8" blue="0.79" /></text></element> <!-- crown symbol -->
113113

114114

115115
<!-- sb board -->
@@ -127,126 +127,175 @@ license:CC0-1.0
127127

128128
<element name="piece" defstate="0">
129129
<rect><color alpha="0" /></rect> <!-- force unit square element bounds -->
130+
130131
<disk state="1">
131-
<bounds x="0.1" y="0.1" width="0.8" height="0.8" />
132+
<bounds xc="0.5" yc="0.5" width="0.8" height="0.8" />
133+
<color red="0" green="0" blue="0" />
134+
</disk>
135+
<disk state="1">
136+
<bounds xc="0.5" yc="0.5" width="0.76" height="0.76" />
132137
<color red="1" green="0.9" blue="0.6" />
133138
</disk>
134139
<disk state="1">
135-
<bounds x="0.18" y="0.18" width="0.64" height="0.64" />
140+
<bounds xc="0.5" yc="0.5" width="0.64" height="0.64" />
136141
<color red="0.9" green="0.72" blue="0.54" />
137142
</disk>
138143
<disk state="1">
139-
<bounds x="0.2" y="0.2" width="0.6" height="0.6" />
144+
<bounds xc="0.5" yc="0.5" width="0.6" height="0.6" />
140145
<color red="1" green="0.9" blue="0.6" />
141146
</disk>
142147

143148
<disk state="2">
144-
<bounds x="0.1" y="0.1" width="0.8" height="0.8" />
149+
<bounds xc="0.5" yc="0.5" width="0.8" height="0.8" />
150+
<color red="0" green="0" blue="0" />
151+
</disk>
152+
<disk state="2">
153+
<bounds xc="0.5" yc="0.5" width="0.76" height="0.76" />
154+
<color red="1" green="0.9" blue="0.6" />
155+
</disk>
156+
<disk state="2">
157+
<bounds xc="0.5" yc="0.4" width="0.8" height="0.8" />
158+
<color red="0" green="0" blue="0" />
159+
</disk>
160+
<disk state="2">
161+
<bounds xc="0.5" yc="0.4" width="0.76" height="0.76" />
145162
<color red="1" green="0.9" blue="0.6" />
146163
</disk>
147164
<disk state="2">
148-
<bounds x="0.18" y="0.18" width="0.64" height="0.64" />
165+
<bounds xc="0.5" yc="0.4" width="0.64" height="0.64" />
149166
<color red="0.9" green="0.72" blue="0.54" />
150167
</disk>
151168
<disk state="2">
152-
<bounds x="0.2" y="0.2" width="0.6" height="0.6" />
169+
<bounds xc="0.5" yc="0.4" width="0.6" height="0.6" />
153170
<color red="1" green="0.9" blue="0.6" />
154171
</disk>
155-
<text state="2" string="[K]">
156-
<bounds x="0.13" y="0.28" width="0.8" height="0.4" />
157-
<color red="0.75" green="0.4" blue="0" />
158-
</text>
159172

160173
<disk state="3">
161-
<bounds x="0.1" y="0.1" width="0.8" height="0.8" />
162-
<color red="0.3" green="0.1" blue="0" />
174+
<bounds xc="0.5" yc="0.5" width="0.8" height="0.8" />
175+
<color red="0" green="0" blue="0" />
176+
</disk>
177+
<disk state="3">
178+
<bounds xc="0.5" yc="0.5" width="0.76" height="0.76" />
179+
<color red="0.5" green="0.2" blue="0.05" />
163180
</disk>
164181
<disk state="3">
165-
<bounds x="0.18" y="0.18" width="0.64" height="0.64" />
166-
<color red="0.4" green="0.2" blue="0.05" />
182+
<bounds xc="0.5" yc="0.5" width="0.64" height="0.64" />
183+
<color red="0.67" green="0.27" blue="0.1" />
167184
</disk>
168185
<disk state="3">
169-
<bounds x="0.2" y="0.2" width="0.6" height="0.6" />
170-
<color red="0.3" green="0.1" blue="0" />
186+
<bounds xc="0.5" yc="0.5" width="0.6" height="0.6" />
187+
<color red="0.5" green="0.2" blue="0.05" />
171188
</disk>
172189

173190
<disk state="4">
174-
<bounds x="0.1" y="0.1" width="0.8" height="0.8" />
175-
<color red="0.3" green="0.1" blue="0" />
191+
<bounds xc="0.5" yc="0.5" width="0.8" height="0.8" />
192+
<color red="0" green="0" blue="0" />
193+
</disk>
194+
<disk state="4">
195+
<bounds xc="0.5" yc="0.5" width="0.76" height="0.76" />
196+
<color red="0.5" green="0.2" blue="0.05" />
197+
</disk>
198+
<disk state="4">
199+
<bounds xc="0.5" yc="0.4" width="0.8" height="0.8" />
200+
<color red="0" green="0" blue="0" />
176201
</disk>
177202
<disk state="4">
178-
<bounds x="0.18" y="0.18" width="0.64" height="0.64" />
179-
<color red="0.4" green="0.2" blue="0.05" />
203+
<bounds xc="0.5" yc="0.4" width="0.76" height="0.76" />
204+
<color red="0.5" green="0.2" blue="0.05" />
180205
</disk>
181206
<disk state="4">
182-
<bounds x="0.2" y="0.2" width="0.6" height="0.6" />
183-
<color red="0.3" green="0.1" blue="0" />
207+
<bounds xc="0.5" yc="0.4" width="0.64" height="0.64" />
208+
<color red="0.67" green="0.27" blue="0.1" />
209+
</disk>
210+
<disk state="4">
211+
<bounds xc="0.5" yc="0.4" width="0.6" height="0.6" />
212+
<color red="0.5" green="0.2" blue="0.05" />
184213
</disk>
185-
<text state="4" string="[K]">
186-
<bounds x="0.13" y="0.28" width="0.8" height="0.4" />
187-
<color red="0.75" green="0.2" blue="0" />
188-
</text>
189214

190215
<!-- selected pieces -->
191216
<disk state="5">
192-
<bounds x="0.1" y="0.1" width="0.8" height="0.8" />
193-
<color red="0.7" green="0.63" blue="0.42" />
217+
<bounds xc="0.5" yc="0.5" width="0.8" height="0.8" />
218+
<color red="0.205" green="0.2" blue="0.195" />
219+
</disk>
220+
<disk state="5">
221+
<bounds xc="0.5" yc="0.5" width="0.76" height="0.76" />
222+
<color red="0.705" green="0.65" blue="0.495" />
194223
</disk>
195224
<disk state="5">
196-
<bounds x="0.18" y="0.18" width="0.64" height="0.64" />
197-
<color red="0.63" green="0.504" blue="0.378" />
225+
<bounds xc="0.5" yc="0.5" width="0.64" height="0.64" />
226+
<color red="0.65" green="0.56" blue="0.465" />
198227
</disk>
199228
<disk state="5">
200-
<bounds x="0.2" y="0.2" width="0.6" height="0.6" />
201-
<color red="0.7" green="0.63" blue="0.42" />
229+
<bounds xc="0.5" yc="0.5" width="0.6" height="0.6" />
230+
<color red="0.705" green="0.65" blue="0.495" />
202231
</disk>
203232

204233
<disk state="6">
205-
<bounds x="0.1" y="0.1" width="0.8" height="0.8" />
206-
<color red="0.7" green="0.63" blue="0.42" />
234+
<bounds xc="0.5" yc="0.5" width="0.8" height="0.8" />
235+
<color red="0.205" green="0.2" blue="0.195" />
236+
</disk>
237+
<disk state="6">
238+
<bounds xc="0.5" yc="0.5" width="0.76" height="0.76" />
239+
<color red="0.705" green="0.65" blue="0.495" />
240+
</disk>
241+
<disk state="6">
242+
<bounds xc="0.5" yc="0.4" width="0.8" height="0.8" />
243+
<color red="0.205" green="0.2" blue="0.195" />
207244
</disk>
208245
<disk state="6">
209-
<bounds x="0.18" y="0.18" width="0.64" height="0.64" />
210-
<color red="0.63" green="0.504" blue="0.378" />
246+
<bounds xc="0.5" yc="0.4" width="0.76" height="0.76" />
247+
<color red="0.705" green="0.65" blue="0.495" />
211248
</disk>
212249
<disk state="6">
213-
<bounds x="0.2" y="0.2" width="0.6" height="0.6" />
214-
<color red="0.7" green="0.63" blue="0.42" />
250+
<bounds xc="0.5" yc="0.4" width="0.64" height="0.64" />
251+
<color red="0.65" green="0.56" blue="0.465" />
252+
</disk>
253+
<disk state="6">
254+
<bounds xc="0.5" yc="0.4" width="0.6" height="0.6" />
255+
<color red="0.705" green="0.65" blue="0.495" />
215256
</disk>
216-
<text state="6" string="[K]">
217-
<bounds x="0.13" y="0.28" width="0.8" height="0.4" />
218-
<color red="0.525" green="0.28" blue="0" />
219-
</text>
220257

221258
<disk state="7">
222-
<bounds x="0.1" y="0.1" width="0.8" height="0.8" />
223-
<color red="0.44" green="0.28" blue="0.14" />
259+
<bounds xc="0.5" yc="0.5" width="0.8" height="0.8" />
260+
<color red="0.205" green="0.2" blue="0.195" />
224261
</disk>
225262
<disk state="7">
226-
<bounds x="0.18" y="0.18" width="0.64" height="0.64" />
227-
<color red="0.52" green="0.36" blue="0.24" />
263+
<bounds xc="0.5" yc="0.5" width="0.76" height="0.76" />
264+
<color red="0.455" green="0.3" blue="0.22" />
228265
</disk>
229266
<disk state="7">
230-
<bounds x="0.2" y="0.2" width="0.6" height="0.6" />
231-
<color red="0.44" green="0.28" blue="0.14" />
267+
<bounds xc="0.5" yc="0.5" width="0.64" height="0.64" />
268+
<color red="0.54" green="0.335" blue="0.245" />
269+
</disk>
270+
<disk state="7">
271+
<bounds xc="0.5" yc="0.5" width="0.6" height="0.6" />
272+
<color red="0.455" green="0.3" blue="0.22" />
232273
</disk>
233274

234275
<disk state="8">
235-
<bounds x="0.1" y="0.1" width="0.8" height="0.8" />
236-
<color red="0.44" green="0.28" blue="0.14" />
276+
<bounds xc="0.5" yc="0.5" width="0.8" height="0.8" />
277+
<color red="0.205" green="0.2" blue="0.195" />
278+
</disk>
279+
<disk state="8">
280+
<bounds xc="0.5" yc="0.5" width="0.76" height="0.76" />
281+
<color red="0.455" green="0.3" blue="0.22" />
282+
</disk>
283+
<disk state="8">
284+
<bounds xc="0.5" yc="0.4" width="0.8" height="0.8" />
285+
<color red="0.205" green="0.2" blue="0.195" />
286+
</disk>
287+
<disk state="8">
288+
<bounds xc="0.5" yc="0.4" width="0.76" height="0.76" />
289+
<color red="0.455" green="0.3" blue="0.22" />
237290
</disk>
238291
<disk state="8">
239-
<bounds x="0.18" y="0.18" width="0.64" height="0.64" />
240-
<color red="0.52" green="0.36" blue="0.24" />
292+
<bounds xc="0.5" yc="0.4" width="0.64" height="0.64" />
293+
<color red="0.54" green="0.335" blue="0.245" />
241294
</disk>
242295
<disk state="8">
243-
<bounds x="0.2" y="0.2" width="0.6" height="0.6" />
244-
<color red="0.44" green="0.28" blue="0.14" />
296+
<bounds xc="0.5" yc="0.4" width="0.6" height="0.6" />
297+
<color red="0.455" green="0.3" blue="0.22" />
245298
</disk>
246-
<text state="8" string="[K]">
247-
<bounds x="0.13" y="0.28" width="0.8" height="0.4" />
248-
<color red="0.8" green="0.52" blue="0.14" />
249-
</text>
250299
</element>
251300

252301
<group name="sb_board">
@@ -255,26 +304,26 @@ license:CC0-1.0
255304
<!-- squares, labels -->
256305
<repeat count="5">
257306
<param name="y" start="0" increment="20" />
258-
<param name="yl" start="7.5" increment="20" />
307+
<param name="yl" start="7.65" increment="20" />
259308
<param name="yi" start="0" increment="1" />
260309
<repeat count="5">
261310
<param name="x" start="10" increment="20" />
262311
<param name="xl" start="15" increment="20" />
263312
<param name="xi" start="0" increment="1" />
264313
<element ref="cblack"><bounds x="~x~" y="~y~" width="10" height="10" /></element>
265-
<element ref="text_e~yi~~xi~"><bounds x="~xl~" y="~yl~" width="4.8" height="2.35" /></element>
314+
<element ref="text_e~yi~~xi~"><bounds x="~xl~" y="~yl~" width="4.9" height="2.35" /></element>
266315
</repeat>
267316
</repeat>
268317
<repeat count="5">
269318
<param name="y" start="10" increment="20" />
270-
<param name="yl" start="17.5" increment="20" />
319+
<param name="yl" start="17.65" increment="20" />
271320
<param name="yi" start="0" increment="1" />
272321
<repeat count="5">
273322
<param name="x" start="0" increment="20" />
274323
<param name="xl" start="5" increment="20" />
275324
<param name="xi" start="0" increment="1" />
276325
<element ref="cblack"><bounds x="~x~" y="~y~" width="10" height="10" /></element>
277-
<element ref="text_o~yi~~xi~"><bounds x="~xl~" y="~yl~" width="4.8" height="2.35" /></element>
326+
<element ref="text_o~yi~~xi~"><bounds x="~xl~" y="~yl~" width="4.9" height="2.35" /></element>
278327
</repeat>
279328
</repeat>
280329

@@ -435,8 +484,8 @@ license:CC0-1.0
435484
<element ref="text_lv"><bounds x="108" y="36.5" width="5" height="3" /></element>
436485
<element ref="text_cl"><bounds x="108" y="46.5" width="5" height="3" /></element>
437486
<element ref="text_rv"><bounds x="108" y="56.5" width="5" height="3" /></element>
438-
<element ref="text_wk"><bounds x="108.5" y="76.2" width="4.5" height="3" /></element>
439-
<element ref="text_bk"><bounds x="108.5" y="96.2" width="4.5" height="3" /></element>
487+
<element ref="text_wk"><bounds x="108" y="76.5" width="5" height="3" /></element>
488+
<element ref="text_bk"><bounds x="108" y="96.5" width="5" height="3" /></element>
440489

441490
<element ref="hlb" inputtag="IN.1" inputmask="0x10"><bounds x="107" y="14.5" width="7" height="7" /><color alpha="0.3" /></element>
442491
<element ref="hlb" inputtag="IN.1" inputmask="0x20"><bounds x="107" y="24.5" width="7" height="7" /><color alpha="0.3" /></element>

0 commit comments

Comments
 (0)