mirror of
https://github.com/holub/mame
synced 2025-07-06 02:18:09 +03:00
mdndclab.lay: remove stray escaped chars
This commit is contained in:
parent
c860119abb
commit
5972f9ffdc
@ -4,7 +4,7 @@ license:CC0
|
||||
-->
|
||||
<mamelayout version="2">
|
||||
|
||||
<!-- luascript (demo for plugin -layout) -->
|
||||
<!-- luascript (-plugin layout) -->
|
||||
<!-- this adds support for placing wall pieces by clicking between buttons -->
|
||||
|
||||
<script><![CDATA[
|
||||
@ -72,9 +72,9 @@ license:CC0
|
||||
for num, col in pairs(walls) do
|
||||
if col[1] < x and (col[1] + 2.5) > x then
|
||||
for num2, wall in pairs(col[2]) do
|
||||
if wall < y and (wall + 7.5) > y then
|
||||
if wall < y and (wall + 7.5) > y then
|
||||
local state = machine.output:get_indexed_value("colwall", (num * 10) + num2)
|
||||
machine.output:set_indexed_value("colwall", (num * 10) + num2, (~state) & 1)
|
||||
machine.output:set_indexed_value("colwall", (num * 10) + num2, (~state) & 1)
|
||||
return
|
||||
end
|
||||
end
|
||||
@ -231,8 +231,7 @@ license:CC0
|
||||
<bounds left="-16" right="81" top="-3" bottom="81" />
|
||||
</element>
|
||||
|
||||
<!-- 8*8 buttons -->
|
||||
|
||||
<!-- 8*8 buttons -->
|
||||
<element ref="hlr" inputtag="IN.9" inputmask="0x01"><bounds x="0" y="0" width="7.5" height="7.5" /></element>
|
||||
<element ref="hlr" inputtag="IN.10" inputmask="0x01"><bounds x="10" y="0" width="7.5" height="7.5" /></element>
|
||||
<element ref="hlr" inputtag="IN.11" inputmask="0x01"><bounds x="20" y="0" width="7.5" height="7.5" /></element>
|
||||
@ -305,8 +304,7 @@ license:CC0
|
||||
<element ref="hlr" inputtag="IN.6" inputmask="0x08"><bounds x="60" y="70" width="7.5" height="7.5" /></element>
|
||||
<element ref="hlr" inputtag="IN.7" inputmask="0x08"><bounds x="70" y="70" width="7.5" height="7.5" /></element>
|
||||
|
||||
<!-- wall pieces -->
|
||||
|
||||
<!-- wall pieces -->
|
||||
<element name="colwall11" ref="wall"><bounds x= "7.5" y= "0" width="2.5" height="7.5" /></element>
|
||||
<element name="colwall12" ref="wall"><bounds x= "7.5" y="10" width="2.5" height="7.5" /></element>
|
||||
<element name="colwall13" ref="wall"><bounds x= "7.5" y="20" width="2.5" height="7.5" /></element>
|
||||
@ -421,8 +419,7 @@ license:CC0
|
||||
<element name="rowwall77" ref="wall"><bounds x="60" y="67.5" width="7.5" height="2.5" /></element>
|
||||
<element name="rowwall78" ref="wall"><bounds x="70" y="67.5" width="7.5" height="2.5" /></element>
|
||||
|
||||
<!-- left side -->
|
||||
|
||||
<!-- left side -->
|
||||
<element ref="static_red"><bounds x="-12.5" y="0" width="7.5" height="7.5" /></element>
|
||||
<element ref="static_red"><bounds x="-12.5" y="10" width="7.5" height="7.5" /></element>
|
||||
<element ref="static_red"><bounds x="-12.5" y="20" width="7.5" height="7.5" /></element>
|
||||
|
@ -3,7 +3,7 @@
|
||||
license:CC0
|
||||
-->
|
||||
<mamelayout version="2">
|
||||
<!-- Lua script (demo for -plugin layout) -->
|
||||
<!-- Lua script (-plugin layout) -->
|
||||
<!-- this adds support for combining outputs to make an aggregated output -->
|
||||
<script><![CDATA[
|
||||
local ledlamps = {
|
||||
|
Loading…
Reference in New Issue
Block a user