diff options
author | Dirk Best <mail@dirk-best.de> | 2019-09-04 10:49:22 +0200 |
---|---|---|
committer | Dirk Best <mail@dirk-best.de> | 2019-09-04 10:49:38 +0200 |
commit | 80171a45ce42e98e7d6f45b592d9cda01d98b3d9 (patch) | |
tree | 3ea879943e5407f4dbfd8ff655e3fcae362f7f72 | |
parent | 2fc3b81502b882c0d1c5d0ffbaab161d451b0e39 (diff) |
stv: Vertical billboard layout for shienryu
-rw-r--r-- | src/mame/drivers/stv.cpp | 9 | ||||
-rw-r--r-- | src/mame/includes/stv.h | 1 | ||||
-rw-r--r-- | src/mame/layout/segabillv.lay | 86 |
3 files changed, 95 insertions, 1 deletions
diff --git a/src/mame/drivers/stv.cpp b/src/mame/drivers/stv.cpp index 62e8616496c..050bb16bae6 100644 --- a/src/mame/drivers/stv.cpp +++ b/src/mame/drivers/stv.cpp @@ -52,6 +52,7 @@ #include "coreutil.h" #include "segabill.lh" +#include "segabillv.lh" #define FIRST_SPEEDUP_SLOT (2) // in case we remove/alter the BIOS speedups later @@ -1247,6 +1248,12 @@ void stv_state::batmanfr(machine_config &config) ACCLAIM_RAX(config, "rax", 0); } +void stv_state::shienryu(machine_config &config) +{ + stv(config); + config.set_default_layout(layout_segabillv); +} + #define STV_CARTSLOT_ADD(_tag, _load) \ GENERIC_CARTSLOT(config, _tag, generic_plain_slot, "stv_cart").set_device_load(FUNC(stv_state::_load), this); @@ -3739,7 +3746,7 @@ GAME( 1998, sasissu, stvbios, stv, stv, stv_state, init_sasissu, GAME( 1999, sanjeon, sasissu, stv, stv, stv_state, init_sanjeon, ROT0, "Sega / Deniam", "DaeJeon! SanJeon SuJeon (AJTUE 990412 V1.000)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS ) GAME( 1997, seabass, stvbios, stv, stv, stv_state, init_seabass, ROT0, "A wave inc. (Able license)", "Sea Bass Fishing (JUET 971110 V0.001)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS ) GAME( 1995, shanhigw, stvbios, stv, stv, stv_state, init_shanhigw, ROT0, "Sunsoft / Activision", "Shanghai - The Great Wall / Shanghai Triple Threat (JUE 950623 V1.005)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS ) -GAME( 1997, shienryu, stvbios, stv, stv, stv_state, init_shienryu, ROT270, "Warashi", "Shienryu (JUET 961226 V1.000)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_IMPERFECT_SOUND ) +GAME( 1997, shienryu, stvbios, shienryu, stv, stv_state, init_shienryu, ROT270, "Warashi", "Shienryu (JUET 961226 V1.000)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_IMPERFECT_SOUND ) GAME( 1998, sss, stvbios, stv_5881, stv, stv_state, init_sss, ROT0, "Capcom / Cave / Victor Interactive Software", "Steep Slope Sliders (JUET 981110 V1.000)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS ) // Also credited as Pack In Soft in ending screen GAME( 1995, sandor, stvbios, stv, stv, stv_state, init_sandor, ROT0, "Sega", "Puzzle & Action: Sando-R (J 951114 V1.000)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS ) GAME( 1997, thunt, sandor, stv, stv, stv_state, init_thunt, ROT0, "Sega", "Puzzle & Action: Treasure Hunt (JUET 970901 V2.00E)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS ) diff --git a/src/mame/includes/stv.h b/src/mame/includes/stv.h index 1cdb78bef00..9656725a9cf 100644 --- a/src/mame/includes/stv.h +++ b/src/mame/includes/stv.h @@ -35,6 +35,7 @@ public: void stv(machine_config &config); void hopper(machine_config &config); void batmanfr(machine_config &config); + void shienryu(machine_config &config); void stv_5838(machine_config &config); void stv_5881(machine_config &config); void stvcd(machine_config &config); diff --git a/src/mame/layout/segabillv.lay b/src/mame/layout/segabillv.lay new file mode 100644 index 00000000000..f8b1aa02f73 --- /dev/null +++ b/src/mame/layout/segabillv.lay @@ -0,0 +1,86 @@ +<?xml version="1.0"?> + +<!-- +license: CC0 +copyright-holders: Dirk Best +Sega Billboard layout (vertical games) +--> + +<mamelayout version="2"> + + <element name="digit" defstate="0"> + <led7seg> + <color red="1.0" green="0.1" blue="0.1" /> + </led7seg> + </element> + + <element name="led_red" defstate="0"> + <disk state="0"> + <color red="0.2" green="0.05" blue="0.05" /> + </disk> + <disk state="1"> + <color red="0.8" green="0.05" blue="0.05" /> + </disk> + </element> + + <element name="text_P1"><text string="Player 1"><color red="1.00" green="1.00" blue="1.00" /></text></element> + <element name="text_P2"><text string="Player 2"><color red="1.00" green="1.00" blue="1.00" /></text></element> + <element name="text_WINNER"><text string="WINNER"><color red="1.00" green="1.00" blue="1.00" /></text></element> + + <view name="Default"> + <screen tag="screen"> + <bounds left="0" top="0" right="3" bottom="4" /> + </screen> + </view> + + <view name="Billboard"> + + <!-- Player 1 --> + + <element ref="text_P1"> + <bounds left="10" top="10" right="100" bottom="30" /> + </element> + + <element ref="text_WINNER"> + <bounds left="50" top="40" right="150" bottom="60" /> + </element> + + <bezel name="led_winner0" element="led_red"> + <bounds x="150" y="45" width="10" height="10" /> + </bezel> + + <bezel name="digit0" element="digit"> + <bounds x="200" y="30" width="15" height="30" /> + </bezel> + <bezel name="digit1" element="digit"> + <bounds x="230" y="30" width="15" height="30" /> + </bezel> + + <!-- Player 2 --> + + <element ref="text_P2"> + <bounds left="310" top="10" right="400" bottom="30" /> + </element> + + <element ref="text_WINNER"> + <bounds left="350" top="40" right="450" bottom="60" /> + </element> + + <bezel name="led_winner1" element="led_red"> + <bounds x="450" y="45" width="10" height="10" /> + </bezel> + + <bezel name="digit2" element="digit"> + <bounds x="500" y="30" width="15" height="30" /> + </bezel> + <bezel name="digit3" element="digit"> + <bounds x="530" y="30" width="15" height="30" /> + </bezel> + + <screen tag="screen"> + <bounds left="0" top="100" right="600" bottom="900" /> + </screen> + + </view> + +</mamelayout> |