diff options
Diffstat (limited to 'src/mame/video/tecmo_mix.h')
-rw-r--r-- | src/mame/video/tecmo_mix.h | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/src/mame/video/tecmo_mix.h b/src/mame/video/tecmo_mix.h index 09799ed9a15..bf5cdeebd28 100644 --- a/src/mame/video/tecmo_mix.h +++ b/src/mame/video/tecmo_mix.h @@ -13,12 +13,33 @@ public: tecmo_mix_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); void mix_bitmaps(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect, palette_device &palette, bitmap_ind16* bitmap_bg, bitmap_ind16* bitmap_fg, bitmap_ind16* bitmap_tx, bitmap_ind16* bitmap_sp); - void set_mixer_shifts(int sprpri_shift, int sprbln_shift, int sprcol_shift); - void set_blendcols(int bgblend_comp, int fgblend_comp, int txblend_comp, int spblend_comp); - void set_regularcols(int bgregular_comp, int fgregular_comp, int txregular_comp, int spregular_comp); - void set_blendsource(int spblend_source, int fgblend_source); - void set_revspritetile(); - void set_bgpen(int bgpen); + void set_mixer_shifts(int sprpri_shift, int sprbln_shift, int sprcol_shift) + { + m_sprpri_shift = sprpri_shift; + m_sprbln_shift = sprbln_shift; + m_sprcol_shift = sprcol_shift; + } + void set_blendcols(int bgblend_comp, int fgblend_comp, int txblend_comp, int spblend_comp) + { + m_bgblend_comp = bgblend_comp; + m_fgblend_comp = fgblend_comp; + m_txblend_comp = txblend_comp; + m_spblend_comp = spblend_comp; + } + void set_regularcols(int bgregular_comp, int fgregular_comp, int txregular_comp, int spregular_comp) + { + m_bgregular_comp = bgregular_comp; + m_fgregular_comp = fgregular_comp; + m_txregular_comp = txregular_comp; + m_spregular_comp = spregular_comp; + } + void set_blendsource(int spblend_source, int fgblend_source) + { + m_spblend_source = spblend_source; + m_fgblend_source = fgblend_source; + } + void set_revspritetile() { m_revspritetile = 3; } + void set_bgpen(int bgpen) { m_bgpen = bgpen; } protected: virtual void device_start() override; |