mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
added internal artwork for tmtennis (nw)
This commit is contained in:
parent
3a32835f9e
commit
4c6a37cda6
@ -304,7 +304,7 @@ ROM_START( cc10 ) // model CCX, PCB label P241C-1
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( checkerc4 ) // model ACR, PCB label P241C
|
||||
ROM_START( checkc4 ) // model ACR, PCB label P241C
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD( "d2332c_043", 0x0000, 0x1000, CRC(4c251d90) SHA1(474d54b05971f2a3208bab56dc6e27f03781c541) ) // no custom label
|
||||
ROM_END
|
||||
@ -317,7 +317,7 @@ ROM_END
|
||||
Drivers
|
||||
******************************************************************************/
|
||||
|
||||
// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
|
||||
CONS( 1978, cc10, 0, 0, ccx, ccx, ccx_state, empty_init, "Fidelity Electronics", "Chess Challenger 10 (model CCX, rev. B)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
|
||||
CONS( 1978, cc10, 0, 0, ccx, ccx, ccx_state, empty_init, "Fidelity Electronics", "Chess Challenger 10 (model CCX, rev. B)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
|
||||
CONS( 1978, checkerc4, 0, 0, acr, acr, ccx_state, empty_init, "Fidelity Electronics", "Checker Challenger 4", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_NO_SOUND_HW )
|
||||
CONS( 1978, checkc4, 0, 0, acr, acr, ccx_state, empty_init, "Fidelity Electronics", "Checker Challenger 4", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_NO_SOUND_HW )
|
||||
|
@ -78,13 +78,16 @@ TODO:
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
|
||||
// internal artwork
|
||||
// internal artwork (complete)
|
||||
#include "efball.lh"
|
||||
#include "grobot9.lh" // clickable
|
||||
#include "mcompgin.lh"
|
||||
#include "mvbfree.lh"
|
||||
#include "tactix.lh" // clickable
|
||||
|
||||
// internal artwork (bezel overlay)
|
||||
#include "tmtennis.lh"
|
||||
|
||||
//#include "hh_ucom4_test.lh" // common test-layout - no svg artwork(yet), use external artwork
|
||||
|
||||
|
||||
@ -2345,7 +2348,9 @@ void tmtennis_state::tmtennis(machine_config &config)
|
||||
screen.set_refresh_hz(50);
|
||||
screen.set_size(1920, 417);
|
||||
screen.set_visarea(0, 1920-1, 0, 417-1);
|
||||
|
||||
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
|
||||
config.set_default_layout(layout_tmtennis);
|
||||
|
||||
/* sound hardware */
|
||||
SPEAKER(config, "mono").front_center();
|
||||
|
@ -3,40 +3,40 @@
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="white"><rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
|
||||
<element name="white"><rect><color red="0.85" green="0.85" blue="0.85" /></rect></element>
|
||||
<element name="disk_white"><disk><color red="0.85" green="0.85" blue="0.85" /></disk></element>
|
||||
<element name="disk_black"><disk><color red="0" green="0" blue="0" /></disk></element>
|
||||
|
||||
<element name="text_1"><text string="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_2"><text string="2"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_3"><text string="3"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_4"><text string="4"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_5"><text string="5"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_6"><text string="6"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_7"><text string="7"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_8"><text string="8"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_9"><text string="9"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_h"><text string="H"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_v"><text string="V"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_1"><text string="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
<element name="text_2"><text string="2"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
<element name="text_3"><text string="3"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
<element name="text_4"><text string="4"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
<element name="text_5"><text string="5"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
<element name="text_6"><text string="6"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
<element name="text_7"><text string="7"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
<element name="text_8"><text string="8"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
<element name="text_9"><text string="9"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
<element name="text_h"><text string="H"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
<element name="text_v"><text string="V"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout">
|
||||
<bounds left="7.05" right="108.95" top="5.8" bottom="37.9" />
|
||||
<bounds left="8.3" right="107.6" top="5.8" bottom="37.9" />
|
||||
<screen index="0"><bounds x="10" y="10" width="96" height="23.9" /></screen>
|
||||
|
||||
<!-- baskets -->
|
||||
<!-- baskets (simplified) -->
|
||||
|
||||
<bezel element="white"><bounds x="7.05" y="13" width="1" height="21" /></bezel>
|
||||
<bezel element="white"><bounds x="8" y="8" width="0.4" height="7" /></bezel>
|
||||
<bezel element="white"><bounds x="8.2" y="13" width="6" height="0.4" /></bezel>
|
||||
<bezel element="white"><bounds x="14" y="13" width="0.4" height="4" /></bezel>
|
||||
<bezel element="white"><bounds x="9.2" y="13" width="0.4" height="4" /></bezel>
|
||||
<backdrop element="disk_white"><bounds x="9.3" y="13.7" width="5" height="3" /></backdrop>
|
||||
<backdrop element="disk_black"><bounds x="9.6" y="14.0" width="4.4" height="2.4" /></backdrop>
|
||||
<backdrop element="white"><bounds x="8.3" y="14.65" width="1.3" height="0.3" /></backdrop>
|
||||
<backdrop element="white"><bounds x="8.3" y="15.35" width="1.3" height="0.3" /></backdrop>
|
||||
|
||||
<bezel element="white"><bounds x="107.95" y="13" width="1" height="21" /></bezel>
|
||||
<bezel element="white"><bounds x="107.6" y="8" width="0.4" height="7" /></bezel>
|
||||
<bezel element="white"><bounds x="101.8" y="13" width="6" height="0.4" /></bezel>
|
||||
<bezel element="white"><bounds x="101.6" y="13" width="0.4" height="4" /></bezel>
|
||||
<bezel element="white"><bounds x="106.4" y="13" width="0.4" height="4" /></bezel>
|
||||
<backdrop element="disk_white"><bounds x="101.6" y="13.65" width="5" height="3" /></backdrop>
|
||||
<backdrop element="disk_black"><bounds x="101.9" y="13.95" width="4.4" height="2.4" /></backdrop>
|
||||
<backdrop element="white"><bounds x="106.3" y="14.65" width="1.3" height="0.3" /></backdrop>
|
||||
<backdrop element="white"><bounds x="106.3" y="15.35" width="1.3" height="0.3" /></backdrop>
|
||||
|
||||
<!-- labels -->
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="gray"><disk><color red="0.3" green="0.3" blue="0.3" /></disk></element>
|
||||
<element name="gray"><disk><color red="0.45" green="0.45" blue="0.45" /></disk></element>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
@ -16,25 +16,25 @@
|
||||
<repeat count="200">
|
||||
<param name="x" start="21" increment="0.145" />
|
||||
<param name="y" start="16" increment="-0.0475" />
|
||||
<backdrop element="gray"><bounds x="~x~" y="~y~" width="0.7" height="0.7" /></backdrop>
|
||||
<bezel element="gray"><bounds x="~x~" y="~y~" width="0.7" height="0.7" /><color alpha="0.15" /></bezel>
|
||||
</repeat>
|
||||
|
||||
<repeat count="200">
|
||||
<param name="x" start="21" increment="0.145" />
|
||||
<param name="y" start="16" increment="0.0475" />
|
||||
<backdrop element="gray"><bounds x="~x~" y="~y~" width="0.7" height="0.7" /></backdrop>
|
||||
<repeat count="199">
|
||||
<param name="x" start="21.145" increment="0.145" />
|
||||
<param name="y" start="16.0475" increment="0.0475" />
|
||||
<bezel element="gray"><bounds x="~x~" y="~y~" width="0.7" height="0.7" /><color alpha="0.15" /></bezel>
|
||||
</repeat>
|
||||
|
||||
<repeat count="200">
|
||||
<param name="x" start="50" increment="0.145" />
|
||||
<param name="y" start="6.5" increment="0.0475" />
|
||||
<backdrop element="gray"><bounds x="~x~" y="~y~" width="0.7" height="0.7" /></backdrop>
|
||||
<bezel element="gray"><bounds x="~x~" y="~y~" width="0.7" height="0.7" /><color alpha="0.15" /></bezel>
|
||||
</repeat>
|
||||
|
||||
<repeat count="200">
|
||||
<repeat count="199">
|
||||
<param name="x" start="50" increment="0.145" />
|
||||
<param name="y" start="25.5" increment="-0.0475" />
|
||||
<backdrop element="gray"><bounds x="~x~" y="~y~" width="0.7" height="0.7" /></backdrop>
|
||||
<bezel element="gray"><bounds x="~x~" y="~y~" width="0.7" height="0.7" /><color alpha="0.15" /></bezel>
|
||||
</repeat>
|
||||
|
||||
</view>
|
||||
|
59
src/mame/layout/tmtennis.lay
Normal file
59
src/mame/layout/tmtennis.lay
Normal file
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0"?>
|
||||
<mamelayout version="2">
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="green"><rect><color red="0" green="0.5" blue="0" /></rect></element>
|
||||
<element name="greena"><rect><color red="0" green="1" blue="0" /></rect></element>
|
||||
<element name="greend"><rect><color red="0" green="1" blue="0" /></rect></element>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout">
|
||||
<screen index="0"><bounds x="10" y="10" width="64" height="13.9" /></screen>
|
||||
|
||||
<!-- draw the tennis court -->
|
||||
|
||||
<repeat count="201">
|
||||
<param name="x" start="6.9" increment="0.0475" />
|
||||
<param name="y" start="27" increment="-0.105" />
|
||||
<bezel element="greend"><bounds x="~x~" y="~y~" width="0.35" height="0.35" /><color alpha="0.18" /></bezel>
|
||||
</repeat>
|
||||
|
||||
<repeat count="201">
|
||||
<param name="x" start="76.8" increment="-0.0475" />
|
||||
<param name="y" start="27" increment="-0.105" />
|
||||
<bezel element="greend"><bounds x="~x~" y="~y~" width="0.35" height="0.35" /><color alpha="0.18" /></bezel>
|
||||
</repeat>
|
||||
|
||||
<repeat count="159">
|
||||
<param name="x" start="20.7" increment="0.029" />
|
||||
<param name="y" start="24.7" increment="-0.105" />
|
||||
<bezel element="greend"><bounds x="~x~" y="~y~" width="0.35" height="0.35" /><color alpha="0.18" /></bezel>
|
||||
</repeat>
|
||||
|
||||
<repeat count="159">
|
||||
<param name="x" start="63" increment="-0.029" />
|
||||
<param name="y" start="24.7" increment="-0.105" />
|
||||
<bezel element="greend"><bounds x="~x~" y="~y~" width="0.35" height="0.35" /><color alpha="0.18" /></bezel>
|
||||
</repeat>
|
||||
|
||||
<bezel element="greena"><bounds x="41.85" y="6" width="0.3" height="20" /><color alpha="0.5" /></bezel>
|
||||
|
||||
<bezel element="green"><bounds x="16.5" y="6.1" width="51" height="0.3" /></bezel>
|
||||
<bezel element="green"><bounds x="15.7" y="8" width="52.6" height="0.3" /></bezel>
|
||||
|
||||
<bezel element="greena"><bounds x="23.2" y="16.4" width="37.6" height="0.3" /><color alpha="0.5" /></bezel>
|
||||
<bezel element="green"><bounds x="23.2" y="16.4" width="1" height="0.3" /></bezel>
|
||||
<bezel element="green"><bounds x="59.9" y="16.4" width="1" height="0.3" /></bezel>
|
||||
<bezel element="green"><bounds x="41.85" y="16.4" width="0.3" height="0.3" /></bezel>
|
||||
|
||||
<bezel element="green"><bounds x="8.1" y="24.8" width="67.8" height="0.3" /></bezel>
|
||||
<bezel element="green"><bounds x="7" y="27" width="70" height="0.3" /></bezel>
|
||||
|
||||
<bezel element="green"><bounds x="41.4" y="2.3" width="1.2" height="3.9" /></bezel>
|
||||
<bezel element="green"><bounds x="41.4" y="23" width="1.2" height="4.2" /></bezel>
|
||||
|
||||
</view>
|
||||
</mamelayout>
|
@ -12870,7 +12870,7 @@ vbrc //
|
||||
|
||||
@source:fidel_cc10.cpp
|
||||
cc10 //
|
||||
checkerc4 //
|
||||
checkc4 //
|
||||
|
||||
@source:fidel_cc7.cpp
|
||||
backgamc //
|
||||
|
Loading…
Reference in New Issue
Block a user