示例#1
0
文件: cardline.c 项目: j4y4r/j4ymame
static SCREEN_UPDATE_IND16( cardline )
{
	cardline_state *state = screen.machine().driver_data<cardline_state>();
	int x,y;
	bitmap.fill(0, cliprect);
	for(y=0;y<32;y++)
	{
		for(x=0;x<64;x++)
		{
			int index=y*64+x;
			if(state->m_video&1)
			{
				DRAW_TILE(screen.machine(),0,0);
				DRAW_TILE(screen.machine(),0x800,1);
			}

			if(state->m_video&2)
			{
				DRAW_TILE(screen.machine(),0x1000,0);
				DRAW_TILE(screen.machine(),0x1800,1);
			}
		}
	}
	return 0;
}
示例#2
0
static VIDEO_UPDATE( cardline )
{
	int x,y;
	fillbitmap(bitmap,machine->pens[0],cliprect);
	for(y=0;y<32;y++)
	{
		for(x=0;x<64;x++)
		{
			int index=y*64+x;
			if(cardline_video&1)
			{
				DRAW_TILE(0,0);
				DRAW_TILE(0x800,1);
			}

			if(cardline_video&2)
			{
				DRAW_TILE(0x1000,0);
				DRAW_TILE(0x1800,1);
			}
		}
	}
	return 0;
}
示例#3
0
static VIDEO_UPDATE( cardline )
{
	int x,y;
	bitmap_fill(bitmap,cliprect,0);
	for(y=0;y<32;y++)
	{
		for(x=0;x<64;x++)
		{
			int index=y*64+x;
			if(cardline_video&1)
			{
				DRAW_TILE(screen->machine,0,0);
				DRAW_TILE(screen->machine,0x800,1);
			}

			if(cardline_video&2)
			{
				DRAW_TILE(screen->machine,0x1000,0);
				DRAW_TILE(screen->machine,0x1800,1);
			}
		}
	}
	return 0;
}
示例#4
0
文件: tile.cpp 项目: tjwei/snes9x-3d
static void MAKENAME(NAME1, SubS1_2_, NAME2) (ARGS)
{
#define MATH(A, B, C)	MATHS1_2(SUB, A, B, C)
    DRAW_TILE();
#undef MATH
}
示例#5
0
文件: tile.cpp 项目: tjwei/snes9x-3d
static void MAKENAME(NAME1, Sub_, NAME2) (ARGS)
{
#define MATH(A, B, C)	REGMATH(SUB, A, B, C)
    DRAW_TILE();
#undef MATH
}
示例#6
0
文件: tile.cpp 项目: tjwei/snes9x-3d
static void MAKENAME(NAME1, AddF1_2_, NAME2) (ARGS)
{
#define MATH(A, B, C)	MATHF1_2(ADD, A, B, C)
    DRAW_TILE();
#undef MATH
}
示例#7
0
文件: tile.cpp 项目: tjwei/snes9x-3d
static void MAKENAME(NAME1, _, NAME2) (ARGS)
{
#define MATH(A, B, C)	NOMATH(x, A, B, C)
    DRAW_TILE();
#undef MATH
}