/*************************************************************************************************** Convert from NINGEN (nes_tailA) ****************************************************************************************************/ #define nes_tailA_AMB_SCALE 0.5 #define ShapeColor_nes_tailA(R,G,B) {{R*nes_tailA_AMB_SCALE ,G*nes_tailA_AMB_SCALE ,B*nes_tailA_AMB_SCALE ,0 ,R*nes_tailA_AMB_SCALE ,G*nes_tailA_AMB_SCALE ,B*nes_tailA_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_nes_tailA[] = { ShapeColor_nes_tailA(255,255,255), }; static Vtx vtx_nes_tailA_0[] = { { 324, -369, 725, 0, 136, 1456, 10, -80, 97, 255}, { 1263, 236, 383, 0, 320, 1800, 51, 68, 93, 255}, { 241, 413, 672, 0, 298, 1396, -5, 53, 114, 255}, { 207, 735, 5, 0, 474, 1364, 7, 126, 9, 255}, { -240, 463, 573, 0, 308, 1200, -41, 89, 79, 255}, { -150, -380, 431, 0, 88, 1268, -47, -84, 81, 255}, { 218, -509, 5, 0, -26, 1416, 0, -126, -4, 255}, { 1312, -229, 383, 0, 144, 1840, 76, -57, 83, 255}, { 1321, -314, 5, 0, -30, 1844, 38, -121, 4, 255}, { -240, 463, -562, 0, 644, 1196, -51, 67, -94, 255}, { 218, -509, 5, 0, 996, 1416, 0, -126, -4, 255}, { 324, -369, -714, 0, 824, 1448, -10, -68, -106, 255}, { 1312, -229, -372, 0, 816, 1836, 61, -71, -84, 255}, { 1321, -314, 5, 0, 992, 1844, 38, -121, 4, 255}, { 1244, 411, 5, 0, 476, 1784, 46, 117, -9, 255}, { 218, -509, 5, 0, 996, 1416, 0, -126, -4, 255}, { -150, -380, 431, 0, 1110, 1268, -47, -84, 81, 255}, { -150, -380, -420, 0, 878, 1264, -47, -105, -52, 255}, { 324, -369, -714, 0, 824, 1448, -10, -68, -106, 255}, { -240, 463, -562, 0, 644, 1196, -51, 67, -94, 255}, { 1321, -314, 5, 0, -30, 1844, 38, -121, 4, 255}, { 1568, -185, 4, 0, -30, 1936, 104, -67, -26, 255}, { 1312, -229, 383, 0, 144, 1840, 76, -57, 83, 255}, { 1524, 227, 172, 0, 388, 1904, 89, 62, 64, 255}, { 1263, 236, 383, 0, 320, 1800, 51, 68, 93, 255}, { 1244, 411, 5, 0, 476, 1784, 46, 117, -9, 255}, { 1524, 227, -163, 0, 568, 1900, 79, 77, -61, 255}, { 1263, 236, -372, 0, 636, 1796, 70, 49, -93, 255}, { 241, 413, -661, 0, 656, 1388, 23, 70, -102, 255}, { 207, 735, 5, 0, 474, 1364, 7, 126, 9, 255}, { 1568, -185, 4, 0, 992, 1936, 104, -67, -26, 255}, { 1312, -229, -372, 0, 816, 1836, 61, -71, -84, 255}, { 241, 413, -661, 0, 656, 1388, 23, 70, -102, 255}, { 1263, 236, -372, 0, 636, 1796, 70, 49, -93, 255}, { 1568, -185, 4, 0, 992, 1936, 104, -67, -26, 255}, { 1321, -314, 5, 0, 992, 1844, 38, -121, 4, 255}, { 324, -369, -714, 0, 824, 1448, -10, -68, -106, 255}, { -240, 463, -562, 0, 644, 1196, -51, 67, -94, 255}, { 207, 735, 5, 0, 474, 1364, 7, 126, 9, 255}, }; static Gfx gfx_nes_tailA_0[] = { gs_Tani_LoadTextureImage2(nes_skinC_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, 7), gsSPLight((&light_nes_tailA[0].l[0]),1 ), gsSPLight((&light_nes_tailA[0].a ),2 ), gsSPVertex(&vtx_nes_tailA_0[0], 15, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 2, 1, 0), gsSP1Triangle( 2, 4, 5, 0), gsSP1Triangle( 2, 5, 0, 0), gsSP1Triangle( 3, 4, 2, 0), gsSP1Triangle( 0, 5, 6, 0), gsSP1Triangle( 0, 7, 1, 0), gsSP1Triangle( 0, 6, 8, 0), gsSP1Triangle( 0, 8, 7, 0), gsSP1Triangle( 3, 9, 4, 0), gsSP1Triangle(10,11,12, 0), gsSP1Triangle(10,12,13, 0), gsSP1Triangle( 3, 1,14, 0), gsSPVertex(&vtx_nes_tailA_0[15], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 2, 4, 0), gsSP1Triangle( 2, 3, 0, 0), gsSP1Triangle( 5, 6, 7, 0), gsSP1Triangle( 7, 6, 8, 0), gsSP1Triangle( 7, 8, 9, 0), gsSP1Triangle( 9, 8,10, 0), gsSP1Triangle(10, 8,11, 0), gsSP1Triangle(10,11,12, 0), gsSP1Triangle(13,14,10, 0), gsSP1Triangle(13,10,12, 0), gsSP1Triangle(12,11,15, 0), gsSPVertex(&vtx_nes_tailA_0[31], 8, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 2, 3, 0, 0), gsSP1Triangle( 0, 3, 4, 0), gsSP1Triangle( 0, 5, 1, 0), gsSP1Triangle( 5, 6, 1, 0), gsSP1Triangle( 1, 6, 7, 0), gsSPEndDisplayList() }; Gfx gfx_nes_tailA[] = { gsDPPipeSync(), gsDPSetCycleType(G_CYC_2CYCLE), gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2), gsDPSetDepthSource(G_ZS_PIXEL), gsDPSetFogColor(STAGE7_NESSY_FOG_R, STAGE7_NESSY_FOG_G, STAGE7_NESSY_FOG_B, 255), gsSPFogPosition(STAGE7_NESSY_FOG_START, 1000), gsSPSetGeometryMode(G_FOG), gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_PASS2), 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, 64, 0, 0, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 6, G_TX_NOLOD), gsSPDisplayList(gfx_nes_tailA_0), 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), gsSPEndDisplayList() };