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

« back to all changes in this revision

Viewing changes to src/mame/includes/tigeroad.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "video/bufsprite.h"
 
2
 
1
3
class tigeroad_state : public driver_device
2
4
{
3
5
public:
4
6
        tigeroad_state(const machine_config &mconfig, device_type type, const char *tag)
5
 
                : driver_device(mconfig, type, tag) { }
 
7
                : driver_device(mconfig, type, tag),
 
8
                  m_spriteram(*this, "spriteram") ,
 
9
                m_videoram(*this, "videoram"),
 
10
                m_ram16(*this, "ram16"){ }
6
11
 
7
 
        UINT16 *m_videoram;
8
 
        UINT16 *m_ram16;
 
12
        required_device<buffered_spriteram16_device> m_spriteram;
 
13
        required_shared_ptr<UINT16> m_videoram;
 
14
        required_shared_ptr<UINT16> m_ram16;
9
15
        int m_bgcharbank;
10
16
        tilemap_t *m_bg_tilemap;
11
17
        tilemap_t *m_fg_tilemap;
 
18
        DECLARE_WRITE16_MEMBER(f1dream_control_w);
 
19
        DECLARE_WRITE16_MEMBER(tigeroad_soundcmd_w);
 
20
        DECLARE_WRITE16_MEMBER(tigeroad_videoram_w);
 
21
        DECLARE_WRITE16_MEMBER(tigeroad_videoctrl_w);
 
22
        DECLARE_WRITE16_MEMBER(tigeroad_scroll_w);
12
23
};
13
24
 
14
25
 
15
26
/*----------- defined in video/tigeroad.c -----------*/
16
27
 
17
 
WRITE16_HANDLER( tigeroad_videoram_w );
18
 
WRITE16_HANDLER( tigeroad_videoctrl_w );
19
 
WRITE16_HANDLER( tigeroad_scroll_w );
20
28
VIDEO_START( tigeroad );
21
29
SCREEN_UPDATE_IND16( tigeroad );
22
 
SCREEN_VBLANK( tigeroad );