summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/compgolf.h
blob: a66b147a77b412b42c1c035db52452a0068bb12c (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
/*************************************************************************

    Competition Golf Final Round

*************************************************************************/

typedef struct _compgolf_state compgolf_state;
struct _compgolf_state
{
	/* memory pointers */
	UINT8 *        videoram;
	UINT8 *        bg_ram;
	UINT8 *        spriteram;

	/* video-related */
	tilemap        *text_tilemap, *bg_tilemap;
	int            scrollx_lo, scrollx_hi;
	int            scrolly_lo, scrolly_hi;

	/* misc */
	int            bank;
};


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

WRITE8_HANDLER( compgolf_video_w );
WRITE8_HANDLER( compgolf_back_w );
PALETTE_INIT ( compgolf );
VIDEO_START  ( compgolf );
VIDEO_UPDATE ( compgolf );