forgotten headers

This commit is contained in:
Fabio Priuli 2010-02-21 00:37:26 +00:00
parent ee12b3832b
commit 02ef38f4bd
3 changed files with 96 additions and 0 deletions

2
.gitattributes vendored
View file

@ -2637,6 +2637,8 @@ src/mame/includes/mcr.h svneol=native#text/plain
src/mame/includes/meadows.h svneol=native#text/plain
src/mame/includes/megadriv.h svneol=native#text/plain
src/mame/includes/megasys1.h svneol=native#text/plain
src/mame/includes/megazone.h svneol=native#text/plain
src/mame/includes/mermaid.h svneol=native#text/plain
src/mame/includes/metalmx.h svneol=native#text/plain
src/mame/includes/mexico86.h svneol=native#text/plain
src/mame/includes/mhavoc.h svneol=native#text/plain

View file

@ -0,0 +1,43 @@
/*************************************************************************
Megazone
*************************************************************************/
typedef struct _megazone_state megazone_state;
struct _megazone_state
{
/* memory pointers */
UINT8 * scrollx;
UINT8 * scrolly;
UINT8 * videoram;
UINT8 * colorram;
UINT8 * videoram2;
UINT8 * colorram2;
UINT8 * spriteram;
size_t spriteram_size;
size_t videoram_size;
size_t videoram2_size;
/* video-related */
bitmap_t *tmpbitmap;
int flipscreen;
/* misc */
int i8039_status;
/* devices */
running_device *maincpu;
running_device *audiocpu;
running_device *daccpu;
};
/*----------- defined in video/megazone.c -----------*/
WRITE8_HANDLER( megazone_flipscreen_w );
PALETTE_INIT( megazone );
VIDEO_START( megazone );
VIDEO_UPDATE( megazone );

View file

@ -0,0 +1,51 @@
/*************************************************************************
Mermaid
*************************************************************************/
typedef struct _mermaid_state mermaid_state;
struct _mermaid_state
{
/* memory pointers */
UINT8 * videoram;
UINT8 * colorram;
UINT8 * videoram2;
UINT8 * spriteram;
UINT8 * bg_scrollram;
UINT8 * fg_scrollram;
UINT8 * ay8910_enable;
size_t spriteram_size;
/* video-related */
tilemap_t *bg_tilemap, *fg_tilemap;
bitmap_t* helper;
bitmap_t* helper2;
int coll_bit0, coll_bit1, coll_bit2, coll_bit3, coll_bit6;
int rougien_gfxbank1, rougien_gfxbank2;
/* devices */
running_device *maincpu;
running_device *ay1;
running_device *ay2;
};
/*----------- defined in video/mermaid.c -----------*/
WRITE8_HANDLER( mermaid_videoram2_w );
WRITE8_HANDLER( mermaid_videoram_w );
WRITE8_HANDLER( mermaid_colorram_w );
WRITE8_HANDLER( mermaid_flip_screen_x_w );
WRITE8_HANDLER( mermaid_flip_screen_y_w );
WRITE8_HANDLER( mermaid_bg_scroll_w );
WRITE8_HANDLER( mermaid_fg_scroll_w );
WRITE8_HANDLER( rougien_gfxbankswitch1_w );
WRITE8_HANDLER( rougien_gfxbankswitch2_w );
READ8_HANDLER( mermaid_collision_r );
PALETTE_INIT( mermaid );
VIDEO_START( mermaid );
VIDEO_UPDATE( mermaid );
VIDEO_EOF( mermaid );