/*************************************************************************************************** Convert from NINGEN (carry_eye) ****************************************************************************************************/ #define carry_eye_AMB_SCALE 0.4 #define ShapeColor_carry_eye(R,G,B) {{R*carry_eye_AMB_SCALE ,G*carry_eye_AMB_SCALE ,B*carry_eye_AMB_SCALE ,0 ,R*carry_eye_AMB_SCALE ,G*carry_eye_AMB_SCALE ,B*carry_eye_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_carry_eye[] = { ShapeColor_carry_eye(255,255,255), }; static Vtx vtx_carry_eye_0[] = { { 33, 237, 0, 0, 480, 1016, 64, 101, 40, 255}, { 27, 198, 107, 0, 1012, 932, 64, 101, 40, 255}, { 196, 134, 0, 0, 480, -66, 64, 101, 40, 255}, { 163, 112, 107, 0, 1012, 22, 64, 101, 40, 255}, { 196, 134, 0, 0, 480, -66, 64, 101, -41, 255}, { 27, 198, -106, 0, -52, 928, 64, 101, -41, 255}, { 33, 237, 0, 0, 480, 1016, 64, 101, -41, 255}, { 163, 112, -106, 0, -52, 20, 64, 101, -41, 255}, }; static Gfx gfx_carry_eye_0[] = { gs_Tani_LoadTextureImage2(boy_eye_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPLight((&light_carry_eye[0].l[0]),1 ), gsSPLight((&light_carry_eye[0].a ),2 ), gsSPVertex(&vtx_carry_eye_0[0], 8, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 1, 3, 2, 0), gsSP1Triangle( 4, 5, 6, 0), gsSP1Triangle( 4, 7, 5, 0), gsSPEndDisplayList() }; Gfx gfx_carry_eye[] = { gsDPPipeSync(), gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA), gsSPClearGeometryMode(G_SHADING_SMOOTH), 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_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD), gsSPDisplayList(gfx_carry_eye_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPSetGeometryMode(G_SHADING_SMOOTH), gsSPEndDisplayList() };