summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-04-02 08:36:30 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-04-02 08:36:30 +0000
commitd26f7f12daf7cd446aebc8a677175cc01bb21785 (patch)
tree404bc5d6f3e771f88df36aa00eb175f4c8857e07 /src
parent35b88f45fe84e62c35eddd1142df87a6a6a375ef (diff)
From: Mr. Do [mailto:mrdo_emu@hotmail.com]
Subject: Internal LAY File - Armor Attack This is becoming kind of fun. Here's an internal LAY file for Armor Attack. Re-created the overlay using just rectangles. And finally got to use flipx and flipy for the first time (main reason I did it).
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/cinemat.c7
-rw-r--r--src/mame/layout/armora.lay186
-rw-r--r--src/mame/mame.mak3
3 files changed, 192 insertions, 4 deletions
diff --git a/src/mame/drivers/cinemat.c b/src/mame/drivers/cinemat.c
index df6ebc51c90..b9e46877d2d 100644
--- a/src/mame/drivers/cinemat.c
+++ b/src/mame/drivers/cinemat.c
@@ -36,6 +36,7 @@
#include "cinemat.h"
#include "rendlay.h"
+#include "armora.lh"
#include "starcas.lh"
#include "solarq.lh"
@@ -1487,9 +1488,9 @@ GAME( 1979, starhawk, 0, starhawk, starhawk, 0, ORIENTATION_FLIP_Y,
GAMEL(1979, sundance, 0, sundance, sundance, sundance, ORIENTATION_FLIP_X ^ ROT270, "Cinematronics", "Sundance", GAME_SUPPORTS_SAVE, layout_voffff20 )
GAMEL(1979, tailg, 0, tailg, tailg, tailg, ORIENTATION_FLIP_Y, "Cinematronics", "Tailgunner", GAME_SUPPORTS_SAVE, layout_ho20ffff )
GAME( 1979, warrior, 0, warrior, warrior, 0, ORIENTATION_FLIP_Y, "Vectorbeam", "Warrior", GAME_SUPPORTS_SAVE )
-GAME( 1980, armora, 0, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Armor Attack", GAME_SUPPORTS_SAVE )
-GAME( 1980, armorap, armora, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Armor Attack (prototype)", GAME_SUPPORTS_SAVE )
-GAME( 1980, armorar, armora, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics (Rock-ola license)", "Armor Attack (Rock-ola)", GAME_SUPPORTS_SAVE )
+GAMEL(1980, armora, 0, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Armor Attack", GAME_SUPPORTS_SAVE, layout_armora )
+GAMEL(1980, armorap, armora, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Armor Attack (prototype)", GAME_SUPPORTS_SAVE, layout_armora )
+GAMEL(1980, armorar, armora, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics (Rock-ola license)", "Armor Attack (Rock-ola)", GAME_SUPPORTS_SAVE, layout_armora )
GAME( 1980, ripoff, 0, ripoff, ripoff, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Rip Off", GAME_SUPPORTS_SAVE )
GAMEL(1980, starcas, 0, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Star Castle (version 3)", GAME_SUPPORTS_SAVE, layout_starcas )
GAMEL(1980, starcas1, starcas, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Star Castle (older)", GAME_SUPPORTS_SAVE, layout_starcas )
diff --git a/src/mame/layout/armora.lay b/src/mame/layout/armora.lay
new file mode 100644
index 00000000000..1994ba7f76e
--- /dev/null
+++ b/src/mame/layout/armora.lay
@@ -0,0 +1,186 @@
+<mamelayout version="2">
+ <element name="overlay">
+ <rect>
+ <bounds left="0" top="0" right="512" bottom="35" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="0" top="35" right="256" bottom="96" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="256" top="35" right="450" bottom="96" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ <rect>
+ <bounds left="450" top="35" right="512" bottom="96" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="0" top="96" right="256" bottom="128" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="256" top="96" right="322" bottom="128" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ <rect>
+ <bounds left="322" top="96" right="416" bottom="128" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="416" top="96" right="450" bottom="128" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ <rect>
+ <bounds left="450" top="96" right="512" bottom="128" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="0" top="128" right="224" bottom="160" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="224" top="128" right="322" bottom="160" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ <rect>
+ <bounds left="322" top="128" right="416" bottom="160" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="416" top="128" right="450" bottom="160" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ <rect>
+ <bounds left="450" top="128" right="512" bottom="160" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="0" top="160" right="192" bottom="192" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="192" top="160" right="322" bottom="192" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ <rect>
+ <bounds left="322" top="160" right="384" bottom="192" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="384" top="160" right="512" bottom="192" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+
+ <rect>
+ <bounds left="0" top="192" right="35" bottom="226" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="35" top="192" right="450" bottom="226" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ <rect>
+ <bounds left="450" top="192" right="512" bottom="226" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="0" top="226" right="35" bottom="257" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="35" top="226" right="416" bottom="257" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ <rect>
+ <bounds left="416" top="226" right="512" bottom="257" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="0" top="257" right="35" bottom="318" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="35" top="257" right="99" bottom="318" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ <rect>
+ <bounds left="99" top="257" right="288" bottom="318" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="288" top="257" right="384" bottom="318" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ <rect>
+ <bounds left="384" top="257" right="512" bottom="318" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+
+ <rect>
+ <bounds left="0" top="318" right="35" bottom="351" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="35" top="318" right="224" bottom="351" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ <rect>
+ <bounds left="224" top="318" right="288" bottom="351" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="288" top="318" right="512" bottom="351" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+
+ <rect>
+ <bounds left="0" top="351" right="160" bottom="384" />
+ <color red="0.60" green="0.60" blue="0.06" />
+ </rect>
+ <rect>
+ <bounds left="160" top="351" right="512" bottom="384" />
+ <color red="0" green="0.235" blue="0.11" />
+ </rect>
+ </element>
+ <view name="Color_Overlay">
+ <overlay element="overlay">
+ <bounds x="0" y="0" width="512" height="384" />
+ </overlay>
+ <backdrop element="overlay">
+ <bounds x="0" y="0" width="512" height="384" />
+ <color alpha=".8" />
+ </backdrop>
+ <overlay element="overlay">
+ <bounds x="512" y="384" width="512" height="384" />
+ <orientation rotate="180" />
+ </overlay>
+ <backdrop element="overlay">
+ <bounds x="512" y="384" width="512" height="384" />
+ <color alpha=".8" />
+ <orientation rotate="180" />
+ </backdrop>
+ <overlay element="overlay">
+ <bounds x="512" y="0" width="512" height="384" />
+ <orientation flipx="yes" />
+ </overlay>
+ <backdrop element="overlay">
+ <bounds x="512" y="0" width="512" height="384" />
+ <color alpha=".8" />
+ <orientation flipx="yes" />
+ </backdrop>
+ <overlay element="overlay">
+ <bounds x="0" y="384" width="512" height="384" />
+ <orientation flipy="yes" />
+ </overlay>
+ <backdrop element="overlay">
+ <bounds x="0" y="384" width="512" height="384" />
+ <color alpha=".8" />
+ <orientation flipy="yes" />
+ </backdrop>
+ <screen index="0">
+ <bounds x="0" y="0" width="1024" height="768" />
+ </screen>
+ </view>
+</mamelayout> \ No newline at end of file
diff --git a/src/mame/mame.mak b/src/mame/mame.mak
index 0dbbac04f3f..465cdf4dff8 100644
--- a/src/mame/mame.mak
+++ b/src/mame/mame.mak
@@ -1668,7 +1668,8 @@ $(DRIVERS)/bfm_sc2.o: $(LAYOUT)/bfm_sc2.lh \
$(DRIVERS)/cardline.o: $(LAYOUT)/cardline.lh
-$(DRIVERS)/cinemat.o: $(LAYOUT)/solarq.lh \
+$(DRIVERS)/cinemat.o: $(LAYOUT)/armora.lh \
+ $(LAYOUT)/solarq.lh \
$(LAYOUT)/starcas.lh
$(DRIVERS)/circus.o: $(LAYOUT)/circus.lh \