diff options
author | Olivier Galibert <galibert@pobox.com> | 2021-06-07 19:33:45 +0200 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2021-06-07 19:33:50 +0200 |
commit | 4de1318f1cd07ecf47085f8ecd37b754ae4e998c (patch) | |
tree | e808fc5f9290ea1e7ed2daceb4cc5749a16f86b8 /src/mame/includes | |
parent | 636543e6e9288dc2736df2cfa01b1aaafec0fdc1 (diff) |
mermaid: Support the masking effect (imperfectly)
Diffstat (limited to 'src/mame/includes')
-rw-r--r-- | src/mame/includes/mermaid.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mame/includes/mermaid.h b/src/mame/includes/mermaid.h index be883de73fb..02bf1bdc055 100644 --- a/src/mame/includes/mermaid.h +++ b/src/mame/includes/mermaid.h @@ -57,11 +57,14 @@ private: tilemap_t *m_fg_tilemap; bitmap_ind16 m_helper; bitmap_ind16 m_helper2; + bitmap_ind16 m_helper_mask; int m_coll_bit0; int m_coll_bit1; int m_coll_bit2; int m_coll_bit3; int m_coll_bit6; + int m_bg_mask; + int m_bg_bank; int m_rougien_gfxbank1; int m_rougien_gfxbank2; @@ -99,6 +102,8 @@ private: DECLARE_WRITE_LINE_MEMBER(flip_screen_y_w); void mermaid_bg_scroll_w(offs_t offset, uint8_t data); void mermaid_fg_scroll_w(offs_t offset, uint8_t data); + DECLARE_WRITE_LINE_MEMBER(bg_mask_w); + DECLARE_WRITE_LINE_MEMBER(bg_bank_w); DECLARE_WRITE_LINE_MEMBER(rougien_gfxbankswitch1_w); DECLARE_WRITE_LINE_MEMBER(rougien_gfxbankswitch2_w); uint8_t mermaid_collision_r(); |