/*************************************************************************************************** Convert from NINGEN (nn_head) ****************************************************************************************************/ static Vtx vtx_nn_head_0[] = { { 226, 66, -164, 0, 0, 223, -1, -1, -1, 255}, { 221, 236, 61, 0, 138, 142, -1, -1, -1, 255}, { 226, 66, 170, 0, 219, 223, -1, -1, -1, 255}, { 679, 53, -95, 0, 21, 1, -1, -1, -1, 255}, { 405, 108, -150, 0, -21, 135, -1, -1, -1, 255}, { 679, 53, 96, 0, 167, 1, -1, -1, -1, 255}, { 768, 55, 0, 0, 94, -42, -1, -1, -1, 255}, { 405, 108, 160, 0, 216, 135, -1, -1, -1, 255}, { 226, 66, 170, 0, 224, 223, -1, -1, -1, 255}, { 221, 236, -60, 0, 46, 142, -1, -1, -1, 255}, }; static Vtx vtx_nn_head_1[] = { { 679, 53, 96, 0, 26, 592, -1, -1, -1, 255}, { 405, 108, 160, 0, 414, 710, -1, -1, -1, 255}, { 506, -68, 121, 0, 272, 332, -1, -1, -1, 255}, { 700, -50, 39, 0, -4, 370, -1, -1, -1, 255}, { 224, -180, 55, 0, 672, 92, -1, -1, -1, 255}, { 470, -137, 0, 0, 322, 186, -1, -1, -1, 255}, { 599, -87, 0, 0, 140, 292, -1, -1, -1, 255}, { 226, 66, 170, 0, 668, 620, -1, -1, -1, 255}, { 506, -68, -116, 0, 272, 332, -1, -1, -1, 255}, { 700, -50, -38, 0, -4, 370, -1, -1, -1, 255}, { 768, 55, 0, 0, -98, 596, -1, -1, -1, 255}, { 679, 53, -95, 0, 26, 592, -1, -1, -1, 255}, { 224, -180, -54, 0, 672, 92, -1, -1, -1, 255}, { 226, 66, -164, 0, 668, 620, -1, -1, -1, 255}, { 0, 0, -112, 0, 990, 478, -1, -1, -1, 255}, { 3, 208, -60, 0, 986, 922, -1, -1, -1, 255}, { 221, 236, -60, 0, 676, 980, -1, -1, -1, 255}, { 226, 66, -164, 0, 668, 620, -1, -1, -1, 255}, { 0, 0, -112, 0, 990, 478, -1, -1, -1, 255}, { -112, 0, 0, 0, 1150, 478, -1, -1, -1, 255}, { 224, -180, -54, 0, 672, 92, -1, -1, -1, 255}, { -68, -121, 0, 0, 1088, 220, -1, -1, -1, 255}, { 3, 208, 61, 0, 986, 922, -1, -1, -1, 255}, { 506, -68, -116, 0, 272, 332, -1, -1, -1, 255}, { 405, 108, -150, 0, 414, 710, -1, -1, -1, 255}, { 679, 53, -95, 0, 26, 592, -1, -1, -1, 255}, { 0, 0, 118, 0, 990, 478, -1, -1, -1, 255}, { 226, 66, 170, 0, 668, 620, -1, -1, -1, 255}, { 221, 236, 61, 0, 676, 980, -1, -1, -1, 255}, { 224, -180, 55, 0, 672, 92, -1, -1, -1, 255}, }; static Gfx gfx_nn_head_0[] = { gs_Tani_LoadTextureImage2(mouth_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 8, 0, 7), gsSPVertex(&vtx_nn_head_0[0], 10, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 6, 3, 5, 0), gsSP1Triangle( 5, 4, 7, 0), gsSP1Triangle( 0, 7, 4, 0), gsSP1Triangle( 0, 8, 7, 0), gsSP1Triangle( 0, 9, 1, 0), gsSPEndDisplayList() }; static Gfx gfx_nn_head_1[] = { gs_Tani_LoadTextureImage2(headpat_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPVertex(&vtx_nn_head_1[0], 15, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 0, 2, 0), gsSP1Triangle( 2, 4, 5, 0), gsSP1Triangle( 2, 6, 3, 0), gsSP1Triangle( 5, 6, 2, 0), gsSP1Triangle( 7, 4, 2, 0), gsSP1Triangle( 1, 7, 2, 0), gsSP1Triangle( 8, 6, 5, 0), gsSP1Triangle( 9, 6, 8, 0), gsSP1Triangle( 6, 9, 3, 0), gsSP1Triangle( 3, 9,10, 0), gsSP1Triangle(10, 0, 3, 0), gsSP1Triangle( 9,11,10, 0), gsSP1Triangle( 8,12,13, 0), gsSP1Triangle(14,13,12, 0), gsSP1Triangle( 5, 4,12, 0), gsSP1Triangle( 5,12, 8, 0), gsSP1Triangle( 8,11, 9, 0), gsSPVertex(&vtx_nn_head_1[15], 15, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 0, 0), gsSP1Triangle( 5, 6, 3, 0), gsSP1Triangle( 6, 4, 3, 0), gsSP1Triangle( 2, 3, 0, 0), gsSP1Triangle( 1, 0, 7, 0), gsSP1Triangle( 0, 4, 7, 0), gsSP1Triangle( 8, 9,10, 0), gsSP1Triangle( 8, 2, 9, 0), gsSP1Triangle( 7, 4,11, 0), gsSP1Triangle(11, 4, 6, 0), gsSP1Triangle( 7,11,12, 0), gsSP1Triangle( 7,13, 1, 0), gsSP1Triangle(12,13, 7, 0), gsSP1Triangle(14, 6, 5, 0), gsSP1Triangle(14,12,11, 0), gsSP1Triangle(11, 6,14, 0), gsSPEndDisplayList() }; Gfx gfx_nn_head[] = { gsDPPipeSync(), gsDPSetCycleType(G_CYC_2CYCLE), gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2), gsDPSetDepthSource(G_ZS_PIXEL), gsDPSetFogColor(STAGE7_UTUBO_FOG_R, STAGE7_UTUBO_FOG_G, STAGE7_UTUBO_FOG_B, 255), gsSPFogPosition(STAGE7_UTUBO_FOG_START, 1000), gsSPSetGeometryMode(G_FOG), gsDPSetCombineMode(G_CC_DECALRGB, G_CC_PASS2), 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, 8, 8, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 3, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 3, G_TX_NOLOD), gsSPDisplayList(gfx_nn_head_0), 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_nn_head_1), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCycleType(G_CYC_1CYCLE), gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF), gsSPClearGeometryMode(G_FOG), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPSetGeometryMode(G_LIGHTING), gsSPEndDisplayList() };