mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
forgotten headers
This commit is contained in:
parent
ee12b3832b
commit
02ef38f4bd
3 changed files with 96 additions and 0 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -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
|
||||
|
|
43
src/mame/includes/megazone.h
Normal file
43
src/mame/includes/megazone.h
Normal 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 );
|
51
src/mame/includes/mermaid.h
Normal file
51
src/mame/includes/mermaid.h
Normal 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 );
|
Loading…
Reference in a new issue