/************************************************************************************************/ /* Middle mario body shape data with texture. [ 62 polygons ] */ /************************************************************************************************/ static Vtx vtx_mario_body_middle[] = { { 75, 24, -60, 0, -74, -930, 96, 39, 184, 255}, { 36, 47, -76, 0, -174, 168, 46, 54, 152, 255}, { 44, 78, -35, 0, 988, 92, 69, 101, 226, 255}, { -26, 49, -87, 0, -538, 1590, 196, 41, 153, 255}, { 1, 87, -53, 0, 638, 1164, 14, 116, 209, 255}, { 1, 87, 54, 0, 2522, 702, 17, 116, 47, 255}, { 1, 87, 54, 0, 272, 1122, 17, 116, 47, 255}, { 44, 78, 37, 0, -92, 108, 71, 95, 42, 255}, { 44, 78, -35, 0, -1398, -128, 69, 101, 226, 255}, { -26, 49, 88, 0, 1514, 1490, 196, 41, 103, 255}, { 36, 47, 77, 0, 1110, 130, 47, 55, 104, 255}, { 75, 24, 60, 0, 968, -926, 98, 39, 70, 255}, { 82, 37, 28, 0, 0, 0, 113, 54, 14, 255}, { 82, 37, -28, 0, 0, 0, 113, 53, 234, 255}, { 44, 78, -35, 0, 0, 0, 69, 101, 226, 255}, { 44, 78, 37, 0, 0, 0, 71, 95, 42, 255}, { 95, -39, -25, 0, 0, 0, 121, 230, 232, 255}, { 95, -39, 25, 0, 0, 0, 117, 219, 29, 255}, { 54, -68, 0, 0, 0, 0, 45, 138, 0, 255}, { 56, -4, 79, 0, 0, 0, 57, 4, 113, 255}, { 75, 24, 60, 0, 0, 0, 98, 39, 70, 255}, { 36, 47, 77, 0, 0, 0, 47, 55, 104, 255}, { 9, 0, 94, 0, 0, 0, 14, 3, 126, 255}, { 22, -41, 87, 0, 0, 0, 31, 201, 109, 255}, { 83, -29, 58, 0, 0, 0, 84, 200, 76, 255}, { 83, -29, -58, 0, 0, 0, 82, 201, 178, 255}, { 40, -66, -47, 0, 0, 0, 29, 145, 203, 255}, { 22, -41, -86, 0, 0, 0, 30, 202, 146, 255}, { 36, 47, -76, 0, 0, 0, 46, 54, 152, 255}, { 75, 24, -60, 0, 0, 0, 96, 39, 184, 255}, { 56, -4, -77, 0, 0, 0, 56, 4, 143, 255}, { 9, 0, -93, 0, 0, 0, 14, 3, 130, 255}, { 83, -29, -58, 0, 0, 0, 82, 201, 178, 255}, { 22, -41, -86, 0, 0, 0, 30, 202, 146, 255}, { 22, -41, 87, 0, 0, 0, 31, 201, 109, 255}, { 40, -66, 48, 0, 0, 0, 29, 145, 53, 255}, { 83, -29, 58, 0, 0, 0, 84, 200, 76, 255}, { 83, -29, -58, 0, 0, 0, 82, 201, 178, 255}, { 95, -39, -25, 0, 0, 0, 121, 230, 232, 255}, { 54, -68, 0, 0, 0, 0, 45, 138, 0, 255}, { 75, 24, -60, 0, 0, 0, 96, 39, 184, 255}, { 82, 37, -28, 0, 0, 0, 113, 53, 234, 255}, { 40, -66, -47, 0, 0, 0, 29, 145, 203, 255}, { 44, 78, -35, 0, 0, 0, 69, 101, 226, 255}, { 75, 24, 60, 0, 0, 0, 98, 39, 70, 255}, { 82, 37, 28, 0, 0, 0, 113, 54, 14, 255}, { 44, 78, 37, 0, 0, 0, 71, 95, 42, 255}, { 83, -29, 58, 0, 0, 0, 84, 200, 76, 255}, { 95, -39, 25, 0, 0, 0, 117, 219, 29, 255}, { 40, -66, 48, 0, 0, 0, 29, 145, 53, 255}, { 1, 87, -53, 0, 0, 0, 14, 116, 209, 255}, { -30, 88, 42, 0, 0, 0, 211, 114, 31, 255}, { 1, 87, 54, 0, 0, 0, 17, 116, 47, 255}, { 1, 87, -53, 0, 0, 0, 14, 116, 209, 255}, { -30, 88, -41, 0, 0, 0, 199, 106, 218, 255}, { -30, 88, 42, 0, 0, 0, 211, 114, 31, 255}, { -26, 49, -87, 0, 0, 0, 196, 41, 153, 255}, { -71, 56, 0, 0, 0, 0, 137, 43, 0, 255}, { -26, 49, 88, 0, 0, 0, 196, 41, 103, 255}, { 1, 87, 54, 0, 0, 0, 17, 116, 47, 255}, { -59, -44, 0, 0, 0, 0, 136, 216, 0, 255}, { -26, -72, -38, 0, 0, 0, 218, 139, 229, 255}, { -26, -72, 39, 0, 0, 0, 218, 139, 27, 255}, { -26, -41, 85, 0, 0, 0, 204, 194, 97, 255}, { -26, -41, -84, 0, 0, 0, 204, 194, 159, 255}, { 40, -66, 48, 0, 0, 0, 29, 145, 53, 255}, { 22, -41, 87, 0, 0, 0, 31, 201, 109, 255}, { 9, 0, 94, 0, 0, 0, 14, 3, 126, 255}, { 54, -68, 0, 0, 0, 0, 45, 138, 0, 255}, { -26, 49, 88, 0, 0, 0, 196, 41, 103, 255}, { 9, 0, 94, 0, 0, 0, 14, 3, 126, 255}, { 36, 47, 77, 0, 0, 0, 47, 55, 104, 255}, { 9, 0, -93, 0, 0, 0, 14, 3, 130, 255}, { -26, 49, -87, 0, 0, 0, 196, 41, 153, 255}, { 36, 47, -76, 0, 0, 0, 46, 54, 152, 255}, { -26, -41, -84, 0, 0, 0, 204, 194, 159, 255}, { 22, -41, -86, 0, 0, 0, 30, 202, 146, 255}, { 40, -66, -47, 0, 0, 0, 29, 145, 203, 255}, { -26, -72, -38, 0, 0, 0, 218, 139, 229, 255}, { 54, -68, 0, 0, 0, 0, 45, 138, 0, 255}, { -26, -72, 39, 0, 0, 0, 218, 139, 27, 255}, { 40, -66, 48, 0, 0, 0, 29, 145, 53, 255}, }; static Gfx gfx_mario_body_middle_0[] = { gsSPVertex(&vtx_mario_body_middle[0], 12, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 1, 0), gsSP1Triangle( 2, 1, 4, 0), gsSP1Triangle( 4, 5, 2, 0), gsSP1Triangle( 6, 7, 8, 0), gsSP1Triangle( 9,10, 6, 0), gsSP1Triangle( 6,10, 7, 0), gsSP1Triangle( 7,10,11, 0), gsSPEndDisplayList() }; static Gfx gfx_mario_body_middle_1_draw0[] = { gsSPVertex(&vtx_mario_body_middle[37], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 1, 0, 3, 0), gsSP1Triangle( 3, 4, 1, 0), gsSP1Triangle( 2, 5, 0, 0), gsSP1Triangle( 4, 3, 6, 0), gsSP1Triangle( 7, 8, 9, 0), gsSP1Triangle( 7,10,11, 0), gsSP1Triangle( 8, 7,11, 0), gsSP1Triangle(11,10, 2, 0), gsSP1Triangle(10,12, 2, 0), gsSP1Triangle(13,14,15, 0), gsSPVertex(&vtx_mario_body_middle[53], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 1, 0, 0), gsSP1Triangle( 4, 2, 1, 0), gsSP1Triangle( 1, 3, 4, 0), gsSP1Triangle( 5, 2, 4, 0), gsSP1Triangle( 6, 2, 5, 0), gsSP1Triangle( 4, 3, 7, 0), gsSP1Triangle( 8, 9, 7, 0), gsSP1Triangle( 5, 4, 7, 0), gsSP1Triangle( 9,10, 7, 0), gsSP1Triangle(11, 8, 7, 0), gsSP1Triangle( 3,11, 7, 0), gsSP1Triangle( 7,10, 5, 0), gsSP1Triangle(10, 9,12, 0), gsSP1Triangle(10,13,14, 0), gsSP1Triangle(12,13,10, 0), gsSP1Triangle( 5,10,14, 0), gsSP1Triangle( 9, 8,15, 0), gsSPVertex(&vtx_mario_body_middle[69], 13, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 6, 4, 3, 0), gsSP1Triangle( 6, 3, 7, 0), gsSP1Triangle( 8, 9, 6, 0), gsSP1Triangle( 6, 7, 8, 0), gsSP1Triangle( 9, 8,10, 0), gsSP1Triangle(11,10,12, 0), gsSPEndDisplayList() }; static Gfx gfx_mario_body_middle_1_draw1[] = { gsSPVertex(&vtx_mario_body_middle[12], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 2, 3, 0, 0), gsSP1Triangle( 1, 0, 4, 0), gsSP1Triangle( 0, 5, 4, 0), gsSP1Triangle( 6, 4, 5, 0), gsSP1Triangle( 7, 8, 9, 0), gsSP1Triangle( 9,10, 7, 0), gsSP1Triangle( 7,10,11, 0), gsSP1Triangle( 7,12, 8, 0), gsSP1Triangle(11,12, 7, 0), gsSP1Triangle(13,14,15, 0), gsSPVertex(&vtx_mario_body_middle[28], 9, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 2, 3, 0, 0), gsSP1Triangle( 1, 4, 2, 0), gsSP1Triangle( 2, 4, 5, 0), gsSP1Triangle( 5, 3, 2, 0), gsSP1Triangle( 6, 7, 8, 0), gsSPEndDisplayList() }; static Gfx gfx_mario_body_middle_1[] = { gsSPDisplayList(gfx_mario_body_middle_1_draw0), gsSPLight((&light_mario[1].l[0]),1 ), gsSPLight((&light_mario[1].a ),2 ), gsSPDisplayList(gfx_mario_body_middle_1_draw1), gsSPEndDisplayList() }; Gfx RCP_mario_mid_body[] = { gsDPPipeSync(), gsDPSetCombineMode(G_CC_MARIO_MAPPING, G_CC_MARIO_MAPPING), 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), gs_Tani_LoadTextureImage2(m_button_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPDisplayList(gfx_mario_body_middle_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_MARIO_NORMAL, G_CC_MARIO_NORMAL), gsSPDisplayList(gfx_mario_body_middle_1), gsSPEndDisplayList() }; /* ---------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------- */ Gfx RCP_mario_mid_body_metal[] = { gsSPDisplayList(gfx_mario_body_middle_0), gsSPDisplayList(gfx_mario_body_middle_1_draw0), gsSPDisplayList(gfx_mario_body_middle_1_draw1), gsSPEndDisplayList() };