/*************************************************************************************************** Convert from NINGEN (monky_Rleg2) ****************************************************************************************************/ #define MONKYRLEG2_AMB_SCALE 0.5 #define ShapeColor_monky_Rleg2(R,G,B) {{R*MONKYRLEG2_AMB_SCALE ,G*MONKYRLEG2_AMB_SCALE ,B*MONKYRLEG2_AMB_SCALE ,0 ,R*MONKYRLEG2_AMB_SCALE ,G*MONKYRLEG2_AMB_SCALE ,B*MONKYRLEG2_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_monky_Rleg2[] = { ShapeColor_monky_Rleg2(255,255,255), }; static Vtx vtx_monky_Rleg2_0[] = { { 3, 29, 1, 0, 3150, -2, -56, 109, 31, 255}, { -12, -15, 0, 0, 1868, 42, -112, -50, -30, 255}, { -4, 6, 24, 0, 2484, 20, -69, -15, 105, 255}, { 35, -8, 28, 0, 2514, 966, 84, 0, 95, 255}, { 45, 19, 1, 0, 3150, 938, 77, 94, -35, 255}, { 26, -34, 0, 0, 1868, 990, 0, -121, 35, 255}, { 36, -6, -27, 0, 3782, 964, 65, -54, -94, 255}, { 3, 29, 1, 0, 594, -2, -56, 109, 31, 255}, { -4, 7, -23, 0, 1256, 20, -44, 54, -105, 255}, { 36, -6, -27, 0, 1226, 964, 65, -54, -94, 255}, { 45, 19, 1, 0, 596, 938, 77, 94, -35, 255}, }; static Gfx gfx_monky_Rleg2_0[] = { gs_Tani_LoadTextureImage2(monky_skinB_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPLight((&light_monky_Rleg2[0].l[0]),1 ), gsSPLight((&light_monky_Rleg2[0].a ),2 ), gsSPVertex(&vtx_monky_Rleg2_0[0], 11, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 2, 3, 0), gsSP1Triangle( 0, 3, 4, 0), gsSP1Triangle( 2, 1, 5, 0), gsSP1Triangle( 2, 5, 3, 0), gsSP1Triangle( 3, 5, 6, 0), gsSP1Triangle( 3, 6, 4, 0), gsSP1Triangle( 7, 8, 1, 0), gsSP1Triangle( 1, 8, 9, 0), gsSP1Triangle( 1, 9, 5, 0), gsSP1Triangle( 8, 7,10, 0), gsSP1Triangle( 8,10, 9, 0), gsSPEndDisplayList() }; Gfx gfx_monky_Rleg2[] = { gsDPPipeSync(), gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB), 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, 32, 0, 0, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD), gsSPDisplayList(gfx_monky_Rleg2_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPEndDisplayList() };