blob: bbba495a9d4fc5de78846c16a17d2b61f8be13dd (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
/*************************************************************************
Slapshot / Operation Wolf 3
*************************************************************************/
struct slapshot_tempsprite
{
int gfx;
int code,color;
int flipx,flipy;
int x,y;
int zoomx,zoomy;
int primask;
};
class slapshot_state : public driver_device
{
public:
slapshot_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag) { }
/* memory pointers */
UINT16 * m_color_ram;
UINT16 * m_spriteram;
UINT16 * m_spriteext;
UINT16 * m_spriteram_buffered;
UINT16 * m_spriteram_delayed;
// UINT16 * m_paletteram; // currently this uses generic palette handling
size_t m_spriteext_size;
size_t m_spriteram_size;
/* video-related */
struct slapshot_tempsprite *m_spritelist;
INT32 m_sprites_disabled;
INT32 m_sprites_active_area;
INT32 m_sprites_master_scrollx;
INT32 m_sprites_master_scrolly;
int m_sprites_flipscreen;
int m_prepare_sprites;
int m_dislayer[5];
UINT16 m_spritebank[8];
/* misc */
INT32 m_banknum;
/* devices */
device_t *m_maincpu;
device_t *m_audiocpu;
device_t *m_tc0140syt;
device_t *m_tc0480scp;
device_t *m_tc0360pri;
device_t *m_tc0640fio;
};
/*----------- defined in video/slapshot.c -----------*/
VIDEO_START( slapshot );
SCREEN_UPDATE( slapshot );
SCREEN_EOF( taito_no_buffer );
|