~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to mess/src/mame/includes/kickgoal.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
 
 
3
 
    Kick Goal - Action Hollywood
4
 
 
5
 
*************************************************************************/
6
 
 
7
 
#include "sound/okim6295.h"
8
 
#include "machine/eeprom.h"
9
 
 
10
 
class kickgoal_state : public driver_device
11
 
{
12
 
public:
13
 
        kickgoal_state(const machine_config &mconfig, device_type type, const char *tag)
14
 
                : driver_device(mconfig, type, tag),
15
 
                  m_adpcm(*this, "oki"),
16
 
                  m_eeprom(*this, "eeprom") { }
17
 
 
18
 
        /* memory pointers */
19
 
        UINT16 *    m_fgram;
20
 
        UINT16 *    m_bgram;
21
 
        UINT16 *    m_bg2ram;
22
 
        UINT16 *    m_scrram;
23
 
        UINT16 *    m_spriteram;
24
 
//      UINT16 *    m_paletteram;    // currently this uses generic palette handling
25
 
        size_t      m_spriteram_size;
26
 
 
27
 
        /* video-related */
28
 
        tilemap_t     *m_fgtm;
29
 
        tilemap_t     *m_bgtm;
30
 
        tilemap_t     *m_bg2tm;
31
 
 
32
 
        /* misc */
33
 
        int         m_melody_loop;
34
 
        int         m_snd_new;
35
 
        int         m_snd_sam[4];
36
 
        int         m_m6295_comm;
37
 
        int         m_m6295_bank;
38
 
        UINT16      m_m6295_key_delay;
39
 
 
40
 
        /* devices */
41
 
        required_device<okim6295_device> m_adpcm;
42
 
        required_device<eeprom_device> m_eeprom;
43
 
};
44
 
 
45
 
 
46
 
/*----------- defined in video/kickgoal.c -----------*/
47
 
 
48
 
WRITE16_HANDLER( kickgoal_fgram_w  );
49
 
WRITE16_HANDLER( kickgoal_bgram_w  );
50
 
WRITE16_HANDLER( kickgoal_bg2ram_w );
51
 
 
52
 
VIDEO_START( kickgoal );
53
 
SCREEN_UPDATE( kickgoal );
54
 
 
55
 
VIDEO_START( actionhw );
56
 
SCREEN_UPDATE( actionhw );