h2hfootb, cqback: add brightness to layout (nw)

This commit is contained in:
hap 2019-06-12 23:16:10 +02:00
parent 3b875f6fba
commit 65ddca8b75
5 changed files with 42 additions and 7 deletions

View File

@ -146,7 +146,7 @@ public:
hh_amis2k_state(mconfig, type, tag)
{
// bumpers are dimmed
set_display_levels(2, 0.015, 0.1);
set_display_levels(2, 0.02, 0.1);
}
void prepare_display();

View File

@ -1211,7 +1211,10 @@ class cqback_state : public hh_tms1k_state
public:
cqback_state(const machine_config &mconfig, device_type type, const char *tag) :
hh_tms1k_state(mconfig, type, tag)
{ }
{
// offsense blips are brighter
set_display_levels(2, 0.005, 0.03);
}
void prepare_display();
DECLARE_WRITE16_MEMBER(write_r);
@ -1340,7 +1343,10 @@ class h2hfootb_state : public hh_tms1k_state
public:
h2hfootb_state(const machine_config &mconfig, device_type type, const char *tag) :
hh_tms1k_state(mconfig, type, tag)
{ }
{
// offsense blips are brighter
set_display_levels(2, 0.005, 0.03);
}
void prepare_display();
DECLARE_WRITE16_MEMBER(write_r);
@ -1460,6 +1466,7 @@ ROM_END
* same PCB/hardware as above
Unlike the COP420 version(see hh_cop400.cpp driver), each game has its own MCU.
To begin play, press start while holding left/right.
***************************************************************************/

View File

@ -28,7 +28,7 @@ public:
set_display_duration(attotime::from_hz(60));
set_display_factor(0.5);
reset_display_levels();
set_display_level(0.015);
set_display_level(0.02);
}
protected:

View File

@ -58,7 +58,11 @@
</element>
<element name="seg" defstate="0">
<rect state="0"><color red="0.13" green="0.0325" blue="0.0338" /></rect>
<rect state="1"><color red="1.0" green="0.25" blue="0.26" /></rect>
<rect state="1"><color red="0.6" green="0.15" blue="0.16" /></rect>
<rect state="2"><color red="1.0" green="0.25" blue="0.26" /></rect>
</element>
<element name="mask" defstate="0">
<disk state="1"><color red="0" green="0" blue="0" /></disk>
</element>
@ -172,5 +176,27 @@
<bezel name="8.8" element="seg"><bounds x="359" y="42.5" width="15" height="3" /></bezel>
<bezel name="8.9" element="seg"><bounds x="359" y="71.5" width="15" height="3" /></bezel>
<!-- digit masks -->
<bezel name="0.0" element="mask"><bounds x="8" y="-17" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="1.0" element="mask"><bounds x="52" y="-17" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="2.0" element="mask"><bounds x="96" y="-17" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="3.0" element="mask"><bounds x="140" y="-17" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="4.0" element="mask"><bounds x="184" y="-17" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="5.0" element="mask"><bounds x="228" y="-17" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="6.0" element="mask"><bounds x="272" y="-17" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="7.0" element="mask"><bounds x="316" y="-17" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="8.0" element="mask"><bounds x="360" y="-17" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="0.3" element="mask"><bounds x="5" y="12" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="1.3" element="mask"><bounds x="49" y="12" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="2.3" element="mask"><bounds x="93" y="12" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="3.3" element="mask"><bounds x="137" y="12" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="4.3" element="mask"><bounds x="181" y="12" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="5.3" element="mask"><bounds x="225" y="12" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="6.3" element="mask"><bounds x="269" y="12" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="7.3" element="mask"><bounds x="313" y="12" width="17" height="6" /><color alpha="0.4" /></bezel>
<bezel name="8.3" element="mask"><bounds x="357" y="12" width="17" height="6" /><color alpha="0.4" /></bezel>
</view>
</mamelayout>

View File

@ -56,11 +56,13 @@
<element name="seg" defstate="0">
<rect state="0"><color red="0.13" green="0.0325" blue="0.0338" /></rect>
<rect state="1"><color red="1.0" green="0.25" blue="0.26" /></rect>
<rect state="1"><color red="0.6" green="0.15" blue="0.16" /></rect>
<rect state="2"><color red="1.0" green="0.25" blue="0.26" /></rect>
</element>
<element name="led" defstate="0">
<disk state="0"><color red="0.13" green="0.0325" blue="0.0338" /></disk>
<disk state="1"><color red="1.0" green="0.25" blue="0.26" /></disk>
<disk state="1"><color red="0.6" green="0.15" blue="0.16" /></disk>
<disk state="2"><color red="1.0" green="0.25" blue="0.26" /></disk>
</element>