diff options
Diffstat (limited to 'src/mame/video/tc0080vco.h')
-rw-r--r-- | src/mame/video/tc0080vco.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/mame/video/tc0080vco.h b/src/mame/video/tc0080vco.h index 32a07905b5b..39e17159917 100644 --- a/src/mame/video/tc0080vco.h +++ b/src/mame/video/tc0080vco.h @@ -8,7 +8,7 @@ class tc0080vco_device : public device_t { public: - tc0080vco_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + tc0080vco_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); // configuration template <typename T> void set_gfxdecode_tag(T &&tag) { m_gfxdecode.set_tag(std::forward<T>(tag)); } @@ -25,13 +25,13 @@ public: DECLARE_WRITE16_MEMBER( word_w ); void tilemap_update(); - void tilemap_draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int layer, int flags, uint32_t priority); + void tilemap_draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int layer, int flags, u8 priority, u8 pmask = 0xff); void set_fg0_debug(bool debug) { m_has_fg0 = debug ? 0 : 1; } - uint16_t cram_0_r(int offset); - uint16_t cram_1_r(int offset); - uint16_t sprram_r(int offset); - uint16_t scrram_r(int offset); + u16 cram_0_r(int offset); + u16 cram_1_r(int offset); + u16 sprram_r(int offset); + u16 scrram_r(int offset); DECLARE_WRITE16_MEMBER( scrollram_w ); READ_LINE_MEMBER( flipscreen_r ); @@ -42,30 +42,30 @@ protected: private: // internal state - std::unique_ptr<uint16_t[]> m_ram; - uint16_t * m_bg0_ram_0; - uint16_t * m_bg0_ram_1; - uint16_t * m_bg1_ram_0; - uint16_t * m_bg1_ram_1; - uint16_t * m_tx_ram_0; - uint16_t * m_tx_ram_1; - uint16_t * m_char_ram; - uint16_t * m_bgscroll_ram; + std::unique_ptr<u16[]> m_ram; + u16 * m_bg0_ram_0; + u16 * m_bg0_ram_1; + u16 * m_bg1_ram_0; + u16 * m_bg1_ram_1; + u16 * m_tx_ram_0; + u16 * m_tx_ram_1; + u16 * m_char_ram; + u16 * m_bgscroll_ram; /* FIXME: This sprite related stuff still needs to be accessed in video/taito_h */ - uint16_t * m_chain_ram_0; - uint16_t * m_chain_ram_1; - uint16_t * m_spriteram; - uint16_t * m_scroll_ram; + u16 * m_chain_ram_0; + u16 * m_chain_ram_1; + u16 * m_spriteram; + u16 * m_scroll_ram; - uint16_t m_bg0_scrollx; - uint16_t m_bg0_scrolly; - uint16_t m_bg1_scrollx; - uint16_t m_bg1_scrolly; + u16 m_bg0_scrollx; + u16 m_bg0_scrolly; + u16 m_bg1_scrollx; + u16 m_bg1_scrolly; tilemap_t *m_tilemap[3]; - int32_t m_flipscreen; + s32 m_flipscreen; int m_gfxnum; int m_txnum; @@ -78,8 +78,8 @@ private: TILE_GET_INFO_MEMBER(get_bg0_tile_info); TILE_GET_INFO_MEMBER(get_bg1_tile_info); TILE_GET_INFO_MEMBER(get_tx_tile_info); - void bg0_tilemap_draw( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int flags, uint32_t priority ); - void bg1_tilemap_draw( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int flags, uint32_t priority ); + void bg0_tilemap_draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int flags, u8 priority, u8 pmask = 0xff); + void bg1_tilemap_draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int flags, u8 priority, u8 pmask = 0xff); }; DECLARE_DEVICE_TYPE(TC0080VCO, tc0080vco_device) |