subroc3d: add internal artwork 3d scope views

This commit is contained in:
hap 2022-12-20 23:19:44 +01:00
parent bdf4645b73
commit 64054c167f
4 changed files with 53 additions and 7 deletions

View file

@ -3,7 +3,7 @@
license:CC0
-->
<mamelayout version="2">
<element name="digit" defstate="10">
<element name="digit" defstate="0">
<led7seg>
<color red="1.0" green="0.3" blue="0.0" />
</led7seg>

View file

@ -3,12 +3,25 @@
license:CC0
-->
<mamelayout version="2">
<element name="digit" defstate="10">
<!-- define elements -->
<element name="digit" defstate="0">
<led7seg>
<color red="1.0" green="0.3" blue="0.0" />
</led7seg>
</element>
<element name="shutter1" defstate="0">
<rect state="0"><color red="0" green="0" blue="0" /></rect>
</element>
<element name="shutter2" defstate="0">
<rect state="1"><color red="0" green="0" blue="0" /></rect>
</element>
<!-- build screen -->
<view name="Simple LEDs">
<bounds left="0" top="-0.472" right="4" bottom="3" />
@ -92,4 +105,33 @@ license:CC0
<bounds left="3.770" top="-0.306" right="3.870" bottom="-0.136" />
</element>
</view>
<view name="3D Scope Straight View">
<!-- parallel-eyed -->
<screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen>
<element name="shutter" ref="shutter1"><bounds left="0" top="0" right="4" bottom="3" /></element>
<screen index="0"><bounds left="4.03" top="0" right="8.03" bottom="3" /></screen>
<element name="shutter" ref="shutter2"><bounds left="4.03" top="0" right="8.03" bottom="3" /></element>
</view>
<view name="3D Scope Cross View">
<!-- cross-eyed -->
<screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen>
<element name="shutter" ref="shutter2"><bounds left="0" top="0" right="4" bottom="3" /></element>
<screen index="0"><bounds left="4.03" top="0" right="8.03" bottom="3" /></screen>
<element name="shutter" ref="shutter1"><bounds left="4.03" top="0" right="8.03" bottom="3" /></element>
</view>
<view name="3D Scope Left">
<screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen>
<element name="shutter" ref="shutter1"><bounds left="0" top="0" right="4" bottom="3" /></element>
</view>
<view name="3D Scope Right">
<screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen>
<element name="shutter" ref="shutter2"><bounds left="0" top="0" right="4" bottom="3" /></element>
</view>
</mamelayout>

View file

@ -3,7 +3,7 @@
license:CC0
-->
<mamelayout version="2">
<element name="digit" defstate="10">
<element name="digit" defstate="0">
<led7seg>
<color red="1.0" green="0.3" blue="0.0" />
</led7seg>

View file

@ -8,9 +8,12 @@
and Aaron Giles
Games supported:
* Turbo
* Subroc 3D
* Buck Rogers: Planet of Zoom
- Turbo
- Subroc 3D
- Buck Rogers: Planet of Zoom
BTANB:
- subroc3d 'seafoam' appears as black spots on top of some sprites
**************************************************************************
TURBO
@ -357,7 +360,8 @@ void subroc3d_state::ppi0b_w(uint8_t data)
m_lamp = BIT(data, 2);
m_flip = BIT(data, 4);
// flip also goes to 3D scope shutter (motor to rotating disc)
// flip also goes to 3D scope shutter sync
// (it's a motor to 2 rotating discs, half painted black)
m_shutter = BIT(data, 4);
}