/***************************************************************************************************
		Convert from NINGEN		(indy_Rhand) 																
****************************************************************************************************/
#define indy_Rhand_AMB_SCALE 0.5
#define ShapeColor_indy_Rhand(R,G,B) {{R*indy_Rhand_AMB_SCALE ,G*indy_Rhand_AMB_SCALE ,B*indy_Rhand_AMB_SCALE ,0 ,R*indy_Rhand_AMB_SCALE ,G*indy_Rhand_AMB_SCALE ,B*indy_Rhand_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }

static Lights1 light_indy_Rhand[] = {
	ShapeColor_indy_Rhand(255,255,255),
};

static Vtx vtx_indy_Rhand_0[] = {
	{      4,    -12,     77,     0,  3424,   196,     6,  -32,  122,  255}, 
	{     69,    -15,     32,     0,  2066,   864,    58,  -99,   51,  255}, 
	{     48,     21,      0,     0,  1416,   262,    59,  110,   16,  255}, 
	{     83,    -16,      0,     0,  1140,  1008,   122,   31,   10,  255}, 
	{     38,     13,    -46,     0,   -42,   224,    30,  107,  -60,  255}, 
	{     69,    -15,    -57,     0,  -562,   834,   100,    3,  -77,  255}, 
	{      4,    -12,    -81,     0,  3368,    64,   -51,  -88,  -75,  255}, 
	{     69,    -15,    -57,     0,  2592,   812,   100,    3,  -77,  255}, 
	{     69,    -15,     32,     0,  -302,   824,    58,  -99,   51,  255}, 
	{      4,    -12,     77,     0, -1800,    78,     6,  -32,  122,  255}, 
	{     83,    -16,      0,     0,   714,   990,   122,   31,   10,  255}, 
	{      4,    -12,    -81,     0, -1266,   142,   -51,  -88,  -75,  255}, 
};

static Vtx vtx_indy_Rhand_1[] = {
	{     48,     21,      0,     0,   700,   872,    59,  110,   16,  255}, 
	{     38,     13,    -46,     0,   818,   856,    30,  107,  -60,  255}, 
	{     -5,      8,    -57,     0,   898,   758,   -45,  111,  -40,  255}, 
	{     -3,     15,     64,     0,   620,   748,   -45,  110,   43,  255}, 
	{      4,    -12,     77,     0,   582,   764,     6,  -32,  122,  255}, 
	{    -21,     -2,     56,     0,   660,   708,  -109,  -48,   42,  255}, 
	{    -21,     -2,    -38,     0,   872,   720,  -116,   43,  -27,  255}, 
	{      4,    -12,    -81,     0,   938,   784,   -51,  -88,  -75,  255}, 
	{      4,    -12,    -81,     0,   382,   662,   -51,  -88,  -75,  255}, 
	{    -21,     -2,     56,     0,   660,   550,  -109,  -48,   42,  255}, 
	{    -21,     -2,    -38,     0,   482,   580,  -116,   43,  -27,  255}, 
	{      4,    -12,     77,     0,   680,   608,     6,  -32,  122,  255}, 
};

static Gfx gfx_indy_Rhand_0[] = {
	gs_Tani_LoadTextureImage2(indy_tume_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),

	gsSPLight((&light_indy_Rhand[0].l[0]),1 ),
	gsSPLight((&light_indy_Rhand[0].a   ),2 ),

	gsSPVertex(&vtx_indy_Rhand_0[0], 12, 0), 
	gsSP1Triangle( 0, 1, 2, 0),
	gsSP1Triangle( 1, 3, 2, 0),
	gsSP1Triangle( 4, 2, 5, 0),
	gsSP1Triangle( 2, 3, 5, 0),
	gsSP1Triangle( 6, 7, 8, 0),
	gsSP1Triangle( 8, 9, 6, 0),
	gsSP1Triangle( 7,10, 8, 0),
	gsSP1Triangle( 5,11, 4, 0),
	gsSPEndDisplayList() 
};

static Gfx gfx_indy_Rhand_1[] = {
	gs_Tani_LoadTextureImage2(indy_eye_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
	gsSPVertex(&vtx_indy_Rhand_1[0], 12, 0), 
	gsSP1Triangle( 0, 1, 2, 0),
	gsSP1Triangle( 0, 3, 4, 0),
	gsSP1Triangle( 3, 0, 2, 0),
	gsSP1Triangle( 4, 3, 5, 0),
	gsSP1Triangle( 3, 2, 6, 0),
	gsSP1Triangle( 5, 3, 6, 0),
	gsSP1Triangle( 6, 2, 7, 0),
	gsSP1Triangle( 7, 2, 1, 0),
	gsSP1Triangle( 8, 9,10, 0),
	gsSP1Triangle(11, 9, 8, 0),
	gsSPEndDisplayList() 
};

Gfx gfx_indy_Rhand[] = {
	gsDPPipeSync(),
	gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
	gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, 7, 0,  0,0,0, 0,0,0),

	gsSPTexture(0xffff,0xffff, 0, 0, G_ON),

	gs_Tani_SetUpTileDescrip(G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32,  0, 0, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD),

		gsSPDisplayList(gfx_indy_Rhand_0),

	gs_Tani_SetUpTileDescrip(G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32,  0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD),

		gsSPDisplayList(gfx_indy_Rhand_1),

	gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),

	gsDPPipeSync(),
	gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
	gsSPEndDisplayList() 
};

