/*************************************************************************************************** Convert from NINGEN (monky_Rarm1) ****************************************************************************************************/ #define MONKYRARM1_AMB_SCALE 0.5 #define ShapeColor_monky_Rarm1(R,G,B) {{R*MONKYRARM1_AMB_SCALE ,G*MONKYRARM1_AMB_SCALE ,B*MONKYRARM1_AMB_SCALE ,0 ,R*MONKYRARM1_AMB_SCALE ,G*MONKYRARM1_AMB_SCALE ,B*MONKYRARM1_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_monky_Rarm1[] = { ShapeColor_monky_Rarm1(255,255,255), }; static Vtx vtx_monky_Rarm1_0[] = { { 0, 0, 0, 0, 498, -748, -126, -4, 0, 255}, { 89, -13, -16, 0, 290, 1200, 56, -79, -81, 255}, { 89, -13, 16, 0, 1014, 1200, 98, -54, 57, 255}, { 88, 19, 16, 0, 1728, 1174, 50, 83, 81, 255}, { 88, 19, -16, 0, 2394, 1174, 95, 61, -58, 255}, { 89, -13, -16, 0, 3066, 1200, 56, -79, -81, 255}, { 0, 0, 0, 0, 3274, -748, -126, -4, 0, 255}, }; static Gfx gfx_monky_Rarm1_0[] = { gs_Tani_LoadTextureImage2(monky_skinB_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPLight((&light_monky_Rarm1[0].l[0]),1 ), gsSPLight((&light_monky_Rarm1[0].a ),2 ), gsSPVertex(&vtx_monky_Rarm1_0[0], 7, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 2, 3, 0), gsSP1Triangle( 2, 4, 3, 0), gsSP1Triangle( 2, 5, 4, 0), gsSP1Triangle( 6, 3, 4, 0), gsSP1Triangle( 6, 4, 5, 0), gsSPEndDisplayList() }; Gfx gfx_monky_Rarm1[] = { 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_Rarm1_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPEndDisplayList() };