/*************************************************************************************************** Convert from NINGEN (nes_neckA) ****************************************************************************************************/ #define nes_neckA_AMB_SCALE 0.5 #define ShapeColor_nes_neckA(R,G,B) {{R*nes_neckA_AMB_SCALE ,G*nes_neckA_AMB_SCALE ,B*nes_neckA_AMB_SCALE ,0 ,R*nes_neckA_AMB_SCALE ,G*nes_neckA_AMB_SCALE ,B*nes_neckA_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_nes_neckA[] = { ShapeColor_nes_neckA(255,255,255), }; static Vtx vtx_nes_neckA_0[] = { { 1090, -93, 204, 0, 340, 152, 100, -61, 48, 255}, { 852, -373, -231, 0, 558, 336, 63, -104, -33, 255}, { 1090, -93, -205, 0, 612, 144, 92, -32, -81, 255}, { 48, -514, 297, 0, 400, 948, -37, -116, 33, 255}, { 30, -226, 563, 0, 288, 952, -26, -46, 115, 255}, { -192, -274, 297, 0, 350, 1112, -106, -35, 59, 255}, { -4, 324, 424, 0, 110, 940, -54, 58, 98, 255}, { 837, -121, 436, 0, 290, 348, 51, -6, 116, 255}, { 852, -373, 230, 0, 400, 348, 55, -96, 60, 255}, { 809, 286, 328, 0, 128, 340, 26, 91, 84, 255}, { 1064, 288, 204, 0, 102, 148, 63, 81, 74, 255}, { 48, -514, -298, 0, 572, 932, -22, -107, -63, 255}, { -192, -274, -298, 0, 630, 1096, -101, -63, -43, 255}, { 768, 421, -1, 0, 990, 352, 25, 124, -9, 255}, { -4, 324, -425, 0, 836, 916, -43, 86, -82, 255}, { -19, 548, 0, 0, 982, 924, -37, 120, 11, 255}, { 1090, -93, -205, 0, 612, 144, 92, -32, -81, 255}, { 852, -373, -231, 0, 558, 336, 63, -104, -33, 255}, { 837, -121, -437, 0, 668, 324, 50, -38, -109, 255}, { 48, -514, -298, 0, 572, 932, -22, -107, -63, 255}, { 811, 287, -349, 0, 826, 320, 39, 62, -103, 255}, { 1064, 288, -205, 0, 864, 136, 55, 95, -61, 255}, { 30, -226, -564, 0, 676, 920, -48, -11, -116, 255}, { -192, -274, -298, 0, 630, 1096, -101, -63, -43, 255}, { -4, 324, -425, 0, 836, 916, -43, 86, -82, 255}, { -227, 255, 0, 0, 968, 1096, -116, 46, -17, 255}, { 768, 421, -1, 0, 990, 352, 25, 124, -9, 255}, { 1064, 288, 204, 0, 1124, 148, 63, 81, 74, 255}, { -4, 324, 424, 0, 1132, 940, -54, 58, 98, 255}, { -19, 548, 0, 0, 982, 924, -37, 120, 11, 255}, { -192, -274, 297, 0, 1372, 1112, -106, -35, 59, 255}, { 809, 286, 328, 0, 1150, 340, 26, 91, 84, 255}, }; static Gfx gfx_nes_neckA_0[] = { gs_Tani_LoadTextureImage2(nes_skinC_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, 7), gsSPLight((&light_nes_neckA[0].l[0]),1 ), gsSPLight((&light_nes_neckA[0].a ),2 ), gsSPVertex(&vtx_nes_neckA_0[0], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 6, 4, 7, 0), gsSP1Triangle( 4, 8, 7, 0), gsSP1Triangle( 4, 3, 8, 0), gsSP1Triangle( 6, 5, 4, 0), gsSP1Triangle( 7, 8, 0, 0), gsSP1Triangle( 3, 1, 8, 0), gsSP1Triangle( 0, 8, 1, 0), gsSP1Triangle( 6, 7, 9, 0), gsSP1Triangle( 7,10, 9, 0), gsSP1Triangle( 7, 0,10, 0), gsSP1Triangle( 3,11, 1, 0), gsSP1Triangle(12,11, 3, 0), gsSP1Triangle(12, 3, 5, 0), gsSP1Triangle(13,14,15, 0), gsSPVertex(&vtx_nes_neckA_0[16], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 2, 1, 3, 0), gsSP1Triangle( 4, 0, 2, 0), gsSP1Triangle( 4, 5, 0, 0), gsSP1Triangle( 6, 4, 2, 0), gsSP1Triangle( 2, 3, 6, 0), gsSP1Triangle( 6, 3, 7, 0), gsSP1Triangle( 6, 8, 4, 0), gsSP1Triangle( 6, 7, 9, 0), gsSP1Triangle( 6, 9, 8, 0), gsSP1Triangle(10, 4, 8, 0), gsSP1Triangle( 4,10, 5, 0), gsSP1Triangle( 5,10,11, 0), gsSP1Triangle(12,13, 9, 0), gsSP1Triangle( 9,13, 8, 0), gsSP1Triangle(12, 9,14, 0), gsSP1Triangle(11,10,15, 0), gsSP1Triangle(15,13,12, 0), gsSP1Triangle(15,10,13, 0), gsSPEndDisplayList() }; Gfx gfx_nes_neckA[] = { 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_neckA_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() };