/*************************************************************************************************** Convert from NINGEN (omu_Larm) ****************************************************************************************************/ #define omu_Larm_AMB_SCALE 0.5 #define ShapeColor_omu_Larm(R,G,B) {{R*omu_Larm_AMB_SCALE ,G*omu_Larm_AMB_SCALE ,B*omu_Larm_AMB_SCALE ,0 ,R*omu_Larm_AMB_SCALE ,G*omu_Larm_AMB_SCALE ,B*omu_Larm_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_omu_Larm[] = { ShapeColor_omu_Larm(255,255,255), ShapeColor_omu_Larm(153, 0, 45), }; static Vtx vtx_omu_Larm_0[] = { { -1, -2, 245, 0, -604, 434, -42, -8, 119, 255}, { -37, 20, 206, 0, 990, 1372, -76, 95, -33, 255}, { -28, -33, 206, 0, 990, -368, -37, -116, 33, 255}, { -37, 20, 206, 0, 198, 552, -76, 95, -33, 255}, { 218, 73, 204, 0, 774, 552, 48, 117, -4, 255}, { 228, 3, 206, 0, 764, 338, 111, -59, -14, 255}, { -28, -33, 206, 0, 194, 386, -37, -116, 33, 255}, { 166, 53, 250, 0, 1112, 914, 25, 61, 108, 255}, { 174, 9, 250, 0, 1060, 34, 30, -64, 105, 255}, { 228, 3, 206, 0, -98, -190, 111, -59, -14, 255}, { 218, 73, 204, 0, -98, 1190, 48, 117, -4, 255}, }; static Vtx vtx_omu_Larm_1[] = { { 166, 53, 250, 0, 0, 0, 25, 61, 108, 255}, { 218, 73, 204, 0, 0, 0, 48, 117, -4, 255}, { -37, 20, 206, 0, 0, 0, -76, 95, -33, 255}, { -1, -2, 245, 0, 0, 0, -42, -8, 119, 255}, { 174, 9, 250, 0, 0, 0, 30, -64, 105, 255}, { -28, -33, 206, 0, 0, 0, -37, -116, 33, 255}, { 228, 3, 206, 0, 0, 0, 111, -59, -14, 255}, }; static Gfx gfx_omu_Larm_0[] = { gs_Tani_LoadTextureImage2(rot_dai_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPLight((&light_omu_Larm[0].l[0]),1 ), gsSPLight((&light_omu_Larm[0].a ),2 ), gsSPVertex(&vtx_omu_Larm_0[0], 11, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 5, 6, 3, 0), gsSP1Triangle( 7, 8, 9, 0), gsSP1Triangle( 9,10, 7, 0), gsSPEndDisplayList() }; static Gfx gfx_omu_Larm_1[] = { gsSPLight((&light_omu_Larm[1].l[0]),1 ), gsSPLight((&light_omu_Larm[1].a ),2 ), gsSPVertex(&vtx_omu_Larm_1[0], 7, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 2, 3, 0, 0), gsSP1Triangle( 4, 0, 3, 0), gsSP1Triangle( 3, 5, 4, 0), gsSP1Triangle( 6, 4, 5, 0), gsSPEndDisplayList() }; Gfx gfx_omu_Larm[] = { 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_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD), gsSPDisplayList(gfx_omu_Larm_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPDisplayList(gfx_omu_Larm_1), gsSPEndDisplayList() };