summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/chessmstdm.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/chessmstdm.lay')
-rw-r--r--src/mame/layout/chessmstdm.lay75
1 files changed, 35 insertions, 40 deletions
diff --git a/src/mame/layout/chessmstdm.lay b/src/mame/layout/chessmstdm.lay
index 0e54ab3b905..ef0f394ddd5 100644
--- a/src/mame/layout/chessmstdm.lay
+++ b/src/mame/layout/chessmstdm.lay
@@ -3,7 +3,9 @@
license:CC0
-->
<mamelayout version="2">
+
<!-- define elements -->
+
<element name="black_rect">
<rect>
<color red="0.0" green="0.0" blue="0.0" />
@@ -11,25 +13,25 @@ license:CC0
</element>
<element name="digit" defstate="0">
<led16segsc>
- <color red="0.5" green="1.0" blue="0.0" />
+ <color red="0.4" green="1.0" blue="0.0" />
</led16segsc>
</element>
- <element name="led" defstate="1">
+ <element name="led" defstate="0">
<disk state="0">
- <color red="0.95" green="0.0" blue="0.0" />
+ <color red="0.20" green="0.0" blue="0.0" />
</disk>
<disk state="1">
- <color red="0.20" green="0.0" blue="0.0" />
+ <color red="1.0" green="0.0" blue="0.0" />
</disk>
</element>
<element name="hlb" defstate="0">
<disk state="0">
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
- <color red="0.0" green="0.0" blue="0.0" />
+ <color red="0.1" green="0.07" blue="0.05" />
</disk>
<disk state="1">
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
- <color red="0.4" green="0.4" blue="0.4" />
+ <color red="0.37" green="0.33" blue="0.3" />
</disk>
</element>
@@ -66,7 +68,7 @@ license:CC0
<element name="text_match"> <rect><color red="0.84" green="0.75" blue="0.50" /></rect> <text string="MATCH" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> </element>
<element name="text_time"> <rect><color red="0.84" green="0.75" blue="0.50" /></rect> <text string="TIME" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> </element>
<element name="text_enter"> <rect><color red="0.84" green="0.75" blue="0.50" /></rect> <text string="ENTER" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> </element>
- <element name="text_playmode"> <rect><color red="0.84" green="0.75" blue="0.50" /></rect> <text string="PLAYMODE" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> </element>
+ <element name="text_playmode"> <rect><color red="0.84" green="0.75" blue="0.50" /></rect> <text string="PLAY MODE" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> </element>
<element name="text_move_fore"> <rect><color red="0.84" green="0.75" blue="0.50" /></rect> <text string="MOVE FORE" ><color red="0.17" green="0.15" blue="0.15" /></text> </element>
<element name="text_move_back"> <rect><color red="0.84" green="0.75" blue="0.50" /></rect> <text string="MOVE BACK" ><color red="0.17" green="0.15" blue="0.15" /></text> </element>
@@ -105,7 +107,7 @@ license:CC0
<!-- sb board -->
- <element name="cblack"><rect><color red="0.5" green="0.14" blue="0.06" /></rect></element>
+ <element name="cblack"><rect><color red="0.53" green="0.16" blue="0.07" /></rect></element>
<element name="cwhite"><rect><color red="0.84" green="0.75" blue="0.50" /></rect></element>
<element name="hlbb" defstate="0">
@@ -192,19 +194,16 @@ license:CC0
<element ref="cblack"><bounds x="60" y="70" width="11" height="10" /></element>
<element ref="cwhite"><bounds x="70" y="70" width="10" height="10" /></element>
- <!-- LEDs -->
+ <!-- leds -->
<repeat count="8">
- <param name="y" start="8.1" increment="10" />
- <param name="i" start="1" increment="1" />
-
- <element name="led_a~i~" ref="led"><bounds x="0.3" y="~y~" width="1.5" height="1.5" /></element>
- <element name="led_b~i~" ref="led"><bounds x="10.3" y="~y~" width="1.5" height="1.5" /></element>
- <element name="led_c~i~" ref="led"><bounds x="20.3" y="~y~" width="1.5" height="1.5" /></element>
- <element name="led_d~i~" ref="led"><bounds x="30.3" y="~y~" width="1.5" height="1.5" /></element>
- <element name="led_e~i~" ref="led"><bounds x="40.3" y="~y~" width="1.5" height="1.5" /></element>
- <element name="led_f~i~" ref="led"><bounds x="50.3" y="~y~" width="1.5" height="1.5" /></element>
- <element name="led_g~i~" ref="led"><bounds x="60.3" y="~y~" width="1.5" height="1.5" /></element>
- <element name="led_h~i~" ref="led"><bounds x="70.3" y="~y~" width="1.5" height="1.5" /></element>
+ <param name="y" start="8.3" increment="10" />
+ <param name="i2" start="7" increment="-1" />
+
+ <repeat count="8">
+ <param name="x" start="0.2" increment="10" />
+ <param name="i1" start="0" increment="1" />
+ <element name="~i1~.~i2~" ref="led"><bounds x="~x~" y="~y~" width="1.5" height="1.5" /></element>
+ </repeat>
</repeat>
<!-- sensors, pieces -->
@@ -233,7 +232,6 @@ license:CC0
</group>
-
<!-- sb ui -->
<element name="hlub" defstate="0">
@@ -370,12 +368,11 @@ license:CC0
<!-- build screen -->
<view name="Internal Layout">
- <bounds left="0" right="130" top="0" bottom="90" />
-
- <element ref="cwhite"><bounds x="13" y="0" width="117" height="90" /></element>
+ <bounds left="0" right="130" top="0" bottom="89" />
- <!-- chessboard coords -->
+ <element ref="cwhite"><bounds x="13" y="0" width="117" height="89" /></element>
+ <!-- chessboard coords -->
<element ref="text_8"><bounds x="14.3" y="8.5" width="2" height="2" /></element>
<element ref="text_7"><bounds x="14.3" y="18.5" width="2" height="2" /></element>
<element ref="text_6"><bounds x="14.3" y="28.5" width="2" height="2" /></element>
@@ -394,11 +391,10 @@ license:CC0
<element ref="text_g"><bounds x="81.5" y="86" width="2" height="2" /></element>
<element ref="text_h"><bounds x="91.5" y="86" width="2" height="2" /></element>
- <!-- right side -->
-
- <element ref="text_chessmaster"><bounds x="101" y="13" width="22" height="2.8" /></element>
- <element ref="text_diamond"> <bounds x="118" y="16" width="11" height="2.5" /></element>
- <element ref="text_monitor"> <bounds x="103" y="20.5" width="10" height="2" /></element>
+ <!-- right side -->
+ <element ref="text_chessmaster"><bounds x="101" y="14.5" width="22" height="2.8" /></element>
+ <element ref="text_diamond"> <bounds x="118" y="14.8" width="11" height="2.5" /></element>
+ <element ref="text_monitor"> <bounds x="103" y="20.4" width="10" height="2" /></element>
<element ref="text_view"> <bounds x="103" y="27.5" width="14" height="2" /></element>
<element ref="text_reset"> <bounds x="111" y="24.0" width="7" height="2" /></element>
<element ref="text_function"> <bounds x="103" y="33.3" width="14" height="2" /></element>
@@ -413,10 +409,10 @@ license:CC0
<element ref="text_enter"> <bounds x="103" y="69.5" width="14" height="2" /></element>
<element ref="text_move_back"> <bounds x="101" y="84" width="12" height="2" /></element>
<element ref="text_move_fore"> <bounds x="115" y="84" width="12" height="2" /></element>
- <element ref="text_playmode"> <bounds x="105" y="74" width="10" height="2" /></element>
+ <element ref="text_playmode"> <bounds x="103" y="74" width="10" height="2" /></element>
- <element name="monitor_led" ref="led"> <bounds x="113" y="20.63" width="1.5" height="1.5" /> </element>
- <element name="playmode_led" ref="led"> <bounds x="115" y="74.13" width="1.5" height="1.5" /> </element>
+ <element name="dled0" ref="led"> <bounds x="110.5" y="20.63" width="1.5" height="1.5" /> </element>
+ <element name="dled1" ref="led"> <bounds x="112" y="74.13" width="1.5" height="1.5" /> </element>
<element name="reset_line0" ref="black_rect"> <bounds x="119.4" y="24.2" width="0.2" height="1.6" /> </element>
<element name="reset_line1" ref="black_rect"> <bounds x="116.7" y="25.0" width="2.9" height="0.2" /> </element>
@@ -431,13 +427,12 @@ license:CC0
<element ref="hlb" inputtag="BUTTONS" inputmask="0x02"><bounds x="105" y="78" width="5" height="5" /></element>
<element ref="hlb" inputtag="BUTTONS" inputmask="0x01"><bounds x="119" y="78" width="5" height="5" /></element>
- <!-- panel 16seg leds -->
-
- <element name="display_background" ref="black_rect"> <bounds x="101" y="3" width="26" height="9.2" /> </element>
- <element name="digit3" ref="digit"> <bounds x="102" y="3.5" width="5.66" height="8.5" /></element>
- <element name="digit2" ref="digit"> <bounds x="108" y="3.5" width="5.66" height="8.5" /></element>
- <element name="digit1" ref="digit"> <bounds x="114" y="3.5" width="5.66" height="8.5" /></element>
- <element name="digit0" ref="digit"> <bounds x="120" y="3.5" width="5.66" height="8.5" /></element>
+ <!-- panel 16seg leds -->
+ <element name="display_background" ref="black_rect"> <bounds x="101" y="4" width="26" height="9.2" /> </element>
+ <element name="digit3" ref="digit"> <bounds x="102" y="4.5" width="5.66" height="8.5" /></element>
+ <element name="digit2" ref="digit"> <bounds x="108" y="4.5" width="5.66" height="8.5" /></element>
+ <element name="digit1" ref="digit"> <bounds x="114" y="4.5" width="5.66" height="8.5" /></element>
+ <element name="digit0" ref="digit"> <bounds x="120" y="4.5" width="5.66" height="8.5" /></element>
<element ref="cblack"><bounds x="17" y="4" width="81" height="81" /></element>
<group ref="sb_board"><bounds x="17.5" y="4.5" width="80" height="80" /></group>