97 lines
4.1 KiB
Plaintext
97 lines
4.1 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (indy_Lhand)
|
|
****************************************************************************************************/
|
|
#define indy_Lhand_AMB_SCALE 0.5
|
|
#define ShapeColor_indy_Lhand(R,G,B) {{R*indy_Lhand_AMB_SCALE ,G*indy_Lhand_AMB_SCALE ,B*indy_Lhand_AMB_SCALE ,0 ,R*indy_Lhand_AMB_SCALE ,G*indy_Lhand_AMB_SCALE ,B*indy_Lhand_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
|
|
|
|
static Lights1 light_indy_Lhand[] = {
|
|
ShapeColor_indy_Lhand(255,255,255),
|
|
};
|
|
|
|
static Vtx vtx_indy_Lhand_0[] = {
|
|
{ 69, -15, 58, 0, -562, 834, 100, 3, 77, 255},
|
|
{ 48, 21, 0, 0, 1416, 262, 59, 110, -17, 255},
|
|
{ 38, 13, 47, 0, -42, 224, 30, 107, 60, 255},
|
|
{ 83, -16, 0, 0, 1140, 1008, 122, 30, -11, 255},
|
|
{ 69, -15, -31, 0, 2066, 864, 58, -99, -52, 255},
|
|
{ 4, -12, -76, 0, 3424, 196, 6, -32, -122, 255},
|
|
{ 69, -15, -31, 0, -174, 804, 58, -99, -52, 255},
|
|
{ 69, -15, 58, 0, 2602, 774, 100, 3, 77, 255},
|
|
{ 4, -12, 82, 0, 3316, 82, -51, -88, 75, 255},
|
|
{ 83, -16, 0, 0, 808, 950, 122, 30, -11, 255},
|
|
{ 4, -12, -76, 0, -1640, 128, 6, -32, -122, 255},
|
|
{ 4, -12, 82, 0, -1266, 142, -51, -88, 75, 255},
|
|
};
|
|
|
|
static Vtx vtx_indy_Lhand_1[] = {
|
|
{ -21, -2, -55, 0, 1006, 906, -109, -48, -42, 255},
|
|
{ -3, 15, -63, 0, 986, 942, -45, 110, -43, 255},
|
|
{ 4, -12, -76, 0, 1000, 962, 6, -32, -122, 255},
|
|
{ 48, 21, 0, 0, 762, 994, 59, 110, -17, 255},
|
|
{ -5, 8, 58, 0, 748, 864, -45, 111, 40, 255},
|
|
{ -21, -2, 39, 0, 816, 848, -116, 43, 27, 255},
|
|
{ 38, 13, 47, 0, 686, 950, 30, 107, 60, 255},
|
|
{ 4, -12, 82, 0, 682, 868, -51, -88, 75, 255},
|
|
{ -21, -2, 39, 0, 836, 598, -116, 43, 27, 255},
|
|
{ -21, -2, -55, 0, 584, 594, -109, -48, -42, 255},
|
|
{ 4, -12, 82, 0, 946, 700, -51, -88, 75, 255},
|
|
{ 4, -12, -76, 0, 524, 694, 6, -32, -122, 255},
|
|
};
|
|
|
|
static Gfx gfx_indy_Lhand_0[] = {
|
|
gs_Tani_LoadTextureImage2(indy_tume_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
|
|
gsSPLight((&light_indy_Lhand[0].l[0]),1 ),
|
|
gsSPLight((&light_indy_Lhand[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_indy_Lhand_0[0], 12, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 3, 1, 0),
|
|
gsSP1Triangle( 1, 3, 4, 0),
|
|
gsSP1Triangle( 1, 4, 5, 0),
|
|
gsSP1Triangle( 6, 7, 8, 0),
|
|
gsSP1Triangle( 6, 9, 7, 0),
|
|
gsSP1Triangle( 8,10, 6, 0),
|
|
gsSP1Triangle( 2,11, 0, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
static Gfx gfx_indy_Lhand_1[] = {
|
|
gs_Tani_LoadTextureImage2(indy_eye_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_indy_Lhand_1[0], 12, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 2, 1, 3, 0),
|
|
gsSP1Triangle( 4, 3, 1, 0),
|
|
gsSP1Triangle( 5, 4, 1, 0),
|
|
gsSP1Triangle( 5, 1, 0, 0),
|
|
gsSP1Triangle( 4, 6, 3, 0),
|
|
gsSP1Triangle( 7, 4, 5, 0),
|
|
gsSP1Triangle( 6, 4, 7, 0),
|
|
gsSP1Triangle( 8, 9,10, 0),
|
|
gsSP1Triangle(10, 9,11, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_indy_Lhand[] = {
|
|
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_Lhand_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_Lhand_1),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|