summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/ces_hrclass.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/ces_hrclass.lay')
-rw-r--r--src/mame/layout/ces_hrclass.lay81
1 files changed, 81 insertions, 0 deletions
diff --git a/src/mame/layout/ces_hrclass.lay b/src/mame/layout/ces_hrclass.lay
new file mode 100644
index 00000000000..7eb82301c9a
--- /dev/null
+++ b/src/mame/layout/ces_hrclass.lay
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!--
+license: CC0-1.0
+copyright-holders: Angelo Salese
+
+Home Run Classic layout
+
+-->
+<mamelayout version="2">
+ <element name="temp_color">
+ <rect>
+ <color red="0.0" green="0.05" blue="0.0"/>
+ </rect>
+ </element>
+
+ <element name="ledmatrixdot">
+ <rect>
+ <color red="0" green="0" blue="0" />
+ <bounds left="-0.05" top="-0.05" right="1.05" bottom="1.05" />
+ </rect>
+ <disk>
+ <color state="0" red="0.125" green="0.125" blue="0.125" />
+ <color state="1" red="0.125" green="1.0" blue="0.125" />
+ <color state="2" red="1.0" green="0.125" blue="0.125" />
+ <color state="3" red="1.0" green="1.0" blue="0.125" />
+ </disk>
+ </element>
+
+ <!-- subtract -8 to both of these for upper bitplane -->
+ <group name="dmd_upper">
+ <repeat count="20">
+ <param name="s" start="8" increment="8" />
+ <param name="x" start="0" increment="1" />
+ <repeat count="8">
+ <param name="n" start="~s~" increment="1" />
+ <param name="y" start="0" increment="1" />
+ <element name="ledmatrix~n~" ref="ledmatrixdot" state="0">
+ <bounds x="~x~" y="~y~" width="1" height="1" />
+ <color red="1.0" green="1.0" blue="1.0" />
+ </element>
+ </repeat>
+ </repeat>
+ </group>
+
+ <group name="dmd_lower">
+ <repeat count="20">
+ <param name="s" start="200" increment="8" />
+ <param name="x" start="0" increment="1" />
+ <repeat count="8">
+ <param name="n" start="~s~" increment="1" />
+ <param name="y" start="0" increment="1" />
+ <element name="ledmatrix~n~" ref="ledmatrixdot" state="0">
+ <bounds x="~x~" y="~y~" width="1" height="1" />
+ <color red="1.0" green="1.0" blue="1.0" />
+ </element>
+ </repeat>
+ </repeat>
+ </group>
+
+ <view name="Wall Layout">
+ <element ref="temp_color">
+ <bounds x="0" y="0" width="594" height="300"/>
+ </element>
+
+ <group ref="dmd_upper">
+ <bounds x="276" y="19" width="53" height="20" />
+ </group>
+
+ <group ref="dmd_lower">
+ <bounds x="276" y="39" width="53" height="20" />
+ </group>
+
+ <screen index="0">
+ <bounds x="32" y="211" width="128" height="64" />
+ </screen>
+
+ <screen index="1">
+ <bounds x="434" y="211" width="128" height="64" />
+ </screen>
+ </view>
+</mamelayout>