mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +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 "funjacks.lh" // clickable
|
||||||
#include "funrlgl.lh"
|
#include "funrlgl.lh"
|
||||||
#include "h2hbaskb.lh"
|
#include "h2hbaskb.lh"
|
||||||
#include "lchicken.lh"
|
#include "lchicken.lh" // clickable
|
||||||
#include "lightfgt.lh" // clickable
|
#include "lightfgt.lh" // clickable
|
||||||
#include "mdallas.lh"
|
#include "mdallas.lh"
|
||||||
#include "qkracer.lh"
|
#include "qkracer.lh"
|
||||||
@ -701,7 +701,7 @@ INPUT_PORTS_END
|
|||||||
|
|
||||||
CUSTOM_INPUT_MEMBER(lchicken_state::motor_switch)
|
CUSTOM_INPUT_MEMBER(lchicken_state::motor_switch)
|
||||||
{
|
{
|
||||||
return m_motor_pos > 0xeb; // approximation
|
return m_motor_pos > 0xe8; // approximation
|
||||||
}
|
}
|
||||||
|
|
||||||
void lchicken_state::machine_start()
|
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( 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, 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 )
|
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 -->
|
<!-- define elements -->
|
||||||
|
|
||||||
<element name="static_orange"><rect><color red="0.9" green="0.3" blue="0.2" /></rect></element>
|
<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="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">
|
<element name="led" defstate="0">
|
||||||
<disk state="0"><color red="0.2" green="0.04" blue="0.05" /></disk>
|
<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>
|
<disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk>
|
||||||
@ -97,6 +107,18 @@
|
|||||||
<bezel name="0.3" element="led"><bounds x="5" y="28" width="1" height="1" /></bezel>
|
<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>
|
<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 -->
|
<!-- motor status info -->
|
||||||
|
|
||||||
<bezel element="text_m1"><bounds x="5.3" y="8" width="6" height="1" /></bezel>
|
<bezel element="text_m1"><bounds x="5.3" y="8" width="6" height="1" /></bezel>
|
||||||
|
Loading…
Reference in New Issue
Block a user