/*************************************************************************************************** Convert from NINGEN (omu_tire) ****************************************************************************************************/ static Vtx vtx_omu_tire_0[] = { { -11, 12, 0, 0, 0, 0, -1, -1, -1, 255}, { 12, -11, 0, 0, 479, 479, -1, -1, -1, 255}, { 12, 12, 0, 0, 479, 0, -1, -1, -1, 255}, { -11, -11, 0, 0, 0, 479, -1, -1, -1, 255}, }; static Gfx gfx_omu_tire_0[] = { gs_Tani_LoadTextureImage2(tire_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, 7), gsSPVertex(&vtx_omu_tire_0[0], 4, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 3, 1, 0), gsSPEndDisplayList() }; Gfx gfx_omu_tire[] = { gsDPPipeSync(), gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA), gsSPClearGeometryMode(G_LIGHTING), 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, 16, 16, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 4, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 4, G_TX_NOLOD), gsSPDisplayList(gfx_omu_tire_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPSetGeometryMode(G_LIGHTING), gsSPEndDisplayList() };