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

175 lines
8.2 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (wan_bodyA)
****************************************************************************************************/
static Vtx vtx_wan_bodyA_0[] = {
{ 0, 0, 582, 0, 990, 380, -78, -78, -78, 255},
{ 411, 0, -410, 0, 118, 880, -78, -78, -78, 255},
{ 0, 0, -581, 0, -52, 472, -78, -78, -78, 255},
{ 582, 0, 0, 0, 496, 1020, -78, -78, -78, 255},
{ 411, 0, 411, 0, 856, 816, -78, -78, -78, 255},
};
static Vtx vtx_wan_bodyA_1[] = {
{ 0, -581, 0, 0, 448, -130, -1, -1, -1, 255},
{ -156, -536, -156, 0, 334, -408, -1, -1, -1, 255},
{ 0, -536, -222, 0, 58, -276, -1, -1, -1, 255},
{ 0, -536, 223, 0, 818, 106, -1, -1, -1, 255},
{ -156, -536, 157, 0, 870, -138, -1, -1, -1, 255},
{ -222, -536, 0, 0, 670, -350, -1, -1, -1, 255},
{ 223, -536, 0, 0, 204, 180, -1, -1, -1, 255},
{ 157, -536, 157, 0, 542, 238, -1, -1, -1, 255},
{ 157, -536, -156, 0, 4, 0, -1, -1, -1, 255},
{ 291, -410, -290, 0, -390, 142, -1, -1, -1, 255},
{ 411, -410, 0, 0, -22, 534, -1, -1, -1, 255},
{ 291, -410, 291, 0, 600, 640, -1, -1, -1, 255},
{ 370, -216, -369, 0, -652, 368, -1, -1, -1, 255},
{ 537, -222, 0, 0, -196, 880, -1, -1, -1, 255},
{ 0, -222, -536, 0, -548, -222, -1, -1, -1, 255},
{ 370, -216, 370, 0, 608, 1002, -1, -1, -1, 255},
{ 291, -410, 291, 0, 600, 640, -1, -1, -1, 255},
{ 0, -410, 411, 0, 1110, 398, -1, -1, -1, 255},
{ 0, -536, 223, 0, 818, 106, -1, -1, -1, 255},
{ 370, -216, 370, 0, 608, 1002, -1, -1, -1, 255},
{ 411, 0, -410, 0, -814, 606, -1, -1, -1, 255},
{ 537, -222, 0, 0, -196, 880, -1, -1, -1, 255},
{ 370, -216, -369, 0, -652, 368, -1, -1, -1, 255},
{ 582, 0, 0, 0, -292, 1160, -1, -1, -1, 255},
{ 411, 0, 411, 0, 586, 1310, -1, -1, -1, 255},
{ 0, -222, 537, 0, 1282, 700, -1, -1, -1, 255},
{ 0, 0, 582, 0, 1306, 968, -1, -1, -1, 255},
{ 0, 0, -581, 0, -674, -30, -1, -1, -1, 255},
{ 0, -222, -536, 0, -548, -222, -1, -1, -1, 255},
{ -410, 0, 411, 0, 1446, 334, -1, -1, -1, 255},
{ -379, -222, 380, 0, 1412, 114, -1, -1, -1, 255},
{ 0, -410, -410, 0, -290, -308, -1, -1, -1, 255},
{ 291, -410, -290, 0, -390, 142, -1, -1, -1, 255},
{ 157, -536, -156, 0, 4, 0, -1, -1, -1, 255},
{ 0, -222, -536, 0, -548, -222, -1, -1, -1, 255},
{ 0, -536, -222, 0, 58, -276, -1, -1, -1, 255},
{ 0, -410, 411, 0, 1110, 398, -1, -1, -1, 255},
{ -156, -536, 157, 0, 870, -138, -1, -1, -1, 255},
{ 0, -536, 223, 0, 818, 106, -1, -1, -1, 255},
{ -290, -410, 291, 0, 1210, -52, -1, -1, -1, 255},
{ 0, -222, 537, 0, 1282, 700, -1, -1, -1, 255},
{ 0, 0, 582, 0, 1306, 968, -1, -1, -1, 255},
{ -379, -222, 380, 0, 1412, 114, -1, -1, -1, 255},
{ -410, -410, 0, 0, 840, -444, -1, -1, -1, 255},
{ -156, -536, -156, 0, 334, -408, -1, -1, -1, 255},
{ -222, -536, 0, 0, 670, -350, -1, -1, -1, 255},
{ -410, 0, -410, 0, 44, -372, -1, -1, -1, 255},
{ 0, 0, -581, 0, -674, -30, -1, -1, -1, 255},
{ 0, -222, -536, 0, -548, -222, -1, -1, -1, 255},
{ -379, -222, -379, 0, 116, -538, -1, -1, -1, 255},
{ 0, -410, -410, 0, -290, -308, -1, -1, -1, 255},
{ -290, -410, -290, 0, 218, -550, -1, -1, -1, 255},
{ 0, -536, -222, 0, 58, -276, -1, -1, -1, 255},
{ -156, -536, -156, 0, 334, -408, -1, -1, -1, 255},
{ -290, -410, 291, 0, 1210, -52, -1, -1, -1, 255},
{ -222, -536, 0, 0, 670, -350, -1, -1, -1, 255},
{ -156, -536, 157, 0, 870, -138, -1, -1, -1, 255},
{ -410, -410, 0, 0, 840, -444, -1, -1, -1, 255},
{ -379, -222, 380, 0, 1412, 114, -1, -1, -1, 255},
{ -536, -222, 0, 0, 928, -400, -1, -1, -1, 255},
{ -410, 0, 411, 0, 1446, 334, -1, -1, -1, 255},
{ -581, 0, 0, 0, 924, -222, -1, -1, -1, 255},
};
static Gfx gfx_wan_bodyA_0[] = {
gs_Tani_LoadTextureImage2(wan_tongue_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPVertex(&vtx_wan_bodyA_0[0], 5, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 0, 3, 1, 0),
gsSP1Triangle( 0, 4, 3, 0),
gsSPEndDisplayList()
};
static Gfx gfx_wan_bodyA_1[] = {
gs_Tani_LoadTextureImage2(wan_skinA_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPVertex(&vtx_wan_bodyA_1[0], 16, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 0, 3, 4, 0),
gsSP1Triangle( 0, 5, 1, 0),
gsSP1Triangle( 0, 4, 5, 0),
gsSP1Triangle( 0, 6, 7, 0),
gsSP1Triangle( 0, 8, 6, 0),
gsSP1Triangle( 0, 2, 8, 0),
gsSP1Triangle( 0, 7, 3, 0),
gsSP1Triangle( 9, 6, 8, 0),
gsSP1Triangle( 9,10, 6, 0),
gsSP1Triangle(10, 7, 6, 0),
gsSP1Triangle(10,11, 7, 0),
gsSP1Triangle(11, 3, 7, 0),
gsSP1Triangle(12,10, 9, 0),
gsSP1Triangle(12,13,10, 0),
gsSP1Triangle(13,11,10, 0),
gsSP1Triangle(14,12, 9, 0),
gsSP1Triangle(13,15,11, 0),
gsSPVertex(&vtx_wan_bodyA_1[16], 15, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 1, 0, 0),
gsSP1Triangle( 4, 5, 6, 0),
gsSP1Triangle( 4, 7, 5, 0),
gsSP1Triangle( 7, 3, 5, 0),
gsSP1Triangle( 7, 8, 3, 0),
gsSP1Triangle( 3, 9, 1, 0),
gsSP1Triangle( 8, 9, 3, 0),
gsSP1Triangle( 8,10, 9, 0),
gsSP1Triangle(11, 4, 6, 0),
gsSP1Triangle(11, 6,12, 0),
gsSP1Triangle(10,13,14, 0),
gsSPVertex(&vtx_wan_bodyA_1[31], 15, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 1, 0, 0),
gsSP1Triangle( 0, 2, 4, 0),
gsSP1Triangle( 5, 6, 7, 0),
gsSP1Triangle( 5, 8, 6, 0),
gsSP1Triangle( 9, 8, 5, 0),
gsSP1Triangle(10,11, 9, 0),
gsSP1Triangle( 9,11, 8, 0),
gsSP1Triangle(12,13,14, 0),
gsSPVertex(&vtx_wan_bodyA_1[46], 16, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 0, 2, 3, 0),
gsSP1Triangle( 3, 2, 4, 0),
gsSP1Triangle( 3, 4, 5, 0),
gsSP1Triangle( 5, 4, 6, 0),
gsSP1Triangle( 5, 6, 7, 0),
gsSP1Triangle( 8, 9,10, 0),
gsSP1Triangle( 8,11, 9, 0),
gsSP1Triangle(12,11, 8, 0),
gsSP1Triangle(11, 5, 7, 0),
gsSP1Triangle(13, 5,11, 0),
gsSP1Triangle(12,13,11, 0),
gsSP1Triangle(14,13,12, 0),
gsSP1Triangle(14,15,13, 0),
gsSP1Triangle(15, 0, 3, 0),
gsSP1Triangle(13, 3, 5, 0),
gsSP1Triangle(15, 3,13, 0),
gsSPEndDisplayList()
};
Gfx gfx_wan_bodyA[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
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_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
gsSPDisplayList(gfx_wan_bodyA_0),
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_wan_bodyA_1),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList()
};