Beispiel #1
0
void lsasquad_state::drawbg( bitmap_ind16 &bitmap, const rectangle &cliprect, int type )
{
	int i = 0;
	int id = -1;

	while (i < 0x400)
	{
		if (!(m_scrollram[i + 2] & 1))
		{
			i = draw_layer_daikaiju(bitmap, cliprect, i, &id, type);
		}
		else
		{
			id = m_scrollram[i + 2];
			i += 4;
		}
	}
}
Beispiel #2
0
static void drawbg( running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect, int type )
{
	lsasquad_state *state = (lsasquad_state *)machine->driver_data;
	int i = 0;
	int id = -1;

	while (i < 0x400)
	{
		if (!(state->scrollram[i + 2] & 1))
		{
			i = draw_layer_daikaiju(machine, bitmap, cliprect, i, &id, type);
		}
		else
		{
			id = state->scrollram[i + 2];
			i += 4;
		}
	}
}
Beispiel #3
0
static void drawbg( running_machine &machine, bitmap_ind16 &bitmap, const rectangle &cliprect, int type )
{
	lsasquad_state *state = machine.driver_data<lsasquad_state>();
	int i = 0;
	int id = -1;

	while (i < 0x400)
	{
		if (!(state->m_scrollram[i + 2] & 1))
		{
			i = draw_layer_daikaiju(machine, bitmap, cliprect, i, &id, type);
		}
		else
		{
			id = state->m_scrollram[i + 2];
			i += 4;
		}
	}
}