/*************************************************************************************************** Convert from NINGEN (bom_body) ****************************************************************************************************/ #define BOMBODYSCALE 0.375 static Vtx vtx_bom_body_0[] = { { 0*BOMBODYSCALE, 133*BOMBODYSCALE, 0, 0, 990, 0, -1, -1, -1, 255}, { -132*BOMBODYSCALE, -132*BOMBODYSCALE, 0, 0, 0, 2012, -1, -1, -1, 255}, { 0*BOMBODYSCALE, -132*BOMBODYSCALE, 0, 0, 990, 2012, -1, -1, -1, 255}, { -132*BOMBODYSCALE, 133*BOMBODYSCALE, 0, 0, 0, 0, -1, -1, -1, 255}, }; static Vtx vtx_bom_body_1[] = { { 133*BOMBODYSCALE, 133*BOMBODYSCALE, 0, 0, 990, 0, -1, -1, -1, 255}, { 0*BOMBODYSCALE, -132*BOMBODYSCALE, 0, 0, 0, 2012, -1, -1, -1, 255}, { 133*BOMBODYSCALE, -132*BOMBODYSCALE, 0, 0, 990, 2012, -1, -1, -1, 255}, { 0*BOMBODYSCALE, 133*BOMBODYSCALE, 0, 0, 0, 0, -1, -1, -1, 255}, }; static Gfx gfx_BlackBody[] = { gs_Tani_LoadTextureImage2(Bbom_body0_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, 7), gsSPVertex(&vtx_bom_body_0[0], 4, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 3, 1, 0), gs_Tani_LoadTextureImage2(Bbom_body1_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, 7), gsSPVertex(&vtx_bom_body_1[0], 4, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 3, 1, 0), gsSPEndDisplayList() }; static Gfx gfx_RedBody[] = { gs_Tani_LoadTextureImage2(Rbom_body0_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, 7), gsSPVertex(&vtx_bom_body_0[0], 4, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 3, 1, 0), gs_Tani_LoadTextureImage2(Rbom_body1_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, 7), gsSPVertex(&vtx_bom_body_1[0], 4, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 3, 1, 0), gsSPEndDisplayList() }; Gfx gfx_Blackbom_body[] = { 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, 32, 64, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 6, G_TX_NOLOD), gsSPDisplayList(gfx_BlackBody), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPSetGeometryMode(G_LIGHTING), gsSPEndDisplayList() }; Gfx gfx_Redbom_body[] = { 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, 32, 64, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 6, G_TX_NOLOD), gsSPDisplayList(gfx_RedBody), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPSetGeometryMode(G_LIGHTING), gsSPEndDisplayList() };