summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/undrfire.h
blob: ec57ae3b2255545216d87b456e2f869cd3d32303 (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
26
27
28
29
30
31
32
33
34
struct tempsprite
{
	int gfx;
	int code,color;
	int flipx,flipy;
	int x,y;
	int zoomx,zoomy;
	int primask;
};

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

	UINT16 m_coin_word;
	UINT16 m_port_sel;
	int m_frame_counter;
	UINT32 *m_ram;
	UINT32 *m_shared_ram;
	struct tempsprite *m_spritelist;
	UINT16 m_rotate_ctrl[8];
	UINT8 m_dislayer[6];
	UINT32 *m_spriteram;
	size_t m_spriteram_size;
};


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

VIDEO_START( undrfire );
SCREEN_UPDATE( undrfire );
SCREEN_UPDATE( cbombers );