/*************************************************************************************************** Convert from NINGEN (sman_hand) ****************************************************************************************************/ #define sman_hand_AMB_SCALE 0.5 #define ShapeColor_sman_hand(R,G,B) {{R*sman_hand_AMB_SCALE ,G*sman_hand_AMB_SCALE ,B*sman_hand_AMB_SCALE ,0 ,R*sman_hand_AMB_SCALE ,G*sman_hand_AMB_SCALE ,B*sman_hand_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_sman_hand[] = { ShapeColor_sman_hand(255,255,255), }; static Vtx vtx_sman_hand_0[] = { { 3, -44, -24, 0, 672, 1148, -63, -71, -83, 255}, { 105, -63, -17, 0, 720, 626, 49, -54, -103, 255}, { 116, -101, 11, 0, 888, 570, 45, -116, -21, 255}, { -4, 4, -29, 0, 458, 1184, -83, 3, -95, 255}, { 96, -30, -36, 0, 578, 662, 30, -34, -118, 255}, { 97, 16, -36, 0, 364, 654, 19, 42, -118, 255}, { 208, -42, 25, 0, 588, 84, 87, -88, 25, 255}, { 128, -61, 9, 0, 704, 502, 105, -65, 27, 255}, { 57, -20, 36, 0, 546, 864, 2, -8, 126, 255}, { 132, 90, 32, 0, 20, 460, 19, 82, 94, 255}, { 215, 42, 28, 0, 206, 34, 69, 64, -84, 255}, { 69, -56, 36, 0, 704, 810, 4, -24, 124, 255}, { -2, 45, -14, 0, 270, 1168, -95, 66, -50, 255}, { 33, 83, 26, 0, 88, 974, -51, 114, 15, 255}, { 107, 63, -2, 0, 148, 596, 15, 82, -95, 255}, { 36, -86, 11, 0, 850, 988, -67, -88, 61, 255}, { 69, -56, 36, 0, 704, 810, 4, -24, 124, 255}, { 57, -20, 36, 0, 546, 864, 2, -8, 126, 255}, { 6, 0, 28, 0, 472, 1124, -93, -11, 85, 255}, { 33, 83, 26, 0, 88, 974, -51, 114, 15, 255}, { -4, 4, -29, 0, 458, 1184, -83, 3, -95, 255}, { 3, -44, -24, 0, 672, 1148, -63, -71, -83, 255}, { -2, 45, -14, 0, 270, 1168, -95, 66, -50, 255}, { 36, -86, 11, 0, 850, 988, -67, -88, 61, 255}, { 116, -101, 11, 0, 888, 570, 45, -116, -21, 255}, }; static Gfx gfx_sman_hand_0[] = { gs_Tani_LoadTextureImage2(hand_cloth_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPLight((&light_sman_hand[0].l[0]),1 ), gsSPLight((&light_sman_hand[0].a ),2 ), gsSPVertex(&vtx_sman_hand_0[0], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 3, 4, 0), gsSP1Triangle( 4, 1, 0, 0), gsSP1Triangle( 5, 4, 3, 0), gsSP1Triangle( 5, 6, 4, 0), gsSP1Triangle( 4, 6, 7, 0), gsSP1Triangle( 7, 1, 4, 0), gsSP1Triangle( 7, 6, 8, 0), gsSP1Triangle( 9, 8, 6, 0), gsSP1Triangle( 9, 6,10, 0), gsSP1Triangle( 5,10, 6, 0), gsSP1Triangle( 7, 2, 1, 0), gsSP1Triangle( 8,11, 7, 0), gsSP1Triangle(11, 2, 7, 0), gsSP1Triangle( 5,12,13, 0), gsSP1Triangle(13,14, 5, 0), gsSP1Triangle( 5, 3,12, 0), gsSP1Triangle( 5,14,10, 0), gsSP1Triangle(10,14, 9, 0), gsSP1Triangle(13, 9,14, 0), gsSP1Triangle( 8, 9,13, 0), gsSP1Triangle( 2,15, 0, 0), gsSPVertex(&vtx_sman_hand_0[16], 9, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 2, 1, 0), gsSP1Triangle( 4, 5, 2, 0), gsSP1Triangle( 2, 6, 4, 0), gsSP1Triangle( 2, 5, 7, 0), gsSP1Triangle( 0, 2, 7, 0), gsSP1Triangle( 3, 6, 2, 0), gsSP1Triangle( 7, 8, 0, 0), gsSPEndDisplayList() }; Gfx gfx_sman_hand[] = { 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_sman_hand_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPEndDisplayList() };