and added shifter layout

This commit is contained in:
Michaël Banaan Ananas 2013-12-23 22:39:37 +00:00
parent f4ef11efa0
commit 20b560a864
4 changed files with 75 additions and 1 deletions

1
.gitattributes vendored
View File

@ -5509,6 +5509,7 @@ src/mame/layout/jpmsys5.lay svneol=native#text/plain
src/mame/layout/kas89.lay svneol=native#text/plain
src/mame/layout/kgbird.lay svneol=native#text/plain
src/mame/layout/kingdrby.lay svneol=native#text/plain
src/mame/layout/konamigt.lay svneol=native#text/plain
src/mame/layout/kungfur.lay svneol=native#text/plain
src/mame/layout/lagunar.lay svneol=native#text/plain
src/mame/layout/lazercmd.lay svneol=native#text/plain

View File

@ -56,6 +56,8 @@ So this is the correct behavior of real hardware, not an emulation bug.
#include "includes/nemesis.h"
#include "includes/konamipt.h"
#include "konamigt.lh"
INTERRUPT_GEN_MEMBER(nemesis_state::nemesis_interrupt)
{
@ -2327,7 +2329,7 @@ ROM_END
GAME( 1985, nemesis, 0, nemesis, nemesis, driver_device, 0, ROT0, "Konami", "Nemesis (ROM version)", GAME_SUPPORTS_SAVE )
GAME( 1985, nemesisuk, nemesis, nemesis, nemesuk, driver_device, 0, ROT0, "Konami", "Nemesis (World?, ROM version)", GAME_SUPPORTS_SAVE )
GAME( 1985, konamigt, 0, konamigt, konamigt, driver_device, 0, ROT0, "Konami", "Konami GT", GAME_SUPPORTS_SAVE )
GAMEL(1985, konamigt, 0, konamigt, konamigt, driver_device, 0, ROT0, "Konami", "Konami GT", GAME_SUPPORTS_SAVE, layout_konamigt )
GAME( 1985, rf2, konamigt, rf2_gx400, rf2, driver_device, 0, ROT0, "Konami", "Konami RF2 - Red Fighter", GAME_SUPPORTS_SAVE )
GAME( 1985, twinbee, 0, gx400, twinbee, driver_device, 0, ROT90, "Konami", "TwinBee (ROM version)", GAME_SUPPORTS_SAVE )
GAME( 1985, gradius, nemesis, gx400, gradius, driver_device, 0, ROT0, "Konami", "Gradius (Japan, ROM version)", GAME_SUPPORTS_SAVE )

View File

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<mamelayout version="2">
<element name="shifter" defstate="0">
<rect>
<bounds left="0" right="32" top="0" bottom="64" />
<color red="0.85" green="0.4" blue="0.3" />
</rect>
<rect>
<bounds left="2" right="30" top="2" bottom="62" />
<color red="0.14" green="0.17" blue="0.2" />
</rect>
<rect>
<bounds left="14" right="18" top="15" bottom="49" />
<color red="0.44" green="0.47" blue="0.5" />
</rect>
<disk>
<bounds left="14" right="18" top="13" bottom="17" />
<color red="0.44" green="0.47" blue="0.5" />
</disk>
<disk>
<bounds left="14" right="18" top="47" bottom="51" />
<color red="0.44" green="0.47" blue="0.5" />
</disk>
<text string="LOW" state="0">
<bounds left="3" right="29" top="2" bottom="12" />
<color red="1.0" green="1.0" blue="0.4" />
</text>
<text string="LOW" state="1">
<bounds left="3" right="29" top="2" bottom="12" />
<color red="1.0" green="1.0" blue="1.0" />
</text>
<text string="HIGH" state="0">
<bounds left="3" right="29" top="52" bottom="62" />
<color red="1.0" green="1.0" blue="1.0" />
</text>
<text string="HIGH" state="1">
<bounds left="3" right="29" top="52" bottom="62" />
<color red="1.0" green="1.0" blue="0.4" />
</text>
<disk state="0">
<bounds left="9" right="23" top="14" bottom="28" />
<color red="0.85" green="0.4" blue="0.3" />
</disk>
<disk state="1">
<bounds left="9" right="23" top="36" bottom="50" />
<color red="0.85" green="0.4" blue="0.3" />
</disk>
</element>
<view name="Shifter-R">
<screen index="0">
<bounds x="0" y="0" width="480" height="640" />
</screen>
<bezel element="shifter" inputtag="IN1" inputmask="0x10">
<bounds x="446" y="574" width="32" height="64" />
<color alpha="0.6" />
</bezel>
</view>
<view name="Shifter-L">
<screen index="0">
<bounds x="0" y="0" width="480" height="640" />
</screen>
<bezel element="shifter" inputtag="IN1" inputmask="0x10">
<bounds x="2" y="574" width="32" height="64" />
<color alpha="0.6" />
</bezel>
</view>
</mamelayout>

View File

@ -2534,6 +2534,8 @@ $(DRIVERS)/nbmj8688.o: $(LAYOUT)/nbmj8688.lh
$(DRIVERS)/namcos2.o: $(LAYOUT)/finallap.lh
$(DRIVERS)/nemesis.o: $(LAYOUT)/konamigt.lh
$(DRIVERS)/neogeo.o: $(LAYOUT)/neogeo.lh
$(DRIVERS)/norautp.o: $(LAYOUT)/noraut11.lh \