/*************************************************************************************************** Convert from NINGEN (mu_mouthA) ****************************************************************************************************/ #define mu_mouthA_AMB_SCALE 0.4 #define ShapeColor_mu_mouthA(R,G,B) {{R*mu_mouthA_AMB_SCALE ,G*mu_mouthA_AMB_SCALE ,B*mu_mouthA_AMB_SCALE ,0 ,R*mu_mouthA_AMB_SCALE ,G*mu_mouthA_AMB_SCALE ,B*mu_mouthA_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_mu_mouthA[] = { ShapeColor_mu_mouthA(255,255,255), }; static Vtx vtx_mu_mouthA_0[] = { { -33, 59, -6, 0, 474, 68, -82, 96, 0, 255}, { -68, 0, -6, 0, 475, 340, -124, -24, 0, 255}, { -68, 0, 62, 0, 21, 332, -116, 23, 45, 255}, { -33, 59, 62, 0, 20, 62, -32, 95, 76, 255}, { 34, 59, -6, 0, 474, 68, 41, 120, 0, 255}, { -33, -59, 62, 0, 22, 604, -45, -53, 105, 255}, { 34, 59, 62, 0, 20, 62, 65, 77, 76, 255}, { -33, -59, -6, 0, 476, 610, -41, -120, 0, 255}, { 69, 0, -6, 0, 475, 340, 124, 24, 0, 255}, { 69, 0, 62, 0, 21, 332, 99, -19, 76, 255}, { 34, -59, -6, 0, 476, 610, 82, -96, 0, 255}, { 34, -59, 62, 0, 22, 604, 38, -112, 44, 255}, }; static Vtx vtx_mu_mouthA_1[] = { { -33, -59, 62, 0, 248, 960, -45, -53, 105, 255}, { 34, 59, 62, 0, 744, 32, 65, 77, 76, 255}, { -33, 59, 62, 0, 248, 32, -32, 95, 76, 255}, { -68, 0, 62, 0, 0, 496, -116, 23, 45, 255}, { 34, -59, 62, 0, 744, 960, 38, -112, 44, 255}, { 69, 0, 62, 0, 992, 496, 99, -19, 76, 255}, }; static Gfx gfx_mu_mouthA_0[] = { gs_Tani_LoadTextureImage2(mucho_mouthA_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 32, 0, 7), gsSPLight((&light_mu_mouthA[0].l[0]),1 ), gsSPLight((&light_mu_mouthA[0].a ),2 ), gsSPVertex(&vtx_mu_mouthA_0[0], 12, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 2, 3, 0), gsSP1Triangle( 4, 0, 3, 0), gsSP1Triangle( 1, 5, 2, 0), gsSP1Triangle( 4, 3, 6, 0), gsSP1Triangle( 1, 7, 5, 0), gsSP1Triangle( 8, 4, 6, 0), gsSP1Triangle( 8, 6, 9, 0), gsSP1Triangle(10, 8, 9, 0), gsSP1Triangle( 7,10,11, 0), gsSP1Triangle(10, 9,11, 0), gsSP1Triangle( 7,11, 5, 0), gsSPEndDisplayList() }; static Gfx gfx_mu_mouthA_1[] = { gs_Tani_LoadTextureImage2(mucho_mouthB_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPVertex(&vtx_mu_mouthA_1[0], 6, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 2, 3, 0), gsSP1Triangle( 0, 4, 5, 0), gsSP1Triangle( 0, 5, 1, 0), gsSPEndDisplayList() }; Gfx gfx_mu_mouthA[] = { 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, 16, 32, 0, 0, G_TX_WRAP|G_TX_NOMIRROR, 4, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD), gsSPDisplayList(gfx_mu_mouthA_0), 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_mu_mouthA_1), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPEndDisplayList() };