summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Phil Bennett <philipjbennett@users.noreply.github.com>2009-11-28 23:26:25 +0000
committer Phil Bennett <philipjbennett@users.noreply.github.com>2009-11-28 23:26:25 +0000
commit960f3b1d7a8259fecb8d0ccf4f2cec5853b52fbf (patch)
tree02a08be8180d7144f335d19738309618fe972d07
parent6895fc3b668af23bdb96f5b7c60af01e4e552137 (diff)
Added missing includes for r7445
-rw-r--r--.gitattributes4
-rw-r--r--src/mame/includes/mappy.h21
-rw-r--r--src/mame/includes/mjkjidai.h23
-rw-r--r--src/mame/includes/srmp2.h28
-rw-r--r--src/mame/includes/vastar.h32
5 files changed, 108 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 4c0ae2c5f53..6e622e554a7 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -2508,6 +2508,7 @@ src/mame/includes/m72.h svneol=native#text/plain
src/mame/includes/m79amb.h svneol=native#text/plain
src/mame/includes/m92.h svneol=native#text/plain
src/mame/includes/madalien.h svneol=native#text/plain
+src/mame/includes/mappy.h svneol=native#text/plain
src/mame/includes/mario.h svneol=native#text/plain
src/mame/includes/matmania.h svneol=native#text/plain
src/mame/includes/mcatadv.h svneol=native#text/plain
@@ -2521,6 +2522,7 @@ src/mame/includes/midvunit.h svneol=native#text/plain
src/mame/includes/midwunit.h svneol=native#text/plain
src/mame/includes/midyunit.h svneol=native#text/plain
src/mame/includes/midzeus.h svneol=native#text/plain
+src/mame/includes/mjkjidai.h svneol=native#text/plain
src/mame/includes/model1.h svneol=native#text/plain
src/mame/includes/model2.h svneol=native#text/plain
src/mame/includes/model3.h svneol=native#text/plain
@@ -2603,6 +2605,7 @@ src/mame/includes/spacefb.h svneol=native#text/plain
src/mame/includes/spiders.h svneol=native#text/plain
src/mame/includes/sprint2.h svneol=native#text/plain
src/mame/includes/sprint8.h svneol=native#text/plain
+src/mame/includes/srmp2.h svneol=native#text/plain
src/mame/includes/sspeedr.h svneol=native#text/plain
src/mame/includes/st0016.h svneol=native#text/plain
src/mame/includes/stactics.h svneol=native#text/plain
@@ -2649,6 +2652,7 @@ src/mame/includes/twincobr.h svneol=native#text/plain
src/mame/includes/tx1.h svneol=native#text/plain
src/mame/includes/ultratnk.h svneol=native#text/plain
src/mame/includes/unico.h svneol=native#text/plain
+src/mame/includes/vastar.h svneol=native#text/plain
src/mame/includes/vball.h svneol=native#text/plain
src/mame/includes/vertigo.h svneol=native#text/plain
src/mame/includes/vicdual.h svneol=native#text/plain
diff --git a/src/mame/includes/mappy.h b/src/mame/includes/mappy.h
new file mode 100644
index 00000000000..620de9dbf60
--- /dev/null
+++ b/src/mame/includes/mappy.h
@@ -0,0 +1,21 @@
+/*----------- defined in video/mappy.c -----------*/
+
+extern UINT8 *mappy_videoram;
+extern UINT8 *mappy_spriteram;
+
+VIDEO_START( phozon );
+PALETTE_INIT( phozon );
+VIDEO_UPDATE( phozon );
+
+PALETTE_INIT( superpac );
+PALETTE_INIT( mappy );
+VIDEO_START( superpac );
+VIDEO_START( mappy );
+VIDEO_UPDATE( superpac );
+VIDEO_UPDATE( mappy );
+WRITE8_HANDLER( superpac_videoram_w );
+WRITE8_HANDLER( mappy_videoram_w );
+WRITE8_HANDLER( mappy_scroll_w );
+READ8_HANDLER( superpac_flipscreen_r );
+WRITE8_HANDLER( superpac_flipscreen_w );
+void mappy_draw_sprites(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect, int xoffs, int yoffs, int transcolor);
diff --git a/src/mame/includes/mjkjidai.h b/src/mame/includes/mjkjidai.h
new file mode 100644
index 00000000000..d8f2062e754
--- /dev/null
+++ b/src/mame/includes/mjkjidai.h
@@ -0,0 +1,23 @@
+typedef struct _mjkjidai_state mjkjidai_state;
+struct _mjkjidai_state
+{
+ UINT8 *videoram;
+ UINT8 *spriteram1;
+ UINT8 *spriteram2;
+ UINT8 *spriteram3;
+
+ int keyb;
+ int nvram_init_count;
+ UINT8 *nvram;
+ size_t nvram_size;
+};
+
+
+/*----------- defined in video/mjkjidai.c -----------*/
+
+VIDEO_START( mjkjidai );
+VIDEO_UPDATE( mjkjidai );
+WRITE8_HANDLER( mjkjidai_videoram_w );
+WRITE8_HANDLER( mjkjidai_ctrl_w );
+
+
diff --git a/src/mame/includes/srmp2.h b/src/mame/includes/srmp2.h
new file mode 100644
index 00000000000..5c308054d86
--- /dev/null
+++ b/src/mame/includes/srmp2.h
@@ -0,0 +1,28 @@
+typedef struct _srmp2_state srmp2_state;
+struct _srmp2_state
+{
+ int color_bank;
+ int gfx_bank;
+
+ int adpcm_bank;
+ int adpcm_data;
+ UINT32 adpcm_sptr;
+ UINT32 adpcm_eptr;
+
+ int port_select;
+
+ union
+ {
+ UINT8 *u8;
+ UINT16 *u16;
+ } spriteram1, spriteram2, spriteram3;
+};
+
+
+/*----------- defined in video/srmp2.c -----------*/
+
+PALETTE_INIT( srmp2 );
+VIDEO_UPDATE( srmp2 );
+PALETTE_INIT( srmp3 );
+VIDEO_UPDATE( srmp3 );
+VIDEO_UPDATE( mjyuugi );
diff --git a/src/mame/includes/vastar.h b/src/mame/includes/vastar.h
new file mode 100644
index 00000000000..d23e780e12c
--- /dev/null
+++ b/src/mame/includes/vastar.h
@@ -0,0 +1,32 @@
+typedef struct _vastar_state vastar_state;
+struct _vastar_state
+{
+ UINT8 *spriteram1;
+ UINT8 *spriteram2;
+ UINT8 *spriteram3;
+
+ UINT8 *bg1videoram;
+ UINT8 *bg2videoram;
+ UINT8 *fgvideoram;
+ UINT8 *bg1_scroll;
+ UINT8 *bg2_scroll;
+ UINT8 *sprite_priority;
+
+ tilemap *fg_tilemap;
+ tilemap *bg1_tilemap;
+ tilemap *bg2_tilemap;
+
+ UINT8 *sharedram;
+};
+
+
+/*----------- defined in video/vastar.c -----------*/
+
+WRITE8_HANDLER( vastar_bg1videoram_w );
+WRITE8_HANDLER( vastar_bg2videoram_w );
+WRITE8_HANDLER( vastar_fgvideoram_w );
+READ8_HANDLER( vastar_bg1videoram_r );
+READ8_HANDLER( vastar_bg2videoram_r );
+
+VIDEO_START( vastar );
+VIDEO_UPDATE( vastar );