summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-09-18 14:24:15 +1000
committer Vas Crabb <vas@vastheman.com>2020-09-18 14:24:15 +1000
commitb506c0a7a1d223cd5df8894d6d4cbc3d82ea38b9 (patch)
tree8b3d7528a131a99089e1d5b0de67ebe0f0ac4f90 /src/mame/layout
parent54beaa97ff31ec20e10c17737e2be93a5862827b (diff)
Patch up a few more layouts
Diffstat (limited to 'src/mame/layout')
-rw-r--r--src/mame/layout/s4.lay101
-rw-r--r--src/mame/layout/st_mp200.lay115
-rw-r--r--src/mame/layout/tm990189.lay2
-rw-r--r--src/mame/layout/tm990189v.lay2
4 files changed, 58 insertions, 162 deletions
diff --git a/src/mame/layout/s4.lay b/src/mame/layout/s4.lay
index a8b7c7627aa..5216060645c 100644
--- a/src/mame/layout/s4.lay
+++ b/src/mame/layout/s4.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 / 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="~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/st_mp200.lay b/src/mame/layout/st_mp200.lay
index 9a822882e58..beb31822671 100644
--- a/src/mame/layout/st_mp200.lay
+++ b/src/mame/layout/st_mp200.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>
@@ -22,103 +24,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="digit6" ref="digit">
- <bounds left="10" top="45" right="44" bottom="84" />
- </element>
- <element name="digit5" ref="digit">
- <bounds left="54" top="45" right="88" bottom="84" />
- </element>
- <element name="digit4" 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="digit2" ref="digit">
- <bounds left="186" top="45" right="220" bottom="84" />
- </element>
- <element name="digit1" ref="digit">
- <bounds left="230" top="45" right="264" bottom="84" />
- </element>
- <element name="digit0" ref="digit">
- <bounds left="274" top="45" right="308" bottom="84" />
- </element>
+ <param name="s" value="6" />
+ <group ref="score">
+ <bounds left="10" top="45" right="308" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit16" ref="digit">
- <bounds left="10" top="105" right="44" bottom="144" />
- </element>
- <element name="digit15" ref="digit">
- <bounds left="54" top="105" right="88" bottom="144" />
- </element>
- <element name="digit14" 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="digit12" ref="digit">
- <bounds left="186" top="105" right="220" bottom="144" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="230" top="105" right="264" bottom="144" />
- </element>
- <element name="digit10" ref="digit">
- <bounds left="274" top="105" right="308" bottom="144" />
- </element>
+ <param name="s" value="16" />
+ <group ref="score">
+ <bounds left="10" top="105" right="308" bottom="144" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit26" ref="digit">
- <bounds left="10" top="165" right="44" bottom="204" />
- </element>
- <element name="digit25" ref="digit">
- <bounds left="54" top="165" right="88" bottom="204" />
- </element>
- <element name="digit24" 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="digit22" 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>
- <element name="digit20" ref="digit">
- <bounds left="274" top="165" right="308" bottom="204" />
- </element>
+ <param name="s" value="26" />
+ <group ref="score">
+ <bounds left="10" top="165" right="308" bottom="204" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit36" ref="digit">
- <bounds left="10" top="225" right="44" bottom="264" />
- </element>
- <element name="digit35" ref="digit">
- <bounds left="54" top="225" right="88" bottom="264" />
- </element>
- <element name="digit34" 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="digit32" ref="digit">
- <bounds left="186" top="225" right="220" bottom="264" />
- </element>
- <element name="digit31" ref="digit">
- <bounds left="230" top="225" right="264" bottom="264" />
- </element>
- <element name="digit30" ref="digit">
- <bounds left="274" top="225" right="308" bottom="264" />
- </element>
+ <param name="s" value="36" />
+ <group ref="score">
+ <bounds left="10" top="225" right="308" bottom="264" />
+ </group>
<!-- Credits and Balls -->
<element name="digit44" ref="digit">
diff --git a/src/mame/layout/tm990189.lay b/src/mame/layout/tm990189.lay
index dc6330b7c1b..5c221eb6918 100644
--- a/src/mame/layout/tm990189.lay
+++ b/src/mame/layout/tm990189.lay
@@ -9,7 +9,7 @@ license:CC0
</led7seg>
</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/tm990189v.lay b/src/mame/layout/tm990189v.lay
index d1514d55303..f2797f8849c 100644
--- a/src/mame/layout/tm990189v.lay
+++ b/src/mame/layout/tm990189v.lay
@@ -9,7 +9,7 @@ license:CC0
</led7seg>
</element>
<element name="red_led" defstate="1">
- <disk>
+ <disk state="0">
<color red="1.0" green="0.0" blue="0.0" />
</disk>
</element>