summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/stadhero.h
blob: 43453b0db717f96cee1c48798001f05006bf51f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class stadhero_state : public driver_device
{
public:
	stadhero_state(const machine_config &mconfig, device_type type, const char *tag)
		: driver_device(mconfig, type, tag) ,
		m_pf1_data(*this, "pf1_data"),
		m_spriteram(*this, "spriteram"){ }

	required_shared_ptr<UINT16> m_pf1_data;
	tilemap_t *m_pf1_tilemap;
	int m_flipscreen;
	required_shared_ptr<UINT16> m_spriteram;
	DECLARE_READ16_MEMBER(stadhero_control_r);
	DECLARE_WRITE16_MEMBER(stadhero_control_w);
	DECLARE_WRITE16_MEMBER(stadhero_pf1_data_w);
	TILE_GET_INFO_MEMBER(get_pf1_tile_info);
	virtual void video_start();
};


/*----------- defined in video/stadhero.c -----------*/


SCREEN_UPDATE_IND16( stadhero );