summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/mmerlin.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/mmerlin.lay')
-rw-r--r--src/mame/layout/mmerlin.lay414
1 files changed, 414 insertions, 0 deletions
diff --git a/src/mame/layout/mmerlin.lay b/src/mame/layout/mmerlin.lay
new file mode 100644
index 00000000000..4538a482149
--- /dev/null
+++ b/src/mame/layout/mmerlin.lay
@@ -0,0 +1,414 @@
+<?xml version="1.0"?>
+<mamelayout version="2">
+
+
+<!-- define elements -->
+
+ <!-- layout is based on merlin.lay, ignore unnecessary bloat -->
+
+ <element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element>
+ <element name="static_blue"><rect><color red="0.133" green="0.333" blue="0.466" /></rect></element>
+ <element name="static_darkblue"><rect><color red="0.1" green="0.25" blue="0.35" /></rect></element>
+
+ <!-- buttons are not pushbuttons, they are pressed very lightly -->
+
+ <element name="button" defstate="0">
+ <text state="0" string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <text state="1" string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk state="1">
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.33" green="0.33" blue="0.22" />
+ </disk>
+ </element>
+
+ <element name="led" defstate="0">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.30" y="0.30" width="0.40" height="0.40"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </disk>
+ <disk state="0">
+ <bounds x="0.36" y="0.36" width="0.28" height="0.28"/>
+ <color red="0.25" green="0.05" blue="0.04" />
+ </disk>
+ <disk state="1">
+ <bounds x="0.36" y="0.36" width="0.28" height="0.28"/>
+ <color red="1.0" green="0.2" blue="0.15" />
+ </disk>
+ </element>
+
+
+ <!-- number panels -->
+
+ <element name="panel_0">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="0">
+ <bounds x="0.1" y="0.13" width="0.83" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_0">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="0">
+ <bounds x="0.1" y="0.13" width="0.83" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_1">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="1">
+ <bounds x="0.1" y="0.13" width="0.83" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_2">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="2">
+ <bounds x="0.1" y="0.13" width="0.83" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_3">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="3">
+ <bounds x="0.1" y="0.13" width="0.83" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_4">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="4">
+ <bounds x="0.1" y="0.13" width="0.83" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_5">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="5">
+ <bounds x="0.1" y="0.13" width="0.83" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_6">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="6">
+ <bounds x="0.1" y="0.13" width="0.83" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_7">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="7">
+ <bounds x="0.1" y="0.13" width="0.83" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_8">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="8">
+ <bounds x="0.1" y="0.13" width="0.83" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_9">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="9">
+ <bounds x="0.1" y="0.13" width="0.83" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_10">
+ <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
+ <disk>
+ <bounds x="0.13" y="0.13" width="0.74" height="0.74"/>
+ <color red="0.68" green="0.675" blue="0.66" />
+ </disk>
+ <text string="10">
+ <bounds x="0.1" y="0.13" width="0.81" height="0.16"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+
+ <!-- bottom panels -->
+
+ <element name="panel_newgame">
+ <rect><color red="0.68" green="0.675" blue="0.66" /></rect>
+ <text string="NEW">
+ <bounds x="0.0" y="0.25" width="1.0" height="0.24"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ <text string="GAME">
+ <bounds x="0.0" y="0.50" width="1.0" height="0.24"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_samegame">
+ <rect><color red="0.68" green="0.675" blue="0.66" /></rect>
+ <text string="SAME">
+ <bounds x="0.0" y="0.25" width="1.0" height="0.24"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ <text string="GAME">
+ <bounds x="0.0" y="0.50" width="1.0" height="0.24"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_score">
+ <rect><color red="0.68" green="0.675" blue="0.66" /></rect>
+ <text string="SCORE">
+ <bounds x="0.0" y="0.37" width="1.0" height="0.24"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+ <element name="panel_compturn">
+ <rect><color red="0.68" green="0.675" blue="0.66" /></rect>
+ <text string="COMP">
+ <bounds x="0.0" y="0.25" width="1.0" height="0.24"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ <text string="TURN">
+ <bounds x="0.0" y="0.50" width="1.0" height="0.24"/>
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ </element>
+
+
+
+<!-- build screen -->
+
+ <view name="Internal Layout">
+ <bounds left="0" right="88" top="0" bottom="216" />
+ <bezel element="static_black">
+ <bounds left="0" right="88" top="0" bottom="216" />
+ </bezel>
+
+ <!-- (don't care about the upper loudspeaker+logo part) -->
+
+ <bezel element="static_darkblue">
+ <bounds x="10" y="4" width="68" height="160" />
+ </bezel>
+
+ <bezel element="static_blue">
+ <bounds x="7" y="0" width="74" height="8" />
+ </bezel>
+ <bezel element="static_blue">
+ <bounds x="4" y="14" width="80" height="128" />
+ </bezel>
+ <bezel element="static_blue">
+ <bounds x="7" y="148" width="74" height="62" />
+ </bezel>
+
+
+ <!-- number panels -->
+
+ <bezel element="panel_0">
+ <bounds x="34" y="20" width="20" height="20" />
+ </bezel>
+ <bezel name="lamp0" element="led">
+ <bounds x="34" y="20" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.0" inputmask="0x01">
+ <bounds x="34" y="20" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+
+ <bezel element="panel_1">
+ <bounds x="10" y="44" width="20" height="20" />
+ </bezel>
+ <bezel name="lamp1" element="led">
+ <bounds x="10" y="44" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.0" inputmask="0x02">
+ <bounds x="10" y="44" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+ <bezel element="panel_2">
+ <bounds x="34" y="44" width="20" height="20" />
+ </bezel>
+ <bezel name="lamp2" element="led">
+ <bounds x="34" y="44" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.0" inputmask="0x08">
+ <bounds x="34" y="44" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+ <bezel element="panel_3">
+ <bounds x="58" y="44" width="20" height="20" />
+ </bezel>
+ <bezel name="lamp3" element="led">
+ <bounds x="58" y="44" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.0" inputmask="0x04">
+ <bounds x="58" y="44" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+
+ <bezel element="panel_4">
+ <bounds x="10" y="68" width="20" height="20" />
+ </bezel>
+ <bezel name="lamp4" element="led">
+ <bounds x="10" y="68" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.1" inputmask="0x01">
+ <bounds x="10" y="68" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+ <bezel element="panel_5">
+ <bounds x="34" y="68" width="20" height="20" />
+ </bezel>
+ <bezel name="lamp5" element="led">
+ <bounds x="34" y="68" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.1" inputmask="0x02">
+ <bounds x="34" y="68" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+ <bezel element="panel_6">
+ <bounds x="58" y="68" width="20" height="20" />
+ </bezel>
+ <bezel name="lamp6" element="led">
+ <bounds x="58" y="68" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.1" inputmask="0x08">
+ <bounds x="58" y="68" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+
+ <bezel element="panel_7">
+ <bounds x="10" y="92" width="20" height="20" />
+ </bezel>
+ <bezel name="lamp7" element="led">
+ <bounds x="10" y="92" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.1" inputmask="0x04">
+ <bounds x="10" y="92" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+ <bezel element="panel_8">
+ <bounds x="34" y="92" width="20" height="20" />
+ </bezel>
+ <bezel name="lamp8" element="led">
+ <bounds x="34" y="92" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.2" inputmask="0x01">
+ <bounds x="34" y="92" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+ <bezel element="panel_9">
+ <bounds x="58" y="92" width="20" height="20" />
+ </bezel>
+ <bezel name="lamp9" element="led">
+ <bounds x="58" y="92" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.2" inputmask="0x02">
+ <bounds x="58" y="92" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+
+ <bezel element="panel_10">
+ <bounds x="34" y="116" width="20" height="20" />
+ </bezel>
+ <bezel name="lamp10" element="led">
+ <bounds x="34" y="116" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.2" inputmask="0x08">
+ <bounds x="34" y="116" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+
+
+ <!-- bottom panels -->
+
+ <bezel element="panel_newgame">
+ <bounds x="21" y="156" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.3" inputmask="0x08">
+ <bounds x="21" y="156" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+
+ <bezel element="panel_samegame">
+ <bounds x="47" y="156" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.2" inputmask="0x04">
+ <bounds x="47" y="156" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+
+ <bezel element="panel_score">
+ <bounds x="21" y="182" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.3" inputmask="0x04">
+ <bounds x="21" y="182" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+
+ <bezel element="panel_compturn">
+ <bounds x="47" y="182" width="20" height="20" />
+ </bezel>
+ <bezel element="button" inputtag="IN.3" inputmask="0x02">
+ <bounds x="47" y="182" width="20" height="20" />
+ <color alpha="0.2" />
+ </bezel>
+
+ </view>
+</mamelayout>