summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/bionicc.h7
-rw-r--r--src/mame/includes/tigeroad.h4
2 files changed, 8 insertions, 3 deletions
diff --git a/src/mame/includes/bionicc.h b/src/mame/includes/bionicc.h
index 9a5f1b0b7a8..d98f5d9e013 100644
--- a/src/mame/includes/bionicc.h
+++ b/src/mame/includes/bionicc.h
@@ -5,6 +5,7 @@
***************************************************************************/
#include "video/bufsprite.h"
+#include "video/tigeroad_spr.h"
class bionicc_state : public driver_device
{
@@ -18,7 +19,9 @@ public:
m_paletteram(*this, "paletteram"),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette") { }
+ m_palette(*this, "palette"),
+ m_spritegen(*this, "spritegen")
+ { }
/* memory pointers */
required_device<buffered_spriteram16_device> m_spriteram;
@@ -55,8 +58,8 @@ public:
virtual void video_start();
UINT32 screen_update_bionicc(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
TIMER_DEVICE_CALLBACK_MEMBER(bionicc_scanline);
- void draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect );
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
+ required_device<tigeroad_spr_device> m_spritegen;
};
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];