summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/s11.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/s11.lay')
-rw-r--r--src/mame/layout/s11.lay111
1 files changed, 26 insertions, 85 deletions
diff --git a/src/mame/layout/s11.lay b/src/mame/layout/s11.lay
index b22a6e04108..9f6012cebd7 100644
--- a/src/mame/layout/s11.lay
+++ b/src/mame/layout/s11.lay
@@ -28,103 +28,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="24" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="0" width="20" height="39" />
+ </element>
+ </repeat>
+ </group>
+
<view name="Default Layout">
<bounds left="0" top="25" right="364" bottom="249" />
<!-- LEDs -->
<!-- Player 1 Score -->
-
- <element name="digit1" ref="digit">
- <bounds left="10" top="45" right="30" bottom="84" />
- </element>
- <element name="digit2" ref="digit">
- <bounds left="34" top="45" right="54" bottom="84" />
- </element>
- <element name="digit3" ref="digit">
- <bounds left="58" top="45" right="78" bottom="84" />
- </element>
- <element name="digit4" ref="digit">
- <bounds left="82" top="45" right="102" bottom="84" />
- </element>
- <element name="digit5" ref="digit">
- <bounds left="106" top="45" right="126" bottom="84" />
- </element>
- <element name="digit6" ref="digit">
- <bounds left="130" top="45" right="150" bottom="84" />
- </element>
- <element name="digit7" ref="digit">
- <bounds left="154" top="45" right="174" bottom="84" />
- </element>
+ <param name="s" value="1" />
+ <group ref="score">
+ <bounds left="10" top="45" right="174" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit9" ref="digit">
- <bounds left="190" top="45" right="210" bottom="84" />
- </element>
- <element name="digit10" ref="digit">
- <bounds left="214" top="45" right="234" bottom="84" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="238" top="45" right="258" bottom="84" />
- </element>
- <element name="digit12" ref="digit">
- <bounds left="262" top="45" right="282" bottom="84" />
- </element>
- <element name="digit13" ref="digit">
- <bounds left="286" top="45" right="306" bottom="84" />
- </element>
- <element name="digit14" ref="digit">
- <bounds left="310" top="45" right="330" bottom="84" />
- </element>
- <element name="digit15" ref="digit">
- <bounds left="334" top="45" right="354" bottom="84" />
- </element>
+ <param name="s" value="9" />
+ <group ref="score">
+ <bounds left="190" top="45" right="354" bottom="84" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit17" ref="digit">
- <bounds left="10" top="100" right="30" bottom="139" />
- </element>
- <element name="digit18" ref="digit">
- <bounds left="34" top="100" right="54" bottom="139" />
- </element>
- <element name="digit19" ref="digit">
- <bounds left="58" top="100" right="78" bottom="139" />
- </element>
- <element name="digit20" ref="digit">
- <bounds left="82" top="100" right="102" bottom="139" />
- </element>
- <element name="digit21" ref="digit">
- <bounds left="106" top="100" right="126" bottom="139" />
- </element>
- <element name="digit22" ref="digit">
- <bounds left="130" top="100" right="150" bottom="139" />
- </element>
- <element name="digit23" ref="digit">
- <bounds left="154" top="100" right="174" bottom="139" />
- </element>
+ <param name="s" value="17" />
+ <group ref="score">
+ <bounds left="10" top="100" right="174" bottom="139" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit25" ref="digit">
- <bounds left="190" top="100" right="210" bottom="139" />
- </element>
- <element name="digit26" ref="digit">
- <bounds left="214" top="100" right="234" bottom="139" />
- </element>
- <element name="digit27" ref="digit">
- <bounds left="238" top="100" right="258" bottom="139" />
- </element>
- <element name="digit28" ref="digit">
- <bounds left="262" top="100" right="282" bottom="139" />
- </element>
- <element name="digit29" ref="digit">
- <bounds left="286" top="100" right="306" bottom="139" />
- </element>
- <element name="digit30" ref="digit">
- <bounds left="310" top="100" right="330" bottom="139" />
- </element>
- <element name="digit31" ref="digit">
- <bounds left="334" top="100" right="354" bottom="139" />
- </element>
+ <param name="s" value="25" />
+ <group ref="score">
+ <bounds left="190" top="100" right="354" bottom="139" />
+ </group>
<!-- Credits and Balls -->
<element name="digit16" ref="digit">