/*************************************************************************************************** Convert from NINGEN (manta_Lwing3) ****************************************************************************************************/ #define SCALE 0.25 #define ShapeColor_manta_Lwing3(R,G,B) {{R*SCALE ,G*SCALE ,B*SCALE ,0 ,R*SCALE ,G*SCALE ,B*SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Vtx vtx_manta_Lwing3_0[] = { { 167, -105, 0, 0, 1220, 280, -1, -1, -1, 255}, { 0, -89, 10, 0, 1024, 298, -1, -1, -1, 255}, { 0, -109, 0, 0, 1024, 274, -1, -1, -1, 255}, { 0, 122, 0, 0, 1024, 550, -1, -1, -1, 255}, { 180, -17, 0, 0, 1236, 384, -1, -1, -1, 255}, { -7, -77, 0, 0, 1012, 312, -1, -1, -1, 255}, }; static Vtx vtx_manta_Lwing3_1[] = { { 0, -89, -9, 0, 0, 0, -58, -18, -19, 255}, { 180, -17, 0, 0, 0, 0, -58, -18, -19, 255}, { 167, -105, 0, 0, 0, 0, -58, -18, -19, 255}, { 0, -109, 0, 0, 0, 0, -58, -18, -19, 255}, { -7, -77, 0, 0, 0, 0, -58, -18, -19, 255}, { 0, 122, 0, 0, 0, 0, -58, -18, -19, 255}, }; static Gfx gfx_manta_Lwing3_0[] = { gs_Tani_LoadTextureImage2(manta_body_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, 7), gsSPVertex(&vtx_manta_Lwing3_0[0], 6, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 1, 4, 0), gsSP1Triangle( 4, 1, 0, 0), gsSP1Triangle( 1, 3, 5, 0), gsSP1Triangle( 5, 2, 1, 0), gsSPEndDisplayList() }; static Gfx gfx_manta_Lwing3_1[] = { gsSPVertex(&vtx_manta_Lwing3_1[0], 6, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 3, 4, 0), gsSP1Triangle( 3, 0, 2, 0), gsSP1Triangle( 4, 5, 0, 0), gsSP1Triangle( 5, 1, 0, 0), gsSPEndDisplayList() }; Gfx gfx_manta_Lwing3[] = { gsDPPipeSync(), gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB), gsSPClearGeometryMode(G_LIGHTING), 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, 64, 32, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD), gsSPDisplayList(gfx_manta_Lwing3_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPDisplayList(gfx_manta_Lwing3_1), gsSPSetGeometryMode(G_LIGHTING), gsSPEndDisplayList() };