diff options
author | mamehaze <mamehaze@users.noreply.github.com> | 2014-12-01 20:30:22 +0000 |
---|---|---|
committer | mamehaze <mamehaze@users.noreply.github.com> | 2014-12-01 20:30:22 +0000 |
commit | 01e218c4d814df8e8f4bf42244d71e920213da7a (patch) | |
tree | 301b2d2626fa9834e0b077653bb7848f266d903b /src/mame/includes/tigeroad.h | |
parent | 73304c70650e9f80f326da4c239af1e13c8d7d20 (diff) |
unify sprite handling between bionicc, tigeroad, supduck etc. (nw)
Diffstat (limited to 'src/mame/includes/tigeroad.h')
-rw-r--r-- | src/mame/includes/tigeroad.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/includes/tigeroad.h b/src/mame/includes/tigeroad.h index 6daa05b91cb..5d01f416e1f 100644 --- a/src/mame/includes/tigeroad.h +++ b/src/mame/includes/tigeroad.h @@ -5,6 +5,7 @@ #include "sound/2203intf.h" #include "sound/msm5205.h" #include "cpu/m6805/m6805.h" +#include "video/tigeroad_spr.h" class tigeroad_state : public driver_device { @@ -20,6 +21,7 @@ public: m_gfxdecode(*this, "gfxdecode"), m_palette(*this, "palette"), m_mcu(*this, "mcu"), + m_spritegen(*this, "spritegen"), m_has_coinlock(1) { } @@ -43,7 +45,6 @@ public: TILEMAP_MAPPER_MEMBER(tigeroad_tilemap_scan); virtual void video_start(); UINT32 screen_update_tigeroad(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, int priority ); void f1dream_protection_w(address_space &space); DECLARE_WRITE_LINE_MEMBER(irqhandler); required_device<cpu_device> m_maincpu; @@ -52,6 +53,7 @@ public: required_device<gfxdecode_device> m_gfxdecode; required_device<palette_device> m_palette; optional_device<cpu_device> m_mcu; + required_device<tigeroad_spr_device> m_spritegen; UINT16 m_control[2]; |