summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-09-18 18:53:14 +1000
committer Vas Crabb <vas@vastheman.com>2020-09-18 18:53:14 +1000
commit81955da03e89f87caf872ad4fabbfadc8c290601 (patch)
treeeda938356ecb0ddfc2ec1106ed6ca78b3c3e0290 /src/mame/layout
parent63939050194d3acfdd699e0be0e6da777ddc6ce6 (diff)
Cleaned up some more layouts, made videopkr/fortune1 layout clickable
Diffstat (limited to 'src/mame/layout')
-rw-r--r--src/mame/layout/allied.lay101
-rw-r--r--src/mame/layout/eacc.lay2
-rw-r--r--src/mame/layout/emma2.lay2
-rw-r--r--src/mame/layout/epc.lay2
-rw-r--r--src/mame/layout/fireball.lay2
-rw-r--r--src/mame/layout/gp_1.lay4
-rw-r--r--src/mame/layout/gp_2.lay4
-rw-r--r--src/mame/layout/hankin.lay101
-rw-r--r--src/mame/layout/play_1.lay103
-rw-r--r--src/mame/layout/play_2.lay99
-rw-r--r--src/mame/layout/play_3.lay111
-rw-r--r--src/mame/layout/s3.lay103
-rw-r--r--src/mame/layout/s4.lay4
-rw-r--r--src/mame/layout/s6.lay103
-rw-r--r--src/mame/layout/s6a.lay111
-rw-r--r--src/mame/layout/s9.lay111
-rw-r--r--src/mame/layout/videopkr.lay102
17 files changed, 321 insertions, 744 deletions
diff --git a/src/mame/layout/allied.lay b/src/mame/layout/allied.lay
index dcf52fad9b2..96d502fc506 100644
--- a/src/mame/layout/allied.lay
+++ b/src/mame/layout/allied.lay
@@ -12,7 +12,7 @@ copyright-holders:Robbbert
</led7seg>
</element>
<element name="red_led">
- <disk><color red="1.0" green="0.0" blue="0.0" /></disk>
+ <disk state="0"><color red="1.0" green="0.0" blue="0.0" /></disk>
</element>
<element name="P0"><text string="Ball"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
@@ -22,6 +22,16 @@ copyright-holders:Robbbert
<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
+ <group name="score">
+ <repeat count="6">
+ <param name="n" start="~s~" increment="-1" />
+ <param name="x" start="0" increment="44" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="0" width="34" height="39" />
+ </element>
+ </repeat>
+ </group>
+
<view name="Default Layout">
<bounds left="0" top="20" right="274" bottom="394" />
@@ -29,85 +39,28 @@ copyright-holders:Robbbert
<!-- LEDs -->
<!-- Player 1 Score -->
-
- <element name="digit5" ref="digit">
- <bounds left="10" top="45" right="44" bottom="84" />
- </element>
- <element name="digit4" ref="digit">
- <bounds left="54" top="45" right="88" bottom="84" />
- </element>
- <element name="digit3" ref="digit">
- <bounds left="98" top="45" right="132" bottom="84" />
- </element>
- <element name="digit2" ref="digit">
- <bounds left="142" top="45" right="176" bottom="84" />
- </element>
- <element name="digit1" ref="digit">
- <bounds left="186" top="45" right="220" bottom="84" />
- </element>
- <element name="digit0" ref="digit">
- <bounds left="230" top="45" right="264" bottom="84" />
- </element>
+ <param name="s" value="5" />
+ <group ref="score">
+ <bounds left="10" top="45" right="264" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit15" ref="digit">
- <bounds left="10" top="105" right="44" bottom="144" />
- </element>
- <element name="digit14" ref="digit">
- <bounds left="54" top="105" right="88" bottom="144" />
- </element>
- <element name="digit13" ref="digit">
- <bounds left="98" top="105" right="132" bottom="144" />
- </element>
- <element name="digit12" ref="digit">
- <bounds left="142" top="105" right="176" bottom="144" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="186" top="105" right="220" bottom="144" />
- </element>
- <element name="digit10" ref="digit">
- <bounds left="230" top="105" right="264" bottom="144" />
- </element>
+ <param name="s" value="15" />
+ <group ref="score">
+ <bounds left="10" top="105" right="264" bottom="144" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit25" ref="digit">
- <bounds left="10" top="165" right="44" bottom="204" />
- </element>
- <element name="digit24" ref="digit">
- <bounds left="54" top="165" right="88" bottom="204" />
- </element>
- <element name="digit23" ref="digit">
- <bounds left="98" top="165" right="132" bottom="204" />
- </element>
- <element name="digit22" ref="digit">
- <bounds left="142" top="165" right="176" bottom="204" />
- </element>
- <element name="digit21" ref="digit">
- <bounds left="186" top="165" right="220" bottom="204" />
- </element>
- <element name="digit20" ref="digit">
- <bounds left="230" top="165" right="264" bottom="204" />
- </element>
+ <param name="s" value="25" />
+ <group ref="score">
+ <bounds left="10" top="165" right="264" bottom="204" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit35" ref="digit">
- <bounds left="10" top="225" right="44" bottom="264" />
- </element>
- <element name="digit34" ref="digit">
- <bounds left="54" top="225" right="88" bottom="264" />
- </element>
- <element name="digit33" ref="digit">
- <bounds left="98" top="225" right="132" bottom="264" />
- </element>
- <element name="digit32" ref="digit">
- <bounds left="142" top="225" right="176" bottom="264" />
- </element>
- <element name="digit31" ref="digit">
- <bounds left="186" top="225" right="220" bottom="264" />
- </element>
- <element name="digit30" ref="digit">
- <bounds left="230" top="225" right="264" bottom="264" />
- </element>
+ <param name="s" value="35" />
+ <group ref="score">
+ <bounds left="10" top="225" right="264" bottom="264" />
+ </group>
<!-- Credits and Balls -->
<element name="digit41" ref="digit">
diff --git a/src/mame/layout/eacc.lay b/src/mame/layout/eacc.lay
index 83b241f9dcf..20d058add21 100644
--- a/src/mame/layout/eacc.lay
+++ b/src/mame/layout/eacc.lay
@@ -11,7 +11,7 @@ Electronics Australia Car Computer
<led7seg><color red="0.75" green="0.0" blue="0.0" /></led7seg>
</element>
<element name="red_led">
- <disk><color red="1.0" green="0.0" blue="0.0" /></disk>
+ <disk state="0"><color red="1.0" green="0.0" blue="0.0" /></disk>
</element>
<element name="red_button" state="0">
<rect state="0"><color red="0.75" green="0.25" blue="0.25" /></rect>
diff --git a/src/mame/layout/emma2.lay b/src/mame/layout/emma2.lay
index e0586813dff..094dcadb219 100644
--- a/src/mame/layout/emma2.lay
+++ b/src/mame/layout/emma2.lay
@@ -12,7 +12,7 @@ license:CC0
</element>
<element name="red_led" defstate="1">
- <disk>
+ <disk state="0">
<color red="1.0" green="0.0" blue="0.0" />
</disk>
</element>
diff --git a/src/mame/layout/epc.lay b/src/mame/layout/epc.lay
index 833016329f5..30b31050770 100644
--- a/src/mame/layout/epc.lay
+++ b/src/mame/layout/epc.lay
@@ -9,7 +9,7 @@ LEDs for the Ericsson PC keyboard
<element name="text_caps"><text string="Caps Lock"><color red="0.7" green="0.7" blue="0.7" /></text></element>
<element name="text_num"><text string="Num Lock"><color red="0.7" green="0.7" blue="0.7" /></text></element>
<element name="text_scroll"><text string="Scroll Lock"><color red="0.7" green="0.7" blue="0.7" /></text></element>
- <element name="led" defstate="0"><disk><color red="0.85" green="0.18" blue="0.16" /></disk></element>
+ <element name="led" defstate="0"><disk state="0"><color red="0.85" green="0.18" blue="0.16" /></disk></element>
<group name="caps">
<element ref="led" name="kbled0"><bounds x="0" y="0" width="100" height="100" /></element>
diff --git a/src/mame/layout/fireball.lay b/src/mame/layout/fireball.lay
index 605696ff1e4..3c065d226cd 100644
--- a/src/mame/layout/fireball.lay
+++ b/src/mame/layout/fireball.lay
@@ -14,7 +14,7 @@ license:CC0
</element>
<element name="red_led">
- <rect>
+ <rect state="0">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
</element>
diff --git a/src/mame/layout/gp_1.lay b/src/mame/layout/gp_1.lay
index 307a2f3866e..7fb78c8d787 100644
--- a/src/mame/layout/gp_1.lay
+++ b/src/mame/layout/gp_1.lay
@@ -11,7 +11,9 @@ copyright-holders:Robbbert
</led7seg>
</element>
<element name="red_led">
- <disk state="0"><color red="1.0" green="0.0" blue="0.0" /></disk>
+ <disk state="0">
+ <color red="1.0" green="0.0" blue="0.0" />
+ </disk>
</element>
<element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
diff --git a/src/mame/layout/gp_2.lay b/src/mame/layout/gp_2.lay
index 6ea287e5e4e..eeb0089535d 100644
--- a/src/mame/layout/gp_2.lay
+++ b/src/mame/layout/gp_2.lay
@@ -11,7 +11,9 @@ copyright-holders:Robbbert
</led7seg>
</element>
<element name="red_led">
- <disk state="0"><color red="1.0" green="0.0" blue="0.0" /></disk>
+ <disk state="0">
+ <color red="1.0" green="0.0" blue="0.0" />
+ </disk>
</element>
<element name="P0"><text string="Ball"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
diff --git a/src/mame/layout/hankin.lay b/src/mame/layout/hankin.lay
index 8200df9aa70..8689fc5a5ba 100644
--- a/src/mame/layout/hankin.lay
+++ b/src/mame/layout/hankin.lay
@@ -12,7 +12,7 @@ copyright-holders:Robbbert
</led14seg>
</element>
<element name="red_led">
- <disk><color red="1.0" green="0.0" blue="0.0" /></disk>
+ <disk state="0"><color red="1.0" green="0.0" blue="0.0" /></disk>
</element>
<element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
@@ -21,91 +21,44 @@ copyright-holders:Robbbert
<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
+ <group name="score">
+ <repeat count="6">
+ <param name="n" start="5" increment="-1" />
+ <param name="x" start="0" increment="44" />
+ <element name="digit~s~~n~" ref="digit">
+ <bounds x="~x~" y="0" width="34" height="39" />
+ </element>
+ </repeat>
+ </group>
+
<view name="Default Layout">
<bounds left="0" top="20" right="274" bottom="394" />
<!-- LEDs -->
<!-- Player 1 Score -->
-
- <element name="digit05" ref="digit">
- <bounds left="10" top="45" right="44" bottom="84" />
- </element>
- <element name="digit04" ref="digit">
- <bounds left="54" top="45" right="88" bottom="84" />
- </element>
- <element name="digit03" ref="digit">
- <bounds left="98" top="45" right="132" bottom="84" />
- </element>
- <element name="digit02" ref="digit">
- <bounds left="142" top="45" right="176" bottom="84" />
- </element>
- <element name="digit01" ref="digit">
- <bounds left="186" top="45" right="220" bottom="84" />
- </element>
- <element name="digit00" ref="digit">
- <bounds left="230" top="45" right="264" bottom="84" />
- </element>
+ <param name="s" value="0" />
+ <group ref="score">
+ <bounds left="10" top="45" right="264" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit15" ref="digit">
- <bounds left="10" top="105" right="44" bottom="144" />
- </element>
- <element name="digit14" ref="digit">
- <bounds left="54" top="105" right="88" bottom="144" />
- </element>
- <element name="digit13" ref="digit">
- <bounds left="98" top="105" right="132" bottom="144" />
- </element>
- <element name="digit12" ref="digit">
- <bounds left="142" top="105" right="176" bottom="144" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="186" top="105" right="220" bottom="144" />
- </element>
- <element name="digit10" ref="digit">
- <bounds left="230" top="105" right="264" bottom="144" />
- </element>
+ <param name="s" value="1" />
+ <group ref="score">
+ <bounds left="10" top="105" right="264" bottom="144" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit25" ref="digit">
- <bounds left="10" top="165" right="44" bottom="204" />
- </element>
- <element name="digit24" ref="digit">
- <bounds left="54" top="165" right="88" bottom="204" />
- </element>
- <element name="digit23" ref="digit">
- <bounds left="98" top="165" right="132" bottom="204" />
- </element>
- <element name="digit22" ref="digit">
- <bounds left="142" top="165" right="176" bottom="204" />
- </element>
- <element name="digit21" ref="digit">
- <bounds left="186" top="165" right="220" bottom="204" />
- </element>
- <element name="digit20" ref="digit">
- <bounds left="230" top="165" right="264" bottom="204" />
- </element>
+ <param name="s" value="2" />
+ <group ref="score">
+ <bounds left="10" top="165" right="264" bottom="204" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit35" ref="digit">
- <bounds left="10" top="225" right="44" bottom="264" />
- </element>
- <element name="digit34" ref="digit">
- <bounds left="54" top="225" right="88" bottom="264" />
- </element>
- <element name="digit33" ref="digit">
- <bounds left="98" top="225" right="132" bottom="264" />
- </element>
- <element name="digit32" ref="digit">
- <bounds left="142" top="225" right="176" bottom="264" />
- </element>
- <element name="digit31" ref="digit">
- <bounds left="186" top="225" right="220" bottom="264" />
- </element>
- <element name="digit30" ref="digit">
- <bounds left="230" top="225" right="264" bottom="264" />
- </element>
+ <param name="s" value="3" />
+ <group ref="score">
+ <bounds left="10" top="225" right="264" bottom="264" />
+ </group>
<!-- Credits and Balls -->
<element name="digit41" ref="digit">
diff --git a/src/mame/layout/play_1.lay b/src/mame/layout/play_1.lay
index 4b3ffafb19f..f1e635f7935 100644
--- a/src/mame/layout/play_1.lay
+++ b/src/mame/layout/play_1.lay
@@ -12,7 +12,9 @@ copyright-holders:Robbbert
</led7seg>
</element>
<element name="red_led">
- <disk><color red="1.0" green="1.0" blue="0.0" /></disk>
+ <disk state="0">
+ <color red="1.0" green="1.0" blue="0.0" />
+ </disk>
</element>
<element name="P0"><text string="Match"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
@@ -23,91 +25,44 @@ copyright-holders:Robbbert
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P7"><text string="1 2 3 4 5"><color red="1.0" green="1.0" blue="1.0" /></text></element>
+ <group name="score">
+ <repeat count="6">
+ <param name="n" start="~s~" increment="1" />
+ <param name="x" start="0" increment="44" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="0" width="34" height="39" />
+ </element>
+ </repeat>
+ </group>
+
<view name="Default Layout">
<bounds left="0" top="20" right="274" bottom="394" />
<!-- LEDs -->
<!-- Player 1 Score -->
-
- <element name="digit0" ref="digit">
- <bounds left="10" top="45" right="44" bottom="84" />
- </element>
- <element name="digit1" ref="digit">
- <bounds left="54" top="45" right="88" bottom="84" />
- </element>
- <element name="digit2" ref="digit">
- <bounds left="98" top="45" right="132" bottom="84" />
- </element>
- <element name="digit3" ref="digit">
- <bounds left="142" top="45" right="176" bottom="84" />
- </element>
- <element name="digit4" ref="digit">
- <bounds left="186" top="45" right="220" bottom="84" />
- </element>
- <element name="digit5" ref="digit">
- <bounds left="230" top="45" right="264" bottom="84" />
- </element>
+ <param name="s" value="0" />
+ <group ref="score">
+ <bounds left="10" top="45" right="264" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit10" ref="digit">
- <bounds left="10" top="105" right="44" bottom="144" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="54" top="105" right="88" bottom="144" />
- </element>
- <element name="digit12" ref="digit">
- <bounds left="98" top="105" right="132" bottom="144" />
- </element>
- <element name="digit13" ref="digit">
- <bounds left="142" top="105" right="176" bottom="144" />
- </element>
- <element name="digit14" ref="digit">
- <bounds left="186" top="105" right="220" bottom="144" />
- </element>
- <element name="digit15" ref="digit">
- <bounds left="230" top="105" right="264" bottom="144" />
- </element>
+ <param name="s" value="10" />
+ <group ref="score">
+ <bounds left="10" top="105" right="264" bottom="144" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit20" ref="digit">
- <bounds left="10" top="165" right="44" bottom="204" />
- </element>
- <element name="digit21" ref="digit">
- <bounds left="54" top="165" right="88" bottom="204" />
- </element>
- <element name="digit22" ref="digit">
- <bounds left="98" top="165" right="132" bottom="204" />
- </element>
- <element name="digit23" ref="digit">
- <bounds left="142" top="165" right="176" bottom="204" />
- </element>
- <element name="digit24" ref="digit">
- <bounds left="186" top="165" right="220" bottom="204" />
- </element>
- <element name="digit25" ref="digit">
- <bounds left="230" top="165" right="264" bottom="204" />
- </element>
+ <param name="s" value="20" />
+ <group ref="score">
+ <bounds left="10" top="165" right="264" bottom="204" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit30" ref="digit">
- <bounds left="10" top="225" right="44" bottom="264" />
- </element>
- <element name="digit31" ref="digit">
- <bounds left="54" top="225" right="88" bottom="264" />
- </element>
- <element name="digit32" ref="digit">
- <bounds left="98" top="225" right="132" bottom="264" />
- </element>
- <element name="digit33" ref="digit">
- <bounds left="142" top="225" right="176" bottom="264" />
- </element>
- <element name="digit34" ref="digit">
- <bounds left="186" top="225" right="220" bottom="264" />
- </element>
- <element name="digit35" ref="digit">
- <bounds left="230" top="225" right="264" bottom="264" />
- </element>
+ <param name="s" value="30" />
+ <group ref="score">
+ <bounds left="10" top="225" right="264" bottom="264" />
+ </group>
<!-- Credits and Balls -->
<element name="digit40" ref="digit">
diff --git a/src/mame/layout/play_2.lay b/src/mame/layout/play_2.lay
index 2807df9e281..e33313c9540 100644
--- a/src/mame/layout/play_2.lay
+++ b/src/mame/layout/play_2.lay
@@ -20,91 +20,44 @@ copyright-holders:Robbbert
<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
+ <group name="score">
+ <repeat count="6">
+ <param name="n" start="~s~" increment="10" />
+ <param name="x" start="0" increment="44" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="0" width="34" height="39" />
+ </element>
+ </repeat>
+ </group>
+
<view name="Default Layout">
<bounds left="0" top="20" right="274" bottom="394" />
<!-- LEDs -->
<!-- Player 1 Score -->
-
- <element name="digit0" ref="digit">
- <bounds left="10" top="45" right="44" bottom="84" />
- </element>
- <element name="digit10" ref="digit">
- <bounds left="54" top="45" right="88" bottom="84" />
- </element>
- <element name="digit20" ref="digit">
- <bounds left="98" top="45" right="132" bottom="84" />
- </element>
- <element name="digit30" ref="digit">
- <bounds left="142" top="45" right="176" bottom="84" />
- </element>
- <element name="digit40" ref="digit">
- <bounds left="186" top="45" right="220" bottom="84" />
- </element>
- <element name="digit50" ref="digit">
- <bounds left="230" top="45" right="264" bottom="84" />
- </element>
+ <param name="s" value="0" />
+ <group ref="score">
+ <bounds left="10" top="45" right="264" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit1" ref="digit">
- <bounds left="10" top="105" right="44" bottom="144" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="54" top="105" right="88" bottom="144" />
- </element>
- <element name="digit21" ref="digit">
- <bounds left="98" top="105" right="132" bottom="144" />
- </element>
- <element name="digit31" ref="digit">
- <bounds left="142" top="105" right="176" bottom="144" />
- </element>
- <element name="digit41" ref="digit">
- <bounds left="186" top="105" right="220" bottom="144" />
- </element>
- <element name="digit51" ref="digit">
- <bounds left="230" top="105" right="264" bottom="144" />
- </element>
+ <param name="s" value="1" />
+ <group ref="score">
+ <bounds left="10" top="105" right="264" bottom="144" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit2" ref="digit">
- <bounds left="10" top="165" right="44" bottom="204" />
- </element>
- <element name="digit12" ref="digit">
- <bounds left="54" top="165" right="88" bottom="204" />
- </element>
- <element name="digit22" ref="digit">
- <bounds left="98" top="165" right="132" bottom="204" />
- </element>
- <element name="digit32" ref="digit">
- <bounds left="142" top="165" right="176" bottom="204" />
- </element>
- <element name="digit42" ref="digit">
- <bounds left="186" top="165" right="220" bottom="204" />
- </element>
- <element name="digit52" ref="digit">
- <bounds left="230" top="165" right="264" bottom="204" />
- </element>
+ <param name="s" value="2" />
+ <group ref="score">
+ <bounds left="10" top="165" right="264" bottom="204" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit3" ref="digit">
- <bounds left="10" top="225" right="44" bottom="264" />
- </element>
- <element name="digit13" ref="digit">
- <bounds left="54" top="225" right="88" bottom="264" />
- </element>
- <element name="digit23" ref="digit">
- <bounds left="98" top="225" right="132" bottom="264" />
- </element>
- <element name="digit33" ref="digit">
- <bounds left="142" top="225" right="176" bottom="264" />
- </element>
- <element name="digit43" ref="digit">
- <bounds left="186" top="225" right="220" bottom="264" />
- </element>
- <element name="digit53" ref="digit">
- <bounds left="230" top="225" right="264" bottom="264" />
- </element>
+ <param name="s" value="3" />
+ <group ref="score">
+ <bounds left="10" top="225" right="264" bottom="264" />
+ </group>
<!-- Credits and Balls -->
<element name="digit4" ref="digit">
diff --git a/src/mame/layout/play_3.lay b/src/mame/layout/play_3.lay
index 1679e85cc4c..44217420019 100644
--- a/src/mame/layout/play_3.lay
+++ b/src/mame/layout/play_3.lay
@@ -20,103 +20,44 @@ copyright-holders:Robbbert
<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
+ <group name="score">
+ <repeat count="7">
+ <param name="n" start="~s~" increment="10" />
+ <param name="x" start="0" increment="44" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="0" width="34" height="39" />
+ </element>
+ </repeat>
+ </group>
+
<view name="Default Layout">
<bounds left="0" top="20" right="318" bottom="394" />
<!-- LEDs -->
<!-- Player 1 Score -->
-
- <element name="digit0" ref="digit">
- <bounds left="10" top="45" right="44" bottom="84" />
- </element>
- <element name="digit10" ref="digit">
- <bounds left="54" top="45" right="88" bottom="84" />
- </element>
- <element name="digit20" ref="digit">
- <bounds left="98" top="45" right="132" bottom="84" />
- </element>
- <element name="digit30" ref="digit">
- <bounds left="142" top="45" right="176" bottom="84" />
- </element>
- <element name="digit40" ref="digit">
- <bounds left="186" top="45" right="220" bottom="84" />
- </element>
- <element name="digit50" ref="digit">
- <bounds left="230" top="45" right="264" bottom="84" />
- </element>
- <element name="digit60" ref="digit">
- <bounds left="274" top="45" right="308" bottom="84" />
- </element>
+ <param name="s" value="0" />
+ <group ref="score">
+ <bounds left="10" top="45" right="308" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit1" ref="digit">
- <bounds left="10" top="105" right="44" bottom="144" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="54" top="105" right="88" bottom="144" />
- </element>
- <element name="digit21" ref="digit">
- <bounds left="98" top="105" right="132" bottom="144" />
- </element>
- <element name="digit31" ref="digit">
- <bounds left="142" top="105" right="176" bottom="144" />
- </element>
- <element name="digit41" ref="digit">
- <bounds left="186" top="105" right="220" bottom="144" />
- </element>
- <element name="digit51" ref="digit">
- <bounds left="230" top="105" right="264" bottom="144" />
- </element>
- <element name="digit61" ref="digit">
- <bounds left="274" top="105" right="308" bottom="144" />
- </element>
+ <param name="s" value="1" />
+ <group ref="score">
+ <bounds left="10" top="105" right="308" bottom="144" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit2" ref="digit">
- <bounds left="10" top="165" right="44" bottom="204" />
- </element>
- <element name="digit12" ref="digit">
- <bounds left="54" top="165" right="88" bottom="204" />
- </element>
- <element name="digit22" ref="digit">
- <bounds left="98" top="165" right="132" bottom="204" />
- </element>
- <element name="digit32" ref="digit">
- <bounds left="142" top="165" right="176" bottom="204" />
- </element>
- <element name="digit42" ref="digit">
- <bounds left="186" top="165" right="220" bottom="204" />
- </element>
- <element name="digit52" ref="digit">
- <bounds left="230" top="165" right="264" bottom="204" />
- </element>
- <element name="digit62" ref="digit">
- <bounds left="274" top="165" right="308" bottom="204" />
- </element>
+ <param name="s" value="2" />
+ <group ref="score">
+ <bounds left="10" top="165" right="308" bottom="204" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit3" ref="digit">
- <bounds left="10" top="225" right="44" bottom="264" />
- </element>
- <element name="digit13" ref="digit">
- <bounds left="54" top="225" right="88" bottom="264" />
- </element>
- <element name="digit23" ref="digit">
- <bounds left="98" top="225" right="132" bottom="264" />
- </element>
- <element name="digit33" ref="digit">
- <bounds left="142" top="225" right="176" bottom="264" />
- </element>
- <element name="digit43" ref="digit">
- <bounds left="186" top="225" right="220" bottom="264" />
- </element>
- <element name="digit53" ref="digit">
- <bounds left="230" top="225" right="264" bottom="264" />
- </element>
- <element name="digit63" ref="digit">
- <bounds left="274" top="225" right="308" bottom="264" />
- </element>
+ <param name="s" value="3" />
+ <group ref="score">
+ <bounds left="10" top="225" right="308" bottom="264" />
+ </group>
<!-- Credits and Balls -->
<element name="digit4" ref="digit">
diff --git a/src/mame/layout/s3.lay b/src/mame/layout/s3.lay
index a8b7c7627aa..edda250d126 100644
--- a/src/mame/layout/s3.lay
+++ b/src/mame/layout/s3.lay
@@ -12,7 +12,9 @@ copyright-holders:Robbbert
</led7seg>
</element>
<element name="red_led">
- <disk><color red="1.0" green="0.0" blue="0.0" /></disk>
+ <disk state="0">
+ <color red="1.0" green="0.0" blue="0.0" />
+ </disk>
</element>
<element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
@@ -21,91 +23,44 @@ copyright-holders:Robbbert
<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
+ <group name="score">
+ <repeat count="6">
+ <param name="n" start="~s~" increment="1" />
+ <param name="x" start="0" increment="44" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="0" width="34" height="39" />
+ </element>
+ </repeat>
+ </group>
+
<view name="Default Layout">
<bounds left="0" top="20" right="274" bottom="394" />
<!-- LEDs -->
<!-- Player 1 Score -->
-
- <element name="digit0" ref="digit">
- <bounds left="10" top="45" right="44" bottom="84" />
- </element>
- <element name="digit1" ref="digit">
- <bounds left="54" top="45" right="88" bottom="84" />
- </element>
- <element name="digit2" ref="digit">
- <bounds left="98" top="45" right="132" bottom="84" />
- </element>
- <element name="digit3" ref="digit">
- <bounds left="142" top="45" right="176" bottom="84" />
- </element>
- <element name="digit4" ref="digit">
- <bounds left="186" top="45" right="220" bottom="84" />
- </element>
- <element name="digit5" ref="digit">
- <bounds left="230" top="45" right="264" bottom="84" />
- </element>
+ <param name="s" value="0" />
+ <group ref="score">
+ <bounds left="10" top="45" right="264" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit8" ref="digit">
- <bounds left="10" top="105" right="44" bottom="144" />
- </element>
- <element name="digit9" ref="digit">
- <bounds left="54" top="105" right="88" bottom="144" />
- </element>
- <element name="digit10" ref="digit">
- <bounds left="98" top="105" right="132" bottom="144" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="142" top="105" right="176" bottom="144" />
- </element>
- <element name="digit12" ref="digit">
- <bounds left="186" top="105" right="220" bottom="144" />
- </element>
- <element name="digit13" ref="digit">
- <bounds left="230" top="105" right="264" bottom="144" />
- </element>
+ <param name="s" value="8" />
+ <group ref="score">
+ <bounds left="10" top="105" right="264" bottom="144" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit16" ref="digit">
- <bounds left="10" top="165" right="44" bottom="204" />
- </element>
- <element name="digit17" ref="digit">
- <bounds left="54" top="165" right="88" bottom="204" />
- </element>
- <element name="digit18" ref="digit">
- <bounds left="98" top="165" right="132" bottom="204" />
- </element>
- <element name="digit19" ref="digit">
- <bounds left="142" top="165" right="176" bottom="204" />
- </element>
- <element name="digit20" ref="digit">
- <bounds left="186" top="165" right="220" bottom="204" />
- </element>
- <element name="digit21" ref="digit">
- <bounds left="230" top="165" right="264" bottom="204" />
- </element>
+ <param name="s" value="16" />
+ <group ref="score">
+ <bounds left="10" top="165" right="264" bottom="204" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit24" ref="digit">
- <bounds left="10" top="225" right="44" bottom="264" />
- </element>
- <element name="digit25" ref="digit">
- <bounds left="54" top="225" right="88" bottom="264" />
- </element>
- <element name="digit26" ref="digit">
- <bounds left="98" top="225" right="132" bottom="264" />
- </element>
- <element name="digit27" ref="digit">
- <bounds left="142" top="225" right="176" bottom="264" />
- </element>
- <element name="digit28" ref="digit">
- <bounds left="186" top="225" right="220" bottom="264" />
- </element>
- <element name="digit29" ref="digit">
- <bounds left="230" top="225" right="264" bottom="264" />
- </element>
+ <param name="s" value="24" />
+ <group ref="score">
+ <bounds left="10" top="225" right="264" bottom="264" />
+ </group>
<!-- Credits and Balls -->
<element name="digit14" ref="digit">
diff --git a/src/mame/layout/s4.lay b/src/mame/layout/s4.lay
index 5216060645c..edda250d126 100644
--- a/src/mame/layout/s4.lay
+++ b/src/mame/layout/s4.lay
@@ -12,7 +12,9 @@ copyright-holders:Robbbert
</led7seg>
</element>
<element name="red_led">
- <disk state="0"><color red="1.0" green="0.0" blue="0.0" /></disk>
+ <disk state="0">
+ <color red="1.0" green="0.0" blue="0.0" />
+ </disk>
</element>
<element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
diff --git a/src/mame/layout/s6.lay b/src/mame/layout/s6.lay
index 0951612d38a..961524a27da 100644
--- a/src/mame/layout/s6.lay
+++ b/src/mame/layout/s6.lay
@@ -12,7 +12,9 @@ copyright-holders:Robbbert
</led7seg>
</element>
<element name="red_led">
- <disk><color red="1.0" green="0.0" blue="0.0" /></disk>
+ <disk state="0">
+ <color red="1.0" green="0.0" blue="0.0" />
+ </disk>
</element>
<element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
@@ -21,91 +23,44 @@ copyright-holders:Robbbert
<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
+ <group name="score">
+ <repeat count="6">
+ <param name="n" start="~s~" increment="1" />
+ <param name="x" start="0" increment="44" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="0" width="34" height="39" />
+ </element>
+ </repeat>
+ </group>
+
<view name="Default Layout">
<bounds left="0" top="20" right="274" bottom="394" />
<!-- LEDs -->
<!-- Player 1 Score -->
-
- <element name="digit0" ref="digit">
- <bounds left="10" top="45" right="44" bottom="84" />
- </element>
- <element name="digit1" ref="digit">
- <bounds left="54" top="45" right="88" bottom="84" />
- </element>
- <element name="digit2" ref="digit">
- <bounds left="98" top="45" right="132" bottom="84" />
- </element>
- <element name="digit3" ref="digit">
- <bounds left="142" top="45" right="176" bottom="84" />
- </element>
- <element name="digit4" ref="digit">
- <bounds left="186" top="45" right="220" bottom="84" />
- </element>
- <element name="digit5" ref="digit">
- <bounds left="230" top="45" right="264" bottom="84" />
- </element>
+ <param name="s" value="0" />
+ <group ref="score">
+ <bounds left="10" top="45" right="264" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit8" ref="digit">
- <bounds left="10" top="105" right="44" bottom="144" />
- </element>
- <element name="digit9" ref="digit">
- <bounds left="54" top="105" right="88" bottom="144" />
- </element>
- <element name="digit10" ref="digit">
- <bounds left="98" top="105" right="132" bottom="144" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="142" top="105" right="176" bottom="144" />
- </element>
- <element name="digit12" ref="digit">
- <bounds left="186" top="105" right="220" bottom="144" />
- </element>
- <element name="digit13" ref="digit">
- <bounds left="230" top="105" right="264" bottom="144" />
- </element>
+ <param name="s" value="8" />
+ <group ref="score">
+ <bounds left="10" top="105" right="264" bottom="144" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit20" ref="digit">
- <bounds left="10" top="165" right="44" bottom="204" />
- </element>
- <element name="digit21" ref="digit">
- <bounds left="54" top="165" right="88" bottom="204" />
- </element>
- <element name="digit22" ref="digit">
- <bounds left="98" top="165" right="132" bottom="204" />
- </element>
- <element name="digit23" ref="digit">
- <bounds left="142" top="165" right="176" bottom="204" />
- </element>
- <element name="digit24" ref="digit">
- <bounds left="186" top="165" right="220" bottom="204" />
- </element>
- <element name="digit25" ref="digit">
- <bounds left="230" top="165" right="264" bottom="204" />
- </element>
+ <param name="s" value="20" />
+ <group ref="score">
+ <bounds left="10" top="165" right="264" bottom="204" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit28" ref="digit">
- <bounds left="10" top="225" right="44" bottom="264" />
- </element>
- <element name="digit29" ref="digit">
- <bounds left="54" top="225" right="88" bottom="264" />
- </element>
- <element name="digit30" ref="digit">
- <bounds left="98" top="225" right="132" bottom="264" />
- </element>
- <element name="digit31" ref="digit">
- <bounds left="142" top="225" right="176" bottom="264" />
- </element>
- <element name="digit32" ref="digit">
- <bounds left="186" top="225" right="220" bottom="264" />
- </element>
- <element name="digit33" ref="digit">
- <bounds left="230" top="225" right="264" bottom="264" />
- </element>
+ <param name="s" value="28" />
+ <group ref="score">
+ <bounds left="10" top="225" right="264" bottom="264" />
+ </group>
<!-- Credits and Balls -->
<element name="digit14" ref="digit">
diff --git a/src/mame/layout/s6a.lay b/src/mame/layout/s6a.lay
index 92a279b3184..bc08684e881 100644
--- a/src/mame/layout/s6a.lay
+++ b/src/mame/layout/s6a.lay
@@ -23,103 +23,44 @@ copyright-holders:Robbbert
<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
+ <group name="score">
+ <repeat count="7">
+ <param name="n" start="~s~" increment="1" />
+ <param name="x" start="0" increment="44" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="0" width="34" height="39" />
+ </element>
+ </repeat>
+ </group>
+
<view name="Default Layout">
<bounds left="0" top="20" right="318" bottom="394" />
<!-- LEDs -->
<!-- Player 1 Score -->
-
- <element name="digit1" ref="digit">
- <bounds left="10" top="45" right="44" bottom="84" />
- </element>
- <element name="digit2" ref="digit">
- <bounds left="54" top="45" right="88" bottom="84" />
- </element>
- <element name="digit3" ref="digit">
- <bounds left="98" top="45" right="132" bottom="84" />
- </element>
- <element name="digit4" ref="digit">
- <bounds left="142" top="45" right="176" bottom="84" />
- </element>
- <element name="digit5" ref="digit">
- <bounds left="186" top="45" right="220" bottom="84" />
- </element>
- <element name="digit6" ref="digit">
- <bounds left="230" top="45" right="264" bottom="84" />
- </element>
- <element name="digit7" ref="digit">
- <bounds left="274" top="45" right="308" bottom="84" />
- </element>
+ <param name="s" value="1" />
+ <group ref="score">
+ <bounds left="10" top="45" right="308" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit9" ref="digit">
- <bounds left="10" top="105" right="44" bottom="144" />
- </element>
- <element name="digit10" ref="digit">
- <bounds left="54" top="105" right="88" bottom="144" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="98" top="105" right="132" bottom="144" />
- </element>
- <element name="digit12" ref="digit">
- <bounds left="142" top="105" right="176" bottom="144" />
- </element>
- <element name="digit13" ref="digit">
- <bounds left="186" top="105" right="220" bottom="144" />
- </element>
- <element name="digit14" ref="digit">
- <bounds left="230" top="105" right="264" bottom="144" />
- </element>
- <element name="digit15" ref="digit">
- <bounds left="274" top="105" right="308" bottom="144" />
- </element>
+ <param name="s" value="9" />
+ <group ref="score">
+ <bounds left="10" top="105" right="308" bottom="144" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit17" ref="digit">
- <bounds left="10" top="165" right="44" bottom="204" />
- </element>
- <element name="digit18" ref="digit">
- <bounds left="54" top="165" right="88" bottom="204" />
- </element>
- <element name="digit19" ref="digit">
- <bounds left="98" top="165" right="132" bottom="204" />
- </element>
- <element name="digit20" ref="digit">
- <bounds left="142" top="165" right="176" bottom="204" />
- </element>
- <element name="digit21" ref="digit">
- <bounds left="186" top="165" right="220" bottom="204" />
- </element>
- <element name="digit22" ref="digit">
- <bounds left="230" top="165" right="264" bottom="204" />
- </element>
- <element name="digit23" ref="digit">
- <bounds left="274" top="165" right="308" bottom="204" />
- </element>
+ <param name="s" value="17" />
+ <group ref="score">
+ <bounds left="10" top="165" right="308" bottom="204" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit25" ref="digit">
- <bounds left="10" top="225" right="44" bottom="264" />
- </element>
- <element name="digit26" ref="digit">
- <bounds left="54" top="225" right="88" bottom="264" />
- </element>
- <element name="digit27" ref="digit">
- <bounds left="98" top="225" right="132" bottom="264" />
- </element>
- <element name="digit28" ref="digit">
- <bounds left="142" top="225" right="176" bottom="264" />
- </element>
- <element name="digit29" ref="digit">
- <bounds left="186" top="225" right="220" bottom="264" />
- </element>
- <element name="digit30" ref="digit">
- <bounds left="230" top="225" right="264" bottom="264" />
- </element>
- <element name="digit31" ref="digit">
- <bounds left="274" top="225" right="308" bottom="264" />
- </element>
+ <param name="s" value="25" />
+ <group ref="score">
+ <bounds left="10" top="225" right="308" bottom="264" />
+ </group>
<!-- Credits and Balls -->
<element name="digit16" ref="digit">
diff --git a/src/mame/layout/s9.lay b/src/mame/layout/s9.lay
index 92a279b3184..bc08684e881 100644
--- a/src/mame/layout/s9.lay
+++ b/src/mame/layout/s9.lay
@@ -23,103 +23,44 @@ copyright-holders:Robbbert
<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
+ <group name="score">
+ <repeat count="7">
+ <param name="n" start="~s~" increment="1" />
+ <param name="x" start="0" increment="44" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="0" width="34" height="39" />
+ </element>
+ </repeat>
+ </group>
+
<view name="Default Layout">
<bounds left="0" top="20" right="318" bottom="394" />
<!-- LEDs -->
<!-- Player 1 Score -->
-
- <element name="digit1" ref="digit">
- <bounds left="10" top="45" right="44" bottom="84" />
- </element>
- <element name="digit2" ref="digit">
- <bounds left="54" top="45" right="88" bottom="84" />
- </element>
- <element name="digit3" ref="digit">
- <bounds left="98" top="45" right="132" bottom="84" />
- </element>
- <element name="digit4" ref="digit">
- <bounds left="142" top="45" right="176" bottom="84" />
- </element>
- <element name="digit5" ref="digit">
- <bounds left="186" top="45" right="220" bottom="84" />
- </element>
- <element name="digit6" ref="digit">
- <bounds left="230" top="45" right="264" bottom="84" />
- </element>
- <element name="digit7" ref="digit">
- <bounds left="274" top="45" right="308" bottom="84" />
- </element>
+ <param name="s" value="1" />
+ <group ref="score">
+ <bounds left="10" top="45" right="308" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit9" ref="digit">
- <bounds left="10" top="105" right="44" bottom="144" />
- </element>
- <element name="digit10" ref="digit">
- <bounds left="54" top="105" right="88" bottom="144" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="98" top="105" right="132" bottom="144" />
- </element>
- <element name="digit12" ref="digit">
- <bounds left="142" top="105" right="176" bottom="144" />
- </element>
- <element name="digit13" ref="digit">
- <bounds left="186" top="105" right="220" bottom="144" />
- </element>
- <element name="digit14" ref="digit">
- <bounds left="230" top="105" right="264" bottom="144" />
- </element>
- <element name="digit15" ref="digit">
- <bounds left="274" top="105" right="308" bottom="144" />
- </element>
+ <param name="s" value="9" />
+ <group ref="score">
+ <bounds left="10" top="105" right="308" bottom="144" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit17" ref="digit">
- <bounds left="10" top="165" right="44" bottom="204" />
- </element>
- <element name="digit18" ref="digit">
- <bounds left="54" top="165" right="88" bottom="204" />
- </element>
- <element name="digit19" ref="digit">
- <bounds left="98" top="165" right="132" bottom="204" />
- </element>
- <element name="digit20" ref="digit">
- <bounds left="142" top="165" right="176" bottom="204" />
- </element>
- <element name="digit21" ref="digit">
- <bounds left="186" top="165" right="220" bottom="204" />
- </element>
- <element name="digit22" ref="digit">
- <bounds left="230" top="165" right="264" bottom="204" />
- </element>
- <element name="digit23" ref="digit">
- <bounds left="274" top="165" right="308" bottom="204" />
- </element>
+ <param name="s" value="17" />
+ <group ref="score">
+ <bounds left="10" top="165" right="308" bottom="204" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit25" ref="digit">
- <bounds left="10" top="225" right="44" bottom="264" />
- </element>
- <element name="digit26" ref="digit">
- <bounds left="54" top="225" right="88" bottom="264" />
- </element>
- <element name="digit27" ref="digit">
- <bounds left="98" top="225" right="132" bottom="264" />
- </element>
- <element name="digit28" ref="digit">
- <bounds left="142" top="225" right="176" bottom="264" />
- </element>
- <element name="digit29" ref="digit">
- <bounds left="186" top="225" right="220" bottom="264" />
- </element>
- <element name="digit30" ref="digit">
- <bounds left="230" top="225" right="264" bottom="264" />
- </element>
- <element name="digit31" ref="digit">
- <bounds left="274" top="225" right="308" bottom="264" />
- </element>
+ <param name="s" value="25" />
+ <group ref="score">
+ <bounds left="10" top="225" right="308" bottom="264" />
+ </group>
<!-- Credits and Balls -->
<element name="digit16" ref="digit">
diff --git a/src/mame/layout/videopkr.lay b/src/mame/layout/videopkr.lay
index a242edba8e3..23cf182dc45 100644
--- a/src/mame/layout/videopkr.lay
+++ b/src/mame/layout/videopkr.lay
@@ -4,111 +4,135 @@ license:CC0
-->
<mamelayout version="2">
<element name="L0" defstate="1">
- <rect>
- <color red="0.70" green="0.70" blue="0.0" />
+ <rect state="0">
+ <color red="0.25" green="0.25" blue="0.0" />
+ </rect>
+ <rect state="1">
+ <color red="1.00" green="1.00" blue="0.0" />
</rect>
- <text string=" DRAW " state="1">
+ <text string=" DRAW ">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<element name="L1" defstate="1">
- <rect>
- <color red="0.70" green="0.70" blue="0.0" />
+ <rect state="0">
+ <color red="0.25" green="0.25" blue="0.0" />
</rect>
- <text string=" CANCEL " state="1">
+ <rect state="1">
+ <color red="1.00" green="1.00" blue="0.0" />
+ </rect>
+ <text string=" CANCEL ">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<element name="L2" defstate="1">
- <rect>
- <color red="0.70" green="0.0" blue=".0" />
+ <rect state="0">
+ <color red="0.25" green="0.0" blue="0.0" />
</rect>
- <text string=" HOLD 1 " state="1">
+ <rect state="1">
+ <color red="1.00" green="0.0" blue="0.0" />
+ </rect>
+ <text string=" HOLD 1 ">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<element name="L3" defstate="1">
- <rect>
- <color red="0.70" green="0.0" blue="0.0" />
+ <rect state="0">
+ <color red="0.25" green="0.0" blue="0.0" />
+ </rect>
+ <rect state="1">
+ <color red="1.00" green="0.0" blue="0.0" />
</rect>
- <text string=" HOLD 2 " state="1">
+ <text string=" HOLD 2 ">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<element name="L4" defstate="1">
- <rect>
- <color red="0.70" green="0.0" blue="0.0" />
+ <rect state="0">
+ <color red="0.25" green="0.0" blue="0.0" />
+ </rect>
+ <rect state="1">
+ <color red="1.00" green="0.0" blue="0.0" />
</rect>
- <text string=" HOLD 3 " state="1">
+ <text string=" HOLD 3 ">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<element name="L5" defstate="1">
- <rect>
- <color red="0.70" green="0.0" blue="0.0" />
+ <rect state="0">
+ <color red="0.25" green="0.0" blue="0.0" />
+ </rect>
+ <rect state="1">
+ <color red="1.00" green="0.0" blue="0.0" />
</rect>
- <text string=" HOLD 4 " state="1">
+ <text string=" HOLD 4 ">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<element name="L6" defstate="1">
- <rect>
- <color red="0.70" green="0.0" blue="0.0" />
+ <rect state="0">
+ <color red="0.25" green="0.0" blue="0.0" />
</rect>
- <text string=" HOLD 5 " state="1">
+ <rect state="1">
+ <color red="1.00" green="0.0" blue="0.0" />
+ </rect>
+ <text string=" HOLD 5 ">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<element name="L7" defstate="1">
- <rect>
- <color red="0.70" green="0.70" blue="0.0" />
+ <rect state="0">
+ <color red="0.25" green="0.25" blue="0.0" />
</rect>
- <text string=" DEAL " state="1">
+ <rect state="1">
+ <color red="1.00" green="1.00" blue="0.0" />
+ </rect>
+ <text string=" DEAL ">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<element name="DSKR" defstate="1">
- <rect>
+ <rect state="0">
<color red="0.70" green="0.00" blue="0.0" />
</rect>
</element>
<element name="DSKV" defstate="1">
- <rect>
+ <rect state="0">
<color red="0.00" green="0.70" blue="0.0" />
</rect>
</element>
<element name="DSKA" defstate="1">
- <rect>
+ <rect state="0">
<color red="0.7" green="0.70" blue="0.0" />
</rect>
</element>
- <element name="BX" defstate="1">
+ <element name="BX">
<rect>
<color red="0.00" green="0.00" blue="0.0" />
</rect>
</element>
- <element name="BZ" defstate="1">
+ <element name="BZ">
<rect>
<color red="0.5" green="0.5" blue="0.5" />
</rect>
@@ -125,35 +149,35 @@ license:CC0
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
- <element name="lamp0" ref="L0">
+ <element name="lamp0" ref="L0" inputtag="IN0" inputmask="0x10">
<bounds x="0.02313" y="3.12" width="0.5" height="0.30" />
</element>
- <element name="lamp0" ref="L1">
+ <element name="lamp0" ref="L1" inputtag="IN0" inputmask="0x20">
<bounds x="0.5694" y="3.12" width="0.5" height="0.30" />
</element>
- <element name="lamp1" ref="L2">
+ <element name="lamp1" ref="L2" inputtag="IN0" inputmask="0x40">
<bounds x="1.112" y="3.12" width="0.35" height="0.30" />
</element>
- <element name="lamp1" ref="L3">
+ <element name="lamp1" ref="L3" inputtag="IN0" inputmask="0x80">
<bounds x="1.508" y="3.12" width="0.35" height="0.30" />
</element>
- <element name="lamp2" ref="L4">
+ <element name="lamp2" ref="L4" inputtag="IN1" inputmask="0x01">
<bounds x="1.904" y="3.12" width="0.35" height="0.30" />
</element>
- <element name="lamp2" ref="L5">
+ <element name="lamp2" ref="L5" inputtag="IN1" inputmask="0x02">
<bounds x="2.3" y="3.12" width="0.35" height="0.30" />
</element>
- <element name="lamp2" ref="L6">
+ <element name="lamp2" ref="L6" inputtag="IN1" inputmask="0x04">
<bounds x="2.697" y="3.12" width="0.35" height="0.30" />
</element>
- <element name="lamp3" ref="L7">
+ <element name="lamp3" ref="L7" inputtag="IN0" inputmask="0x08">
<bounds x="3.093" y="3.12" width="0.5" height="0.30" />
</element>
- <element name="" ref="BX">
+ <element ref="BX">
<bounds x="3.99" y="3.00" width="0.01" height="0.45" />
</element>
- <element name="" ref="BZ">
+ <element ref="BZ">
<bounds x="0.01" y="3.01" width="0.42" height="0.10" />
</element>