/*************************************************************************************************** Convert from NINGEN (nes_neckB) ****************************************************************************************************/ #define nes_neckB_AMB_SCALE 0.5 #define ShapeColor_nes_neckB(R,G,B) {{R*nes_neckB_AMB_SCALE ,G*nes_neckB_AMB_SCALE ,B*nes_neckB_AMB_SCALE ,0 ,R*nes_neckB_AMB_SCALE ,G*nes_neckB_AMB_SCALE ,B*nes_neckB_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_nes_neckB[] = { ShapeColor_nes_neckB(255,255,255), }; static Vtx vtx_nes_neckB_0[] = { { 19, -22, -821, 0, 674, 1540, -22, -5, -124, 255}, { 187, 693, -578, 0, 822, 1620, 28, 93, -80, 255}, { 1057, 309, -449, 0, 834, 920, 80, 39, -90, 255}, { 1290, 174, 0, 0, 980, 736, 121, 31, 21, 255}, { 1106, 540, 0, 0, 982, 960, 79, 98, -7, 255}, { 1057, 309, 440, 0, 1134, 948, 78, 63, 76, 255}, { 391, 797, 0, 0, 972, 1524, 22, 124, 11, 255}, { 187, 693, 571, 0, 1140, 1652, 28, 76, 97, 255}, { 899, -211, 569, 0, 1306, 920, 63, -17, 108, 255}, { -273, 717, 553, 0, 1170, 1976, -33, 95, 76, 255}, { -273, 717, -552, 0, 792, 1944, -34, 95, -76, 255}, { -423, 59, -383, 0, 612, 1876, -116, -17, -48, 255}, { -343, -381, 386, 0, 418, 1728, -81, -90, 37, 255}, { 19, -22, 822, 0, 294, 1584, -28, -24, 121, 255}, { -423, 59, 384, 0, 378, 1900, -108, -14, 63, 255}, { 1185, -300, -302, 0, 648, 676, 91, -55, -68, 255}, { 187, 693, 571, 0, 118, 1652, 28, 76, 97, 255}, { 19, -22, 822, 0, 294, 1584, -28, -24, 121, 255}, { 899, -211, 569, 0, 284, 920, 63, -17, 108, 255}, { -343, -381, 386, 0, 418, 1728, -81, -90, 37, 255}, { 832, -489, 343, 0, 386, 888, 23, -110, 58, 255}, { 1185, -300, 304, 0, 318, 692, 80, -83, 51, 255}, { 832, -489, -340, 0, 584, 868, 27, -119, -33, 255}, { 1057, 309, 440, 0, 112, 948, 78, 63, 76, 255}, { -343, -381, -383, 0, 562, 1708, -59, -89, -68, 255}, { 1185, -300, -302, 0, 648, 676, 91, -55, -68, 255}, { 899, -211, -571, 0, 680, 888, 39, -56, -106, 255}, { 1057, 309, -449, 0, 834, 920, 80, 39, -90, 255}, { -273, 717, 553, 0, 148, 1976, -33, 95, 76, 255}, { 19, -22, -821, 0, 674, 1540, -22, -5, -124, 255}, { -423, 59, -383, 0, 612, 1876, -116, -17, -48, 255}, { -423, 59, 384, 0, 378, 1900, -108, -14, 63, 255}, { 899, -211, 569, 0, 1306, 920, 63, -17, 108, 255}, { 1185, -300, 304, 0, 1340, 692, 80, -83, 51, 255}, { 1290, 174, 0, 0, 980, 736, 121, 31, 21, 255}, }; static Gfx gfx_nes_neckB_0[] = { gs_Tani_LoadTextureImage2(nes_skinC_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, 7), gsSPLight((&light_nes_neckB[0].l[0]),1 ), gsSPLight((&light_nes_neckB[0].a ),2 ), gsSPVertex(&vtx_nes_neckB_0[0], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 5, 6, 7, 0), gsSP1Triangle( 5, 4, 6, 0), gsSP1Triangle( 8, 3, 5, 0), gsSP1Triangle( 7, 6, 9, 0), gsSP1Triangle( 4, 1, 6, 0), gsSP1Triangle( 6, 1,10, 0), gsSP1Triangle( 9, 6,10, 0), gsSP1Triangle( 2, 4, 3, 0), gsSP1Triangle( 4, 2, 1, 0), gsSP1Triangle( 0,11,10, 0), gsSP1Triangle( 0,10, 1, 0), gsSP1Triangle(12,13,14, 0), gsSP1Triangle(11,12,14, 0), gsSP1Triangle( 2, 3,15, 0), gsSPVertex(&vtx_nes_neckB_0[16], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 1, 3, 4, 0), gsSP1Triangle( 1, 4, 2, 0), gsSP1Triangle( 2, 4, 5, 0), gsSP1Triangle( 3, 6, 4, 0), gsSP1Triangle( 5, 4, 6, 0), gsSP1Triangle( 0, 2, 7, 0), gsSP1Triangle( 3, 8, 6, 0), gsSP1Triangle( 5, 6, 9, 0), gsSP1Triangle( 9, 6,10, 0), gsSP1Triangle(10, 6, 8, 0), gsSP1Triangle(11, 9,10, 0), gsSP1Triangle( 1, 0,12, 0), gsSP1Triangle(13,11,10, 0), gsSP1Triangle(10, 8,13, 0), gsSP1Triangle(13, 8,14, 0), gsSP1Triangle(14, 8, 3, 0), gsSP1Triangle(12,15, 1, 0), gsSPVertex(&vtx_nes_neckB_0[32], 3, 0), gsSP1Triangle( 0, 1, 2, 0), gsSPEndDisplayList() }; Gfx gfx_nes_neckB[] = { 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_neckB_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() };