summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/s6a.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/s6a.lay')
-rw-r--r--src/mame/layout/s6a.lay111
1 files changed, 26 insertions, 85 deletions
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">