mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
added mwcbaseb internal artwork (nw)
This commit is contained in:
parent
561501d912
commit
8f273e02b3
@ -98,12 +98,14 @@
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
|
||||
// internal artwork
|
||||
// internal artwork (complete)
|
||||
#include "pairmtch.lh"
|
||||
#include "sag.lh"
|
||||
|
||||
// internal artwork (bezel overlay)
|
||||
#include "bambball.lh"
|
||||
#include "gckong.lh"
|
||||
#include "mwcbaseb.lh"
|
||||
#include "msthawk.lh"
|
||||
#include "packmon.lh"
|
||||
|
||||
@ -3913,7 +3915,9 @@ void mwcbaseb_state::mwcbaseb(machine_config &config)
|
||||
screen.set_refresh_hz(50);
|
||||
screen.set_size(1920, 478);
|
||||
screen.set_visarea(0, 1920-1, 0, 478-1);
|
||||
|
||||
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
|
||||
config.set_default_layout(layout_mwcbaseb);
|
||||
|
||||
/* sound hardware */
|
||||
SPEAKER(config, "mono").front_center();
|
||||
|
41
src/mame/layout/mwcbaseb.lay
Normal file
41
src/mame/layout/mwcbaseb.lay
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0"?>
|
||||
<mamelayout version="2">
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="gray"><disk><color red="0.3" green="0.3" blue="0.3" /></disk></element>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout">
|
||||
<screen index="0"><bounds x="0" y="0" width="96" height="23.9" /></screen>
|
||||
|
||||
<!-- draw the baseball diamond -->
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</repeat>
|
||||
|
||||
<repeat count="200">
|
||||
<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>
|
||||
</repeat>
|
||||
|
||||
</view>
|
||||
</mamelayout>
|
Loading…
Reference in New Issue
Block a user