/*************************************************************************************************** Convert from NINGEN (cyl9) ****************************************************************************************************/ #define cyl9_AMB_SCALE 0.25 #define ShapeColor_cyl9(R,G,B) {{R*cyl9_AMB_SCALE ,G*cyl9_AMB_SCALE ,B*cyl9_AMB_SCALE ,0 ,R*cyl9_AMB_SCALE ,G*cyl9_AMB_SCALE ,B*cyl9_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_cyl9[] = { ShapeColor_cyl9(223,159, 31), ShapeColor_cyl9( 80, 40, 0), }; static Vtx vtx_cyl9_0[] = { { 2800, -18, 57, 0, 0, 0, 95, -25, 79, 255}, { 2800, -59, 0, 0, 0, 0, 45, -118, 0, 255}, { 2800, -18, -56, 0, 0, 0, 77, -31, -95, 255}, { 2800, 49, -34, 0, 0, 0, 77, 81, -59, 255}, { 2800, 49, 35, 0, 0, 0, 45, 96, 69, 255}, { 2800, -18, 57, 0, 0, 0, 95, -25, 79, 255}, { 2800, 49, 35, 0, 0, 0, 45, 96, 69, 255}, { 0, 19, 57, 0, 0, 0, 0, 39, 120, 255}, { 0, -48, 35, 0, 0, 0, 0, -102, 74, 255}, { 0, 60, 0, 0, 0, 0, 0, 126, 0, 255}, { 2800, -59, 0, 0, 0, 0, 45, -118, 0, 255}, { 0, -48, -34, 0, 0, 0, 0, -102, -74, 255}, { 2800, -18, -56, 0, 0, 0, 77, -31, -95, 255}, { 0, 19, -56, 0, 0, 0, 0, 39, -120, 255}, { 2800, 49, -34, 0, 0, 0, 77, 81, -59, 255}, }; static Gfx gfx_cyl9_0[] = { gsSPLight((&light_cyl9[0].l[0]),1 ), gsSPLight((&light_cyl9[0].a ),2 ), gsSPVertex(&vtx_cyl9_0[0], 5, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 0, 0), gsSP1Triangle( 3, 0, 2, 0), gsSPLight((&light_cyl9[1].l[0]),1 ), gsSPLight((&light_cyl9[1].a ),2 ), gsSPVertex(&vtx_cyl9_0[5], 10, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 2, 3, 0, 0), gsSP1Triangle( 4, 2, 1, 0), gsSP1Triangle( 5, 0, 3, 0), gsSP1Triangle( 3, 6, 5, 0), gsSP1Triangle( 7, 5, 6, 0), gsSP1Triangle( 6, 8, 7, 0), gsSP1Triangle( 9, 7, 8, 0), gsSP1Triangle( 8, 4, 9, 0), gsSP1Triangle( 1, 9, 4, 0), gsSPEndDisplayList() }; Gfx gfx_cyl9[] = { gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPDisplayList(gfx_cyl9_0), gsSPEndDisplayList() };