55 lines
2.0 KiB
Plaintext
55 lines
2.0 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (sman_body)
|
|
****************************************************************************************************/
|
|
static Vtx vtx_sman_body_0[] = {
|
|
{ 0, 307/4, 0, 0, 990, 0, -1, -1, -1, 255},
|
|
{ -306/4, -306/4, 0, 0, 0, 2012, -1, -1, -1, 255},
|
|
{ 0, -306/4, 0, 0, 990, 2012, -1, -1, -1, 255},
|
|
{ -306/4, 307/4, 0, 0, 0, 0, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Vtx vtx_sman_body_1[] = {
|
|
{ 307/4, 307/4, 0, 0, 990, 0, -1, -1, -1, 255},
|
|
{ 0, -306/4, 0, 0, 0, 2012, -1, -1, -1, 255},
|
|
{ 307/4, -306/4, 0, 0, 990, 2012, -1, -1, -1, 255},
|
|
{ 0, 307/4, 0, 0, 0, 0, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Gfx gfx_sman_body_0[] = {
|
|
gs_Tani_LoadTextureImage2(sman_body0_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, 7),
|
|
gsSPVertex(&vtx_sman_body_0[0], 4, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 3, 1, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
static Gfx gfx_sman_body_1[] = {
|
|
gs_Tani_LoadTextureImage2(sman_body1_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, 7),
|
|
gsSPVertex(&vtx_sman_body_1[0], 4, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 3, 1, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_sman_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_sman_body_0),
|
|
gsSPDisplayList(gfx_sman_body_1),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|