sm64/shape/enemy2_e/wanwan/wan_toothA_shape.sou
2022-12-04 22:27:02 -05:00

66 lines
3.1 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (wan_toothA)
****************************************************************************************************/
static Vtx vtx_wan_toothA_0[] = {
{ 568, -6, 1, 0, -466, -52, -1, -1, -1, 255},
{ 458, 227, 139, 0, 756, 806, -1, -1, -1, 255},
{ 462, -6, 263, 0, 652, -626, -1, -1, -1, 255},
{ 182, -6, -493, 0, -90, 384, -1, -1, -1, 255},
{ 225, 72, -473, 0, 664, 930, -1, -1, -1, 255},
{ 284, -6, -454, 0, 666, -726, -1, -1, -1, 255},
{ 284, -6, -454, 0, -306, 174, -1, -1, -1, 255},
{ 325, 107, -419, 0, 680, 1044, -1, -1, -1, 255},
{ 403, -6, -403, 0, 772, -792, -1, -1, -1, 255},
{ 403, -6, -403, 0, -114, 10, -1, -1, -1, 255},
{ 379, 160, -332, 0, 526, 1002, -1, -1, -1, 255},
{ 462, -6, -262, 0, 578, -702, -1, -1, -1, 255},
{ 462, -6, -262, 0, -172, 58, -1, -1, -1, 255},
{ 458, 227, -138, 0, 838, 944, -1, -1, -1, 255},
{ 568, -6, 1, 0, 916, -848, -1, -1, -1, 255},
{ 284, -6, 455, 0, -250, 814, -1, -1, -1, 255},
{ 225, 72, 474, 0, 530, 1852, -1, -1, -1, 255},
{ 182, -6, 494, 0, 764, 134, -1, -1, -1, 255},
{ 462, -6, 263, 0, -108, 910, -1, -1, -1, 255},
{ 379, 160, 333, 0, 930, 1682, -1, -1, -1, 255},
{ 403, -6, 404, 0, 670, 278, -1, -1, -1, 255},
{ 403, -6, 404, 0, -412, 892, -1, -1, -1, 255},
{ 325, 107, 420, 0, 430, 1696, -1, -1, -1, 255},
{ 284, -6, 455, 0, 482, 364, -1, -1, -1, 255},
};
static Gfx gfx_wan_toothA_0[] = {
gs_Tani_LoadTextureImage2(wanha_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPVertex(&vtx_wan_toothA_0[0], 15, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 4, 5, 0),
gsSP1Triangle( 6, 7, 8, 0),
gsSP1Triangle( 9,10,11, 0),
gsSP1Triangle(12,13,14, 0),
gsSPVertex(&vtx_wan_toothA_0[15], 9, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 4, 5, 0),
gsSP1Triangle( 6, 7, 8, 0),
gsSPEndDisplayList()
};
Gfx gfx_wan_toothA[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
gsSPClearGeometryMode(G_LIGHTING|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_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
gsSPDisplayList(gfx_wan_toothA_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING|G_CULL_BACK),
gsSPEndDisplayList()
};