85 lines
3.6 KiB
Plaintext
85 lines
3.6 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (shk_body1)
|
|
****************************************************************************************************/
|
|
static Vtx vtx_shk_body1_0[] = {
|
|
{ 0, 4, -257, 0, 528, 804, -1, -1, -1, 255},
|
|
{ 416, 3, -203, 0, 694, 704, -1, -1, -1, 255},
|
|
{ 416, -104, -154, 0, 694, 616, -1, -1, -1, 255},
|
|
{ 416, 144, 67, 0, 694, 210, -1, -1, -1, 255},
|
|
{ 416, 3, 120, 0, 694, 114, -1, -1, -1, 255},
|
|
{ 416, 112, -154, 0, 694, 616, -1, -1, -1, 255},
|
|
{ 0, 197, -187, 0, 528, 676, -1, -1, -1, 255},
|
|
{ 0, 4, 161, 0, 528, 40, -1, -1, -1, 255},
|
|
{ 0, 208, 90, 0, 528, 170, -1, -1, -1, 255},
|
|
{ 0, -188, -187, 0, 528, 676, -1, -1, -1, 255},
|
|
{ 416, -136, 67, 0, 694, 210, -1, -1, -1, 255},
|
|
{ 0, -199, 90, 0, 528, 170, -1, -1, -1, 255},
|
|
{ -82, 188, 76, 0, 494, 194, -1, -1, -1, 255},
|
|
{ -82, 4, 140, 0, 494, 78, -1, -1, -1, 255},
|
|
{ -82, -178, 76, 0, 494, 194, -1, -1, -1, 255},
|
|
{ 0, 4, -257, 0, 528, 804, -1, -1, -1, 255},
|
|
{ -82, 4, -237, 0, 494, 768, -1, -1, -1, 255},
|
|
{ -82, 178, -172, 0, 494, 650, -1, -1, -1, 255},
|
|
{ -82, -169, -172, 0, 494, 650, -1, -1, -1, 255},
|
|
{ 0, -188, -187, 0, 528, 676, -1, -1, -1, 255},
|
|
{ 0, 197, -187, 0, 528, 676, -1, -1, -1, 255},
|
|
{ -82, 188, 76, 0, 494, 194, -1, -1, -1, 255},
|
|
{ -82, -178, 76, 0, 494, 194, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Gfx gfx_shk_body1_0[] = {
|
|
gs_Tani_LoadTextureImage2(body_all_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_shk_body1_0[0], 15, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 1, 3, 4, 0),
|
|
gsSP1Triangle( 2, 1, 4, 0),
|
|
gsSP1Triangle( 5, 1, 0, 0),
|
|
gsSP1Triangle( 1, 5, 3, 0),
|
|
gsSP1Triangle( 3, 5, 6, 0),
|
|
gsSP1Triangle( 5, 0, 6, 0),
|
|
gsSP1Triangle( 7, 4, 3, 0),
|
|
gsSP1Triangle( 6, 8, 3, 0),
|
|
gsSP1Triangle( 3, 8, 7, 0),
|
|
gsSP1Triangle( 9, 2,10, 0),
|
|
gsSP1Triangle( 2, 4,10, 0),
|
|
gsSP1Triangle( 2, 9, 0, 0),
|
|
gsSP1Triangle(10, 4, 7, 0),
|
|
gsSP1Triangle(10,11, 9, 0),
|
|
gsSP1Triangle( 7,11,10, 0),
|
|
gsSP1Triangle(12,13, 7, 0),
|
|
gsSP1Triangle( 7,13,14, 0),
|
|
gsSP1Triangle( 7,14,11, 0),
|
|
gsSP1Triangle( 8,12, 7, 0),
|
|
gsSP1Triangle(11,14, 9, 0),
|
|
gsSP1Triangle( 6,12, 8, 0),
|
|
gsSPVertex(&vtx_shk_body1_0[15], 8, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 1, 0, 0),
|
|
gsSP1Triangle( 4, 3, 0, 0),
|
|
gsSP1Triangle( 0, 2, 5, 0),
|
|
gsSP1Triangle( 5, 2, 6, 0),
|
|
gsSP1Triangle( 7, 3, 4, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_shk_body1[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_DECALRGB, G_CC_DECALRGB),
|
|
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, 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_shk_body1_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|