diff options
| author | 2012-01-12 14:51:04 +0000 | |
|---|---|---|
| committer | 2012-01-12 14:51:04 +0000 | |
| commit | 2dd6b447143bbb7218fd983ced259b80c52917e5 (patch) | |
| tree | 12e3ffe2fcab202fdf2f10066e525025b15ee6b5 | |
| parent | a771e136c6bd81e1c544ea577bf768d077ce35a8 (diff) | |
beaminv.c: added color overlay [MASH]
| -rw-r--r-- | .gitattributes | 1 | ||||
| -rw-r--r-- | src/mame/drivers/beaminv.c | 5 | ||||
| -rw-r--r-- | src/mame/layout/beaminv.lay | 30 | ||||
| -rw-r--r-- | src/mame/mame.mak | 2 |
4 files changed, 36 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes index a0f9ebb134c..17dd6a13f88 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3729,6 +3729,7 @@ src/mame/layout/awpvid14.lay svneol=native#text/plain src/mame/layout/awpvid16.lay svneol=native#text/plain src/mame/layout/babydad.lay svneol=native#text/plain src/mame/layout/babypkr.lay svneol=native#text/plain +src/mame/layout/beaminv.lay svneol=native#text/plain src/mame/layout/bfm_sc1.lay svneol=native#text/plain src/mame/layout/bfm_sc2.lay svneol=native#text/plain src/mame/layout/bigdeal.lay svneol=native#text/plain diff --git a/src/mame/drivers/beaminv.c b/src/mame/drivers/beaminv.c index 330ce7dc3bd..7c90855664b 100644 --- a/src/mame/drivers/beaminv.c +++ b/src/mame/drivers/beaminv.c @@ -53,6 +53,7 @@ Stephh's notes (based on the games Z80 code and some tests) : #include "emu.h" #include "cpu/z80/z80.h" +#include "beaminv.lh" class beaminv_state : public driver_device @@ -384,5 +385,5 @@ ROM_END * *************************************/ -GAME( 1979, beaminv, 0, beaminv, beaminv, 0, ROT270, "Tekunon Kougyou", "Beam Invader (set 1)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) -GAME( 1979, beaminva, beaminv, beaminv, beaminva, 0, ROT270, "Tekunon Kougyou", "Beam Invader (set 2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) // what's the real title ? +GAMEL( 1979, beaminv, 0, beaminv, beaminv, 0, ROT270, "Tekunon Kougyou", "Beam Invader (set 1)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE, layout_beaminv ) +GAMEL( 1979, beaminva, beaminv, beaminv, beaminva, 0, ROT270, "Tekunon Kougyou", "Beam Invader (set 2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE, layout_beaminv ) // what's the real title ? diff --git a/src/mame/layout/beaminv.lay b/src/mame/layout/beaminv.lay new file mode 100644 index 00000000000..06e9c623bee --- /dev/null +++ b/src/mame/layout/beaminv.lay @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<mamelayout version="2"> + <element name="overlay"> + <rect> + <bounds left="0" top="0" right="216" bottom="248" /> + <color red="1" green="1" blue="1" /> + </rect> + <rect> + <bounds left="0" top="0" right="216" bottom="26" /> + <color red="0.160" green="0.578" blue="0.738" /> + </rect> + <rect> + <bounds left="0" top="26" right="216" bottom="217" /> + <color red="0.675" green="0.351" blue="0.480" /> + </rect> + <rect> + <bounds left="0" top="217" right="216" bottom="248" /> + <color red="0.160" green="0.578" blue="0.738" /> + </rect> + </element> + + <view name="Color Overlay"> + <screen index="0"> + <bounds left="0" top="0" right="3" bottom="4" /> + </screen> + <overlay element="overlay"> + <bounds left="0" top="0" right="3" bottom="4" /> + </overlay> + </view> +</mamelayout> diff --git a/src/mame/mame.mak b/src/mame/mame.mak index ffc0eb538d5..21d99f78962 100644 --- a/src/mame/mame.mak +++ b/src/mame/mame.mak @@ -1908,6 +1908,8 @@ $(DRIVERS)/avalnche.o: $(LAYOUT)/avalnche.lh $(DRIVERS)/balsente.o: $(LAYOUT)/stocker.lh +$(DRIVERS)/beaminv.o: $(LAYOUT)/beaminv.lh + $(DRIVERS)/bfm_sc1.o: $(LAYOUT)/bfm_sc1.lh $(DRIVERS)/bfm_sc2.o: $(LAYOUT)/bfm_sc2.lh \ |
