summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/includes/prehisle.h
blob: 23133c5cbc3506bf20f67bd0eb7653e5132bb583 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                           

       

                                                                                        

 



                                 
 


                                 










                                                       
                          
class prehisle_state : public driver_device
{
public:
	prehisle_state(const machine_config &mconfig, device_type type, const char *tag)
		: driver_device(mconfig, type, tag) { }


	UINT16 *m_spriteram;
	UINT16 *m_videoram;
	UINT16 *m_bg_videoram16;
	UINT16 m_invert_controls;

	tilemap_t *m_bg2_tilemap;
	tilemap_t *m_bg_tilemap;
	tilemap_t *m_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 );
SCREEN_UPDATE( prehisle );