~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to mess/src/mame/includes/dogfgt.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#define PIXMAP_COLOR_BASE  (16 + 32)
3
 
#define BITMAPRAM_SIZE      0x6000
4
 
 
5
 
 
6
 
class dogfgt_state : public driver_device
7
 
{
8
 
public:
9
 
        dogfgt_state(const machine_config &mconfig, device_type type, const char *tag)
10
 
                : driver_device(mconfig, type, tag) { }
11
 
 
12
 
        /* memory pointers */
13
 
        UINT8 *    m_bgvideoram;
14
 
        UINT8 *    m_spriteram;
15
 
        UINT8 *    m_sharedram;
16
 
//  UINT8 *    m_paletteram;  // currently this uses generic palette handling
17
 
        size_t     m_spriteram_size;
18
 
 
19
 
        /* video-related */
20
 
        bitmap_t  *m_pixbitmap;
21
 
        tilemap_t   *m_bg_tilemap;
22
 
        UINT8     *m_bitmapram;
23
 
        int       m_bm_plane;
24
 
        int       m_pixcolor;
25
 
        int       m_scroll[4];
26
 
        int       m_lastflip;
27
 
        int       m_lastpixcolor;
28
 
 
29
 
        /* sound-related */
30
 
        int       m_soundlatch;
31
 
        int       m_last_snd_ctrl;
32
 
 
33
 
        /* devices */
34
 
        device_t *m_subcpu;
35
 
};
36
 
 
37
 
 
38
 
/*----------- defined in video/dogfgt.c -----------*/
39
 
 
40
 
WRITE8_HANDLER( dogfgt_plane_select_w );
41
 
READ8_HANDLER( dogfgt_bitmapram_r );
42
 
WRITE8_HANDLER( dogfgt_bitmapram_w );
43
 
WRITE8_HANDLER( dogfgt_bgvideoram_w );
44
 
WRITE8_HANDLER( dogfgt_scroll_w );
45
 
WRITE8_HANDLER( dogfgt_1800_w );
46
 
 
47
 
PALETTE_INIT( dogfgt );
48
 
VIDEO_START( dogfgt );
49
 
SCREEN_UPDATE( dogfgt );