/*************************************************************************************************** Convert from NINGEN (omu_zenmaihane) ****************************************************************************************************/ #define omu_zenmaihane_AMB_SCALE 0.5 #define ShapeColor_omu_zenmaihane(R,G,B) {{147,115,124,0, 147,115,124,0},{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_omu_zenmaihane[] = { ShapeColor_omu_zenmaihane(255,255,255), }; static Vtx vtx_omu_zenmaihane_0[] = { { 30, 155, 0, 0, 0, 990, 0, 0, 127, 255}, { 30, -153, 0, 0, 990, 990, 0, 0, 127, 255}, { 214, 155, 0, 0, 0, 0, 0, 0, 127, 255}, { 214, -153, 0, 0, 990, 0, 0, 0, 127, 255}, }; static Gfx gfx_omu_zenmaihane_0[] = { gs_Tani_LoadTextureImage2(zenmai_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPLight((&light_omu_zenmaihane[0].l[0]),1 ), gsSPLight((&light_omu_zenmaihane[0].a ),2 ), gsSPVertex(&vtx_omu_zenmaihane_0[0], 4, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 2, 1, 3, 0), gsSPEndDisplayList() }; Gfx gfx_omu_zenmaihane[] = { gsDPPipeSync(), gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA), gsSPClearGeometryMode(G_SHADING_SMOOTH|G_CULL_BACK), 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_zenmaihane_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPSetGeometryMode(G_SHADING_SMOOTH|G_CULL_BACK), gsSPEndDisplayList() };