mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
made lchicken layout clickable (nw)
This commit is contained in:
parent
435e0bd4d6
commit
4917bee717
@ -25,7 +25,7 @@
|
||||
#include "funjacks.lh" // clickable
|
||||
#include "funrlgl.lh"
|
||||
#include "h2hbaskb.lh"
|
||||
#include "lchicken.lh"
|
||||
#include "lchicken.lh" // clickable
|
||||
#include "lightfgt.lh" // clickable
|
||||
#include "mdallas.lh"
|
||||
#include "qkracer.lh"
|
||||
@ -701,7 +701,7 @@ INPUT_PORTS_END
|
||||
|
||||
CUSTOM_INPUT_MEMBER(lchicken_state::motor_switch)
|
||||
{
|
||||
return m_motor_pos > 0xeb; // approximation
|
||||
return m_motor_pos > 0xe8; // approximation
|
||||
}
|
||||
|
||||
void lchicken_state::machine_start()
|
||||
@ -1657,7 +1657,7 @@ CONS( 1980, h2hbaskb, 0, 0, h2hbaskb, h2hbaskb, driver_device, 0, "Col
|
||||
|
||||
CONS( 1981, einvaderc, einvader, 0, einvaderc, einvaderc, driver_device, 0, "Entex", "Space Invader (Entex, COP444L version)", MACHINE_SUPPORTS_SAVE )
|
||||
|
||||
CONS( 1980, lchicken, 0, 0, lchicken, lchicken, driver_device, 0, "LJN", "I Took a Lickin' From a Chicken", MACHINE_SUPPORTS_SAVE | MACHINE_MECHANICAL )
|
||||
CONS( 1980, lchicken, 0, 0, lchicken, lchicken, driver_device, 0, "LJN", "I Took a Lickin' From a Chicken", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_MECHANICAL )
|
||||
|
||||
CONS( 1979, funjacks, 0, 0, funjacks, funjacks, driver_device, 0, "Mattel", "Funtronics Jacks", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
CONS( 1979, funrlgl, 0, 0, funrlgl, funrlgl, driver_device, 0, "Mattel", "Funtronics Red Light Green Light", MACHINE_SUPPORTS_SAVE )
|
||||
|
@ -4,9 +4,19 @@
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="static_orange"><rect><color red="0.9" green="0.3" blue="0.2" /></rect></element>
|
||||
<element name="static_white"><rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
|
||||
<element name="static_white2"><rect><color red="0.7" green="0.7" blue="0.7" /></rect></element>
|
||||
|
||||
<element name="hl" defstate="0">
|
||||
<text string=" ">
|
||||
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
|
||||
<color red="0.0" green="0.0" blue="0.0" />
|
||||
</text>
|
||||
<disk state="1">
|
||||
<bounds x="0.07" y="0.07" width="0.86" height="0.86" />
|
||||
<color red="0.0" green="0.0" blue="0.0" />
|
||||
</disk>
|
||||
</element>
|
||||
|
||||
<element name="led" defstate="0">
|
||||
<disk state="0"><color red="0.2" green="0.04" blue="0.05" /></disk>
|
||||
<disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk>
|
||||
@ -82,14 +92,14 @@
|
||||
|
||||
<bezel element="static_white2"><bounds x="0" y="9.75" width="17" height="17.5" /></bezel>
|
||||
<bezel element="static_orange"><bounds x="0" y="10" width="17" height="17" /></bezel>
|
||||
<bezel name="0.2" element="led1"><bounds x="0" y="10" width="5" height="5" /></bezel>
|
||||
<bezel name="0.1" element="led2"><bounds x="6" y="10" width="5" height="5" /></bezel>
|
||||
<bezel name="0.2" element="led1"><bounds x="0" y="10" width="5" height="5" /></bezel>
|
||||
<bezel name="0.1" element="led2"><bounds x="6" y="10" width="5" height="5" /></bezel>
|
||||
<bezel name="0.0" element="led3"><bounds x="12" y="10" width="5" height="5" /></bezel>
|
||||
<bezel name="1.2" element="led4"><bounds x="0" y="16" width="5" height="5" /></bezel>
|
||||
<bezel name="1.1" element="led5"><bounds x="6" y="16" width="5" height="5" /></bezel>
|
||||
<bezel name="1.2" element="led4"><bounds x="0" y="16" width="5" height="5" /></bezel>
|
||||
<bezel name="1.1" element="led5"><bounds x="6" y="16" width="5" height="5" /></bezel>
|
||||
<bezel name="1.0" element="led6"><bounds x="12" y="16" width="5" height="5" /></bezel>
|
||||
<bezel name="2.2" element="led7"><bounds x="0" y="22" width="5" height="5" /></bezel>
|
||||
<bezel name="2.1" element="led8"><bounds x="6" y="22" width="5" height="5" /></bezel>
|
||||
<bezel name="2.2" element="led7"><bounds x="0" y="22" width="5" height="5" /></bezel>
|
||||
<bezel name="2.1" element="led8"><bounds x="6" y="22" width="5" height="5" /></bezel>
|
||||
<bezel name="2.0" element="led9"><bounds x="12" y="22" width="5" height="5" /></bezel>
|
||||
|
||||
<bezel element="text_chicken"><bounds x="0" y="28" width="4.5" height="1" /></bezel>
|
||||
@ -97,6 +107,18 @@
|
||||
<bezel name="0.3" element="led"><bounds x="5" y="28" width="1" height="1" /></bezel>
|
||||
<bezel name="1.3" element="led"><bounds x="5" y="29.5" width="1" height="1" /></bezel>
|
||||
|
||||
<!-- in reality the keypad is under the led panel, but here just put it on top of the led panel -->
|
||||
|
||||
<bezel element="hl" inputtag="IN.2" inputmask="0x01"><bounds x="0" y="10" width="5" height="5" /><color alpha="0.15" /></bezel>
|
||||
<bezel element="hl" inputtag="IN.1" inputmask="0x01"><bounds x="6" y="10" width="5" height="5" /><color alpha="0.15" /></bezel>
|
||||
<bezel element="hl" inputtag="IN.0" inputmask="0x01"><bounds x="12" y="10" width="5" height="5" /><color alpha="0.15" /></bezel>
|
||||
<bezel element="hl" inputtag="IN.2" inputmask="0x02"><bounds x="0" y="16" width="5" height="5" /><color alpha="0.15" /></bezel>
|
||||
<bezel element="hl" inputtag="IN.1" inputmask="0x02"><bounds x="6" y="16" width="5" height="5" /><color alpha="0.15" /></bezel>
|
||||
<bezel element="hl" inputtag="IN.0" inputmask="0x02"><bounds x="12" y="16" width="5" height="5" /><color alpha="0.15" /></bezel>
|
||||
<bezel element="hl" inputtag="IN.2" inputmask="0x04"><bounds x="0" y="22" width="5" height="5" /><color alpha="0.15" /></bezel>
|
||||
<bezel element="hl" inputtag="IN.1" inputmask="0x04"><bounds x="6" y="22" width="5" height="5" /><color alpha="0.15" /></bezel>
|
||||
<bezel element="hl" inputtag="IN.0" inputmask="0x04"><bounds x="12" y="22" width="5" height="5" /><color alpha="0.15" /></bezel>
|
||||
|
||||
<!-- motor status info -->
|
||||
|
||||
<bezel element="text_m1"><bounds x="5.3" y="8" width="6" height="1" /></bezel>
|
||||
|
Loading…
Reference in New Issue
Block a user