Ejemplo n.º 1
0
static PALETTE_INIT( tank8 )
{
	int i;

	fill_palette(0);

	palette_set_color(8, 0x00, 0x00, 0x00);
	palette_set_color(9, 0xff, 0xff, 0xff);

	for (i = 0; i < 8; i++)
	{
		colortable[2 * i + 0] = 8;
		colortable[2 * i + 1] = i;
	}

	colortable[16] = 8;
	colortable[17] = 8;
	colortable[18] = 8;
	colortable[19] = 9;
}
Ejemplo n.º 2
0
static PALETTE_INIT( tank8 )
{
	int i;

	fill_palette(machine,0);

	palette_set_color(machine, 8, MAKE_RGB(0x00, 0x00, 0x00));
	palette_set_color(machine, 9, MAKE_RGB(0xff, 0xff, 0xff));

	for (i = 0; i < 8; i++)
	{
		colortable[2 * i + 0] = 8;
		colortable[2 * i + 1] = i;
	}

	colortable[16] = 8;
	colortable[17] = 8;
	colortable[18] = 8;
	colortable[19] = 9;
}
Ejemplo n.º 3
0
static WRITE8_HANDLER( tank8_team_w )
{
	fill_palette(~data & 1);
}