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

    Blades of Steel

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

class bladestl_state
{
public:
	static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, bladestl_state(machine)); }

	bladestl_state(running_machine &machine) { }

	/* memory pointers */
	UINT8 *    paletteram;

	/* video-related */
	int        spritebank;
	int        layer_colorbase[2];

	/* misc */
	int        last_track[4];

	/* devices */
	running_device *audiocpu;
	running_device *k007342;
	running_device *k007420;
};



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

PALETTE_INIT( bladestl );

VIDEO_UPDATE( bladestl );

void bladestl_tile_callback(running_machine *machine, int layer, int bank, int *code, int *color, int *flags);
void bladestl_sprite_callback(running_machine *machine, int *code, int *color);
