/*************************************************************************************************** Convert from NINGEN (manta_body) ****************************************************************************************************/ #define SCALE 0.25 #define ShapeColor_manta_body(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_body_0[] = { { 600, 220, 6, 0, 0, 36, -1, -1, -1, 255}, { 560, 220, -33, 0, 0, 718, -1, -1, -1, 255}, { 532, 288, 6, 0, 178, 388, -1, -1, -1, 255}, { 730, 0, -43, 0, 480, 888, -1, -1, -1, 255}, { 740, 120, 26, 0, 758, -304, -1, -1, -1, 255}, { 770, 0, 16, 0, 480, -134, -1, -1, -1, 255}, { 670, 130, -53, 0, 780, 1056, -1, -1, -1, 255}, { 740, -119, 26, 0, 200, -304, -1, -1, -1, 255}, { 670, -129, -53, 0, 178, 1056, -1, -1, -1, 255}, { 560, 220, -33, 0, 990, 718, -1, -1, -1, 255}, { 600, 220, 6, 0, 990, 36, -1, -1, -1, 255}, { 600, -219, 6, 0, 0, 36, -1, -1, -1, 255}, { 560, -219, -33, 0, 0, 718, -1, -1, -1, 255}, { 532, -287, 6, 0, 178, 388, -1, -1, -1, 255}, }; static Vtx vtx_manta_body_1[] = { { 260, -219, -33, 0, 0, 2324, -1, -1, -1, 255}, { 220, 0, -73, 0, 1092, 2532, -1, -1, -1, 255}, { 504, 0, -91, 0, 1092, 1048, -1, -1, -1, 255}, { 560, -219, -33, 0, 0, 756, -1, -1, -1, 255}, { 260, 220, -33, 0, 0, 2324, -1, -1, -1, 255}, { 560, 220, -33, 0, 0, 756, -1, -1, -1, 255}, { 560, -219, -33, 0, -10, 48, -1, -1, -1, 255}, { 504, 0, -91, 0, 1212, 864, -1, -1, -1, 255}, { 670, -129, -53, 0, 490, 16, -1, -1, -1, 255}, { 670, -129, -53, 0, 532, 8, -1, -1, -1, 255}, { 504, 0, -91, 0, 990, 912, -1, -1, -1, 255}, { 730, 0, -43, 0, 990, -72, -1, -1, -1, 255}, { 670, 130, -53, 0, 490, 16, -1, -1, -1, 255}, { 560, 220, -33, 0, -10, 48, -1, -1, -1, 255}, { 670, 130, -53, 0, 532, 8, -1, -1, -1, 255}, }; static Vtx vtx_manta_body_2[] = { { 740, 120, 26, 0, 144, 40, -1, -1, -1, 255}, { 560, 220, 36, 0, 28, 254, -1, -1, -1, 255}, { 500, 0, 56, 0, 288, 324, -1, -1, -1, 255}, { 532, -287, 6, 0, 628, 286, -1, -1, -1, 255}, { 600, -219, 6, 0, 548, 206, -1, -1, -1, 255}, { 560, -219, 36, 0, 548, 254, -1, -1, -1, 255}, { 260, -219, 36, 0, 548, 610, -1, -1, -1, 255}, { 300, -287, 6, 0, 628, 562, -1, -1, -1, 255}, { 740, -119, 26, 0, 428, 40, -1, -1, -1, 255}, { 260, 220, 36, 0, 28, 610, -1, -1, -1, 255}, { 20, -109, 6, 0, 416, 894, -1, -1, -1, 255}, { 90, -219, 6, 0, 548, 812, -1, -1, -1, 255}, { 770, 0, 16, 0, 288, 4, -1, -1, -1, 255}, { 600, 220, 6, 0, 28, 206, -1, -1, -1, 255}, { 560, 220, 36, 0, 536, 250, -1, -1, -1, 255}, { 600, 220, 6, 0, 536, 202, -1, -1, -1, 255}, { 532, 288, 6, 0, 616, 284, -1, -1, -1, 255}, { 260, 220, 36, 0, 28, 610, -1, -1, -1, 255}, { 20, 120, 16, 0, 144, 894, -1, -1, -1, 255}, { 20, -109, 6, 0, 416, 894, -1, -1, -1, 255}, { -39, 0, 6, 0, 288, 966, -1, -1, -1, 255}, { 90, 220, 6, 0, 28, 812, -1, -1, -1, 255}, { 90, 220, 6, 0, 536, 810, -1, -1, -1, 255}, { 260, 220, 36, 0, 536, 608, -1, -1, -1, 255}, { 300, 288, 6, 0, 616, 560, -1, -1, -1, 255}, }; static Vtx vtx_manta_body_3[] = { { 300, 288, 6, 0, 0, 0, -58, -18, -19, 255}, { 260, 220, -33, 0, 0, 0, -58, -18, -19, 255}, { 90, 220, 6, 0, 0, 0, -58, -18, -19, 255}, { 80, 0, -40, 0, 0, 0, -58, -18, -19, 255}, { 90, -219, 6, 0, 0, 0, -58, -18, -19, 255}, { 20, -109, 6, 0, 0, 0, -58, -18, -19, 255}, { 260, -219, -33, 0, 0, 0, -58, -18, -19, 255}, { 300, -287, 6, 0, 0, 0, -58, -18, -19, 255}, { 532, -287, 6, 0, 0, 0, -58, -18, -19, 255}, { 560, -219, -33, 0, 0, 0, -58, -18, -19, 255}, { 220, 0, -73, 0, 0, 0, -58, -18, -19, 255}, { 532, 288, 6, 0, 0, 0, -58, -18, -19, 255}, { 560, 220, -33, 0, 0, 0, -58, -18, -19, 255}, { -39, 0, 6, 0, 0, 0, -58, -18, -19, 255}, { 20, 120, 16, 0, 0, 0, -58, -18, -19, 255}, }; static Gfx gfx_manta_body_0[] = { gs_Tani_LoadTextureImage2(manta_grdtion_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPVertex(&vtx_manta_body_0[0], 14, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 3, 6, 4, 0), gsSP1Triangle( 3, 5, 7, 0), gsSP1Triangle( 7, 8, 3, 0), gsSP1Triangle( 6, 9,10, 0), gsSP1Triangle( 4, 6,10, 0), gsSP1Triangle(11,12, 8, 0), gsSP1Triangle( 8, 7,11, 0), gsSP1Triangle(13,12,11, 0), gsSPEndDisplayList() }; static Gfx gfx_manta_body_1[] = { gs_Tani_LoadTextureImage2(manta_moyou_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, 7), gsSPVertex(&vtx_manta_body_1[0], 15, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 2, 3, 0), gsSP1Triangle( 2, 1, 4, 0), gsSP1Triangle( 5, 2, 4, 0), gsSP1Triangle( 6, 7, 8, 0), gsSP1Triangle( 9,10,11, 0), gsSP1Triangle(12, 7,13, 0), gsSP1Triangle(11,10,14, 0), gsSPEndDisplayList() }; static Gfx gfx_manta_body_2[] = { gs_Tani_LoadTextureImage2(manta_body_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, 7), gsSPVertex(&vtx_manta_body_2[0], 14, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 5, 6, 7, 0), gsSP1Triangle( 2, 5, 8, 0), gsSP1Triangle( 8, 5, 4, 0), gsSP1Triangle( 6, 5, 2, 0), gsSP1Triangle( 5, 7, 3, 0), gsSP1Triangle( 6, 2, 9, 0), gsSP1Triangle(10, 6, 9, 0), gsSP1Triangle( 7, 6,11, 0), gsSP1Triangle(10,11, 6, 0), gsSP1Triangle( 8,12, 0, 0), gsSP1Triangle( 0, 2, 8, 0), gsSP1Triangle(13, 1, 0, 0), gsSP1Triangle( 2, 1, 9, 0), gsSPVertex(&vtx_manta_body_2[14], 11, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 4, 6, 5, 0), gsSP1Triangle( 3, 7, 4, 0), gsSP1Triangle( 8, 9,10, 0), gsSP1Triangle(10, 9, 0, 0), gsSP1Triangle( 2,10, 0, 0), gsSPEndDisplayList() }; static Gfx gfx_manta_body_3[] = { gsSPVertex(&vtx_manta_body_3[0], 15, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 3, 6, 4, 0), gsSP1Triangle( 4, 6, 7, 0), gsSP1Triangle( 8, 7, 6, 0), gsSP1Triangle( 8, 6, 9, 0), gsSP1Triangle( 3,10, 6, 0), gsSP1Triangle(11,12, 1, 0), gsSP1Triangle(11, 1, 0, 0), gsSP1Triangle( 1,10, 3, 0), gsSP1Triangle( 2, 1, 3, 0), gsSP1Triangle( 3,13,14, 0), gsSP1Triangle( 2, 3,14, 0), gsSP1Triangle( 5,13, 3, 0), gsSPEndDisplayList() }; Gfx gfx_manta_body[] = { gsDPPipeSync(), gsDPSetCombineMode(G_CC_DECALRGB, G_CC_DECALRGB), 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, 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_manta_body_0), gs_Tani_SetUpTileDescrip(G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 6, G_TX_NOLOD), gsSPDisplayList(gfx_manta_body_1), 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_body_2), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPDisplayList(gfx_manta_body_3), gsSPSetGeometryMode(G_LIGHTING), gsSPEndDisplayList() };