Made MAME compile by adding missing H files restored from files Atari Ace sent (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2010-08-27 09:03:57 +00:00
parent ae3aadf53c
commit 5319902394
5 changed files with 131 additions and 0 deletions

4
.gitattributes vendored
View file

@ -2481,6 +2481,7 @@ src/mame/includes/batman.h svneol=native#text/plain
src/mame/includes/battlane.h svneol=native#text/plain
src/mame/includes/battlex.h svneol=native#text/plain
src/mame/includes/battlnts.h svneol=native#text/plain
src/mame/includes/bbusters.h svneol=native#text/plain
src/mame/includes/beathead.h svneol=native#text/plain
src/mame/includes/beezer.h svneol=native#text/plain
src/mame/includes/bigevglf.h svneol=native#text/plain
@ -2717,6 +2718,7 @@ src/mame/includes/macrossp.h svneol=native#text/plain
src/mame/includes/madalien.h svneol=native#text/plain
src/mame/includes/madmotor.h svneol=native#text/plain
src/mame/includes/mainevt.h svneol=native#text/plain
src/mame/includes/mainsnk.h svneol=native#text/plain
src/mame/includes/malzak.h svneol=native#text/plain
src/mame/includes/mappy.h svneol=native#text/plain
src/mame/includes/mario.h svneol=native#text/plain
@ -2814,6 +2816,7 @@ src/mame/includes/policetr.h svneol=native#text/plain
src/mame/includes/polyplay.h svneol=native#text/plain
src/mame/includes/poolshrk.h svneol=native#text/plain
src/mame/includes/popper.h svneol=native#text/plain
src/mame/includes/prehisle.h svneol=native#text/plain
src/mame/includes/psikyo.h svneol=native#text/plain
src/mame/includes/psikyo4.h svneol=native#text/plain
src/mame/includes/psikyosh.h svneol=native#text/plain
@ -2864,6 +2867,7 @@ src/mame/includes/slapstic.h svneol=native#text/plain
src/mame/includes/snes.h svneol=native#text/plain
src/mame/includes/snk.h svneol=native#text/plain
src/mame/includes/snk6502.h svneol=native#text/plain
src/mame/includes/snk68.h svneol=native#text/plain
src/mame/includes/sonson.h svneol=native#text/plain
src/mame/includes/spacefb.h svneol=native#text/plain
src/mame/includes/spbactn.h svneol=native#text/plain

View file

@ -0,0 +1,37 @@
class bbusters_state : public driver_data_t
{
public:
static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, bbusters_state(machine)); }
bbusters_state(running_machine &machine)
: driver_data_t(machine) { }
UINT16 *videoram;
UINT16 *ram;
UINT16 *eprom_data;
int sound_status;
int gun_select;
tilemap_t *fix_tilemap;
tilemap_t *pf1_tilemap;
tilemap_t *pf2_tilemap;
const UINT8 *scale_table_ptr;
UINT8 scale_line_count;
UINT16 *pf1_data;
UINT16 *pf2_data;
UINT16 *pf1_scroll_data;
UINT16 *pf2_scroll_data;
};
/*----------- defined in video/bbusters.c -----------*/
VIDEO_START( bbuster );
VIDEO_START( mechatt );
VIDEO_UPDATE( bbuster );
VIDEO_UPDATE( mechatt );
WRITE16_HANDLER( bbusters_pf1_w );
WRITE16_HANDLER( bbusters_pf2_w );
WRITE16_HANDLER( bbusters_video_w );

View file

@ -0,0 +1,26 @@
class mainsnk_state : public driver_data_t
{
public:
static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, mainsnk_state(machine)); }
mainsnk_state(running_machine &machine)
: driver_data_t(machine) { }
tilemap_t *tx_tilemap;
tilemap_t *bg_tilemap;
UINT8 *spriteram;
UINT8 *fgram;
UINT8 *bgram;
int sound_cpu_busy;
UINT32 bg_tile_offset;
};
/*----------- defined in video/mainsnk.c -----------*/
WRITE8_HANDLER(mainsnk_c600_w);
WRITE8_HANDLER(mainsnk_fgram_w);
WRITE8_HANDLER(mainsnk_bgram_w);
VIDEO_START(mainsnk);
VIDEO_UPDATE(mainsnk);

View file

@ -0,0 +1,29 @@
class prehisle_state : public driver_data_t
{
public:
static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, prehisle_state(machine)); }
prehisle_state(running_machine &machine)
: driver_data_t(machine) { }
UINT16 *spriteram;
UINT16 *videoram;
UINT16 *bg_videoram16;
UINT16 invert_controls;
tilemap_t *bg2_tilemap;
tilemap_t *bg_tilemap;
tilemap_t *fg_tilemap;
};
/*----------- defined in video/prehisle.c -----------*/
WRITE16_HANDLER( prehisle_bg_videoram16_w );
WRITE16_HANDLER( prehisle_fg_videoram16_w );
WRITE16_HANDLER( prehisle_control16_w );
READ16_HANDLER( prehisle_control16_r );
VIDEO_START( prehisle );
VIDEO_UPDATE( prehisle );

35
src/mame/includes/snk68.h Normal file
View file

@ -0,0 +1,35 @@
class snk68_state : public driver_data_t
{
public:
static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, snk68_state(machine)); }
snk68_state(running_machine &machine)
: driver_data_t(machine) { }
int invert_controls;
int sound_status;
UINT16* pow_fg_videoram;
UINT16 *spriteram;
UINT16 *paletteram;
int sprite_flip_axis;
tilemap_t *fg_tilemap;
int flipscreen;
UINT32 fg_tile_offset;
};
/*----------- defined in video/snk68.c -----------*/
VIDEO_START( pow );
VIDEO_START( searchar );
VIDEO_UPDATE( pow );
WRITE16_HANDLER( pow_paletteram16_word_w );
WRITE16_HANDLER( pow_flipscreen16_w );
WRITE16_HANDLER( searchar_flipscreen16_w );
READ16_HANDLER( pow_spriteram_r );
WRITE16_HANDLER( pow_spriteram_w );
READ16_HANDLER( pow_fg_videoram_r );
WRITE16_HANDLER( pow_fg_videoram_w );
WRITE16_HANDLER( searchar_fg_videoram_w );