summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/video/actfancr.cpp
blob: 22cd983b77609a8e2da0e3e96369c16c1b44a5d3 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                  





                                                                                
                
                              


                                                                                
                                                                                                                       
 
                            



                                                 
 
                                                                                                    
                                                                                     
                                                                                  
 

                 
// license:BSD-3-Clause
// copyright-holders:Bryan McPhail
/*******************************************************************************

    actfancr - Bryan McPhail, mish@tendril.co.uk

*******************************************************************************/

#include "emu.h"
#include "includes/actfancr.h"

/******************************************************************************/

uint32_t actfancr_state::screen_update_actfancr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
	/* Draw playfield */
	bool flip = m_tilegen2->get_flip_state();
	m_tilegen1->set_flip_screen(flip);
	m_tilegen2->set_flip_screen(flip);
	m_spritegen->set_flip_screen(flip);

	m_tilegen1->deco_bac06_pf_draw(bitmap,cliprect,TILEMAP_DRAW_OPAQUE, 0x00, 0x00, 0x00, 0x00);
	m_spritegen->draw_sprites(bitmap, cliprect, m_spriteram16, 0x00, 0x00, 0x0f);
	m_tilegen2->deco_bac06_pf_draw(bitmap,cliprect,0, 0x00, 0x00, 0x00, 0x00);

	return 0;
}