crash: update color overlay

This commit is contained in:
hap 2023-08-07 18:54:33 +02:00
parent c8d2f8ddcf
commit abd8d4d262
4 changed files with 32 additions and 18 deletions

View file

@ -55,6 +55,7 @@ TODO:
#include "circus.lh"
#include "crash.lh"
#include "crasha.lh"
@ -625,7 +626,7 @@ GAMEL( 1977, springbd, circus, circus, circus, circus_state, init_circus,
GAME( 1977, robotbwl, 0, robotbwl, robotbwl, robotbwl_state, init_robotbwl, ROT0, "Exidy", "Robot Bowl", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND )
GAMEL( 1979, crash, 0, crash, crash, crash_state, init_crash, ROT0, "Exidy", "Crash (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND, layout_crash )
GAMEL( 1979, crasha, crash, crash, crash, crash_state, init_crash, ROT0, "Exidy", "Crash (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND, layout_crash )
GAMEL( 1979, crasha, crash, crash, crash, crash_state, init_crash, ROT0, "Exidy", "Crash (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND, layout_crasha )
GAMEL( 1979, smash, crash, crash, crash, crash_state, init_crash, ROT0, "bootleg", "Smash (Crash bootleg)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND, layout_crash ) // looks like a text hack, but it also had a different bezel
GAME( 1979, ripcord, 0, ripcord, ripcord, ripcord_state, init_ripcord, ROT0, "Exidy", "Rip Cord", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND )

View file

@ -156,7 +156,7 @@ DISCRETE_SOUND_END
/* and also is used to enable the amplifier and trigger the */
/* discrete circuitry that produces sound effects and music */
void circus_state::circus_clown_z_w(uint8_t data)
void circus_state::clown_z_w(uint8_t data)
{
m_clown_z = (data & 0x0f);
*(memregion("maincpu")->base() + 0x8000) = data; logerror("Z:%02x\n",data); //DEBUG

View file

@ -5,24 +5,12 @@ license:CC0-1.0
<mamelayout version="2">
<element name="overlay">
<rect>
<bounds left="0" top="0" right="248" bottom="62.5" />
<color red="0.125" green="0.125" blue="1" />
<bounds x="0" y="0" width="248" height="256" />
<color red="0.5" green="0.9" blue="1" />
</rect>
<rect>
<bounds left="0" top="62.5" right="87.5" bottom="123.5" />
<color red="0.125" green="0.125" blue="1" />
</rect>
<rect>
<bounds left="87.5" top="62.5" right="160.5" bottom="123.5" />
<color red="1" green="1" blue="0.25" />
</rect>
<rect>
<bounds left="160.5" top="62.5" right="248" bottom="123.5" />
<color red="0.125" green="0.125" blue="1" />
</rect>
<rect>
<bounds left="0" top="123.5" right="248" bottom="186" />
<color red="0.125" green="0.125" blue="1" />
<bounds xc="123.5" yc="127.5" width="86" height="93" />
<color red="0.5" green="1" blue="0.6" />
</rect>
</element>

View file

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<!--
license:CC0-1.0
-->
<mamelayout version="2">
<element name="overlay">
<rect>
<bounds x="0" y="0" width="248" height="256" />
<color red="0.5" green="0.9" blue="1" />
</rect>
<rect>
<bounds xc="123.5" yc="127.5" width="86" height="79" />
<color red="0.5" green="1" blue="0.6" />
</rect>
</element>
<view name="Color Overlay">
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</element>
</view>
</mamelayout>