summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/includes/crimfght.h
blob: 04b5c87e5462b28a2d787abbcd225420ed7ef153 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                                          
                                           
 
       

                                                                                        
 
                             
                                                                               

                           

                                        

                     




                             



                                                       

                                                                                                                               

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

    Crime Fighters

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

class crimfght_state : public driver_device
{
public:
	crimfght_state(const machine_config &mconfig, device_type type, const char *tag)
		: driver_device(mconfig, type, tag) { }

	/* memory pointers */
//  UINT8 *    m_paletteram;    // currently this uses generic palette handling

	/* video-related */
	int        m_layer_colorbase[3];
	int        m_sprite_colorbase;

	/* devices */
	device_t *m_maincpu;
	device_t *m_audiocpu;
	device_t *m_k007232;
	device_t *m_k052109;
	device_t *m_k051960;
};

/*----------- defined in video/crimfght.c -----------*/

extern void crimfght_tile_callback(running_machine &machine, int layer,int bank,int *code,int *color,int *flags,int *priority);
extern void crimfght_sprite_callback(running_machine &machine, int *code,int *color,int *priority,int *shadow);

VIDEO_START( crimfght );
SCREEN_UPDATE( crimfght );