sm64/shape/Player/Luigi/luigi_mid_body.sou
2022-12-04 22:27:02 -05:00

318 lines
16 KiB
Plaintext

/********************************************************************************/
/* Luigi middle body */
/********************************************************************************/
static Lights1 light_luigi_mid_body[] = {
ShapeColor_luigi( 0, 0,255),
ShapeColor_luigi( 22,255, 0),
};
static Vtx vtx_luigi_mid_body[] = {
{ 69, 21, -50, 0, -308,-2768, 89, 44, -78,0},
{ 21, 52, -58, 0, -172, 348, 40, 54, -107,0},
{ 31, 73, -27, 0, 1972, 328, 66, 103, -31,0},
{ -54, 45, -73, 0,-1808, 3744, -49, 37, -110,0},
{ -1, 81, -45, 0, 1092, 2172, 17, 114, -51,0},
{ 21, 52, -58, 0, -172, 348, 40, 54, -107,0},
{ 31, 73, -27, 0, 1972, 328, 66, 103, -31,0},
{ 21, 52, -58, 0, -172, 348, 40, 54, -107,0},
{ -1, 81, -45, 0, 1092, 2172, 17, 114, -51,0},
{ -1, 81, -45, 0, 1092, 2172, 17, 114, -51,0},
{ -1, 81, 46, 0, 5176, 1724, 23, 113, 51,0},
{ 31, 73, -27, 0, 1972, 328, 66, 103, -31,0},
{ -1, 81, 46, 0, 544, 2104, 23, 113, 51,0},
{ 31, 73, 28, 0, -96, 140, 67, 98, 43,0},
{ 31, 73, -27, 0,-2332, -484, 66, 103, -31,0},
{ -54, 45, 74, 0, 3068, 4088, -49, 37, 110,0},
{ 21, 52, 59, 0, 1860, 468, 40, 54, 107,0},
{ -1, 81, 46, 0, 544, 2104, 23, 113, 51,0},
{ -1, 81, 46, 0, 544, 2104, 23, 113, 51,0},
{ 21, 52, 59, 0, 1860, 468, 40, 54, 107,0},
{ 31, 73, 28, 0, -96, 140, 67, 98, 43,0},
{ 31, 73, 28, 0, -96, 140, 67, 98, 43,0},
{ 21, 52, 59, 0, 1860, 468, 40, 54, 107,0},
{ 69, 21, 51, 0, 2248,-2612, 89, 44, 78,0},
{ 76, 34, 22, 0, 0, 0, 110, 60, 16,0},
{ 76, 34, -21, 0, 0, 0, 109, 58, -25,0},
{ 31, 73, -27, 0, 0, 0, 66, 103, -31,0},
{ 31, 73, -27, 0, 0, 0, 66, 103, -31,0},
{ 31, 73, 28, 0, 0, 0, 67, 98, 43,0},
{ 76, 34, 22, 0, 0, 0, 110, 60, 16,0},
{ 76, 34, -21, 0, 0, 0, 109, 58, -25,0},
{ 76, 34, 22, 0, 0, 0, 110, 60, 16,0},
{ 88, -37, -19, 0, 0, 0, 122, -24, -23,0},
{ 76, 34, 22, 0, 0, 0, 110, 60, 16,0},
{ 88, -37, 20, 0, 0, 0, 118, -34, 28,0},
{ 88, -37, -19, 0, 0, 0, 122, -24, -23,0},
{ 43, -70, 0, 0, 0, 0, 43, -119, 0,0},
{ 88, -37, -19, 0, 0, 0, 122, -24, -23,0},
{ 88, -37, 20, 0, 0, 0, 118, -34, 28,0},
{ 46, -5, 66, 0, 0, 0, 41, 6, 119,0},
{ 69, 21, 51, 0, 0, 0, 89, 44, 78,0},
{ 21, 52, 59, 0, 0, 0, 40, 54, 107,0},
{ 21, 52, 59, 0, 0, 0, 40, 54, 107,0},
{ -11, -2, 79, 0, 0, 0, 11, 5, 126,0},
{ 46, -5, 66, 0, 0, 0, 41, 6, 119,0},
{ 46, -5, 66, 0, 0, 0, 41, 6, 119,0},
{ -11, -2, 79, 0, 0, 0, 11, 5, 126,0},
{ 5, -40, 73, 0, 0, 0, 23, -51, 113,0},
{ 46, -5, 66, 0, 0, 0, 41, 6, 119,0},
{ 78, -29, 49, 0, 0, 0, 74, -56, 85,0},
{ 69, 21, 51, 0, 0, 0, 89, 44, 78,0},
{ 5, -40, 73, 0, 0, 0, 23, -51, 113,0},
{ 78, -29, 49, 0, 0, 0, 74, -56, 85,0},
{ 46, -5, 66, 0, 0, 0, 41, 6, 119,0},
{ 78, -29, -48, 0, 0, 0, 74, -56, -85,0},
{ 27, -63, -40, 0, 0, 0, 23, -107, -63,0},
{ 5, -40, -72, 0, 0, 0, 23, -51, -113,0},
{ 21, 52, -58, 0, 0, 0, 40, 54, -107,0},
{ 69, 21, -50, 0, 0, 0, 89, 44, -78,0},
{ 46, -5, -65, 0, 0, 0, 41, 6, -119,0},
{ 46, -5, -65, 0, 0, 0, 41, 6, -119,0},
{ -11, -2, -78, 0, 0, 0, 11, 5, -126,0},
{ 21, 52, -58, 0, 0, 0, 40, 54, -107,0},
{ 69, 21, -50, 0, 0, 0, 89, 44, -78,0},
{ 78, -29, -48, 0, 0, 0, 74, -56, -85,0},
{ 46, -5, -65, 0, 0, 0, 41, 6, -119,0},
{ 46, -5, -65, 0, 0, 0, 41, 6, -119,0},
{ 78, -29, -48, 0, 0, 0, 74, -56, -85,0},
{ 5, -40, -72, 0, 0, 0, 23, -51, -113,0},
{ 5, -40, -72, 0, 0, 0, 23, -51, -113,0},
{ -11, -2, -78, 0, 0, 0, 11, 5, -126,0},
{ 46, -5, -65, 0, 0, 0, 41, 6, -119,0},
{ 5, -40, 73, 0, 0, 0, 23, -51, 113,0},
{ 27, -63, 41, 0, 0, 0, 23, -107, 63,0},
{ 78, -29, 49, 0, 0, 0, 74, -56, 85,0},
{ 78, -29, -48, 0, 0, 0, 74, -56, -85,0},
{ 88, -37, -19, 0, 0, 0, 122, -24, -23,0},
{ 43, -70, 0, 0, 0, 0, 43, -119, 0,0},
{ 88, -37, -19, 0, 0, 0, 122, -24, -23,0},
{ 78, -29, -48, 0, 0, 0, 74, -56, -85,0},
{ 69, 21, -50, 0, 0, 0, 89, 44, -78,0},
{ 69, 21, -50, 0, 0, 0, 89, 44, -78,0},
{ 76, 34, -21, 0, 0, 0, 109, 58, -25,0},
{ 88, -37, -19, 0, 0, 0, 122, -24, -23,0},
{ 43, -70, 0, 0, 0, 0, 43, -119, 0,0},
{ 27, -63, -40, 0, 0, 0, 23, -107, -63,0},
{ 78, -29, -48, 0, 0, 0, 74, -56, -85,0},
{ 76, 34, -21, 0, 0, 0, 109, 58, -25,0},
{ 69, 21, -50, 0, 0, 0, 89, 44, -78,0},
{ 31, 73, -27, 0, 0, 0, 66, 103, -31,0},
{ 69, 21, 51, 0, 0, 0, 89, 44, 78,0},
{ 76, 34, 22, 0, 0, 0, 110, 60, 16,0},
{ 31, 73, 28, 0, 0, 0, 67, 98, 43,0},
{ 69, 21, 51, 0, 0, 0, 89, 44, 78,0},
{ 78, -29, 49, 0, 0, 0, 74, -56, 85,0},
{ 88, -37, 20, 0, 0, 0, 118, -34, 28,0},
{ 76, 34, 22, 0, 0, 0, 110, 60, 16,0},
{ 69, 21, 51, 0, 0, 0, 89, 44, 78,0},
{ 88, -37, 20, 0, 0, 0, 118, -34, 28,0},
{ 88, -37, 20, 0, 0, 0, 118, -34, 28,0},
{ 78, -29, 49, 0, 0, 0, 74, -56, 85,0},
{ 43, -70, 0, 0, 0, 0, 43, -119, 0,0},
{ 78, -29, 49, 0, 0, 0, 74, -56, 85,0},
{ 27, -63, 41, 0, 0, 0, 23, -107, 63,0},
{ 43, -70, 0, 0, 0, 0, 43, -119, 0,0},
{ -1, 81, -45, 0, 0, 0, 17, 114, -51,0},
{ -59, 81, 36, 0, 0, 0, -37, 115, 35,0},
{ -1, 81, 46, 0, 0, 0, 23, 113, 51,0},
{ -1, 81, -45, 0, 0, 0, 17, 114, -51,0},
{ -59, 81, -35, 0, 0, 0, -46, 109, -44,0},
{ -59, 81, 36, 0, 0, 0, -37, 115, 35,0},
{ -54, 45, -73, 0, 0, 0, -49, 37, -110,0},
{ -59, 81, -35, 0, 0, 0, -46, 109, -44,0},
{ -1, 81, -45, 0, 0, 0, 17, 114, -51,0},
{ -109, 51, 0, 0, 0, 0, -115, 52, 0,0},
{ -59, 81, 36, 0, 0, 0, -37, 115, 35,0},
{ -59, 81, -35, 0, 0, 0, -46, 109, -44,0},
{ -59, 81, -35, 0, 0, 0, -46, 109, -44,0},
{ -54, 45, -73, 0, 0, 0, -49, 37, -110,0},
{ -109, 51, 0, 0, 0, 0, -115, 52, 0,0},
{ -54, 45, 74, 0, 0, 0, -49, 37, 110,0},
{ -59, 81, 36, 0, 0, 0, -37, 115, 35,0},
{ -109, 51, 0, 0, 0, 0, -115, 52, 0,0},
{ -1, 81, 46, 0, 0, 0, 23, 113, 51,0},
{ -59, 81, 36, 0, 0, 0, -37, 115, 35,0},
{ -54, 45, 74, 0, 0, 0, -49, 37, 110,0},
{ -109, 51, 0, 0, 0, 0, -115, 52, 0,0},
{ -54, 45, -73, 0, 0, 0, -49, 37, -110,0},
{ -94, -43, 0, 0, 0, 0, -116, -49, 0,0},
{ -53, -70, -32, 0, 0, 0, -33, -117, -34,0},
{ -53, -70, 33, 0, 0, 0, -33, -117, 34,0},
{ -94, -43, 0, 0, 0, 0, -116, -49, 0,0},
{ -54, 45, 74, 0, 0, 0, -49, 37, 110,0},
{ -109, 51, 0, 0, 0, 0, -115, 52, 0,0},
{ -94, -43, 0, 0, 0, 0, -116, -49, 0,0},
{ -53, -70, 33, 0, 0, 0, -33, -117, 34,0},
{ -53, -41, 72, 0, 0, 0, -43, -60, 102,0},
{ -94, -43, 0, 0, 0, 0, -116, -49, 0,0},
{ -53, -41, -71, 0, 0, 0, -43, -60, -103,0},
{ -53, -70, -32, 0, 0, 0, -33, -117, -34,0},
{ -94, -43, 0, 0, 0, 0, -116, -49, 0,0},
{ -54, 45, -73, 0, 0, 0, -49, 37, -110,0},
{ -53, -41, -71, 0, 0, 0, -43, -60, -103,0},
{ -94, -43, 0, 0, 0, 0, -116, -49, 0,0},
{ -94, -43, 0, 0, 0, 0, -116, -49, 0,0},
{ -53, -41, 72, 0, 0, 0, -43, -60, 102,0},
{ -54, 45, 74, 0, 0, 0, -49, 37, 110,0},
{ -53, -41, 72, 0, 0, 0, -43, -60, 102,0},
{ -53, -70, 33, 0, 0, 0, -33, -117, 34,0},
{ 27, -63, 41, 0, 0, 0, 23, -107, 63,0},
{ -53, -41, 72, 0, 0, 0, -43, -60, 102,0},
{ 5, -40, 73, 0, 0, 0, 23, -51, 113,0},
{ -11, -2, 79, 0, 0, 0, 11, 5, 126,0},
{ 27, -63, 41, 0, 0, 0, 23, -107, 63,0},
{ 5, -40, 73, 0, 0, 0, 23, -51, 113,0},
{ -53, -41, 72, 0, 0, 0, -43, -60, 102,0},
{ -54, 45, 74, 0, 0, 0, -49, 37, 110,0},
{ -53, -41, 72, 0, 0, 0, -43, -60, 102,0},
{ -11, -2, 79, 0, 0, 0, 11, 5, 126,0},
{ -53, -70, 33, 0, 0, 0, -33, -117, 34,0},
{ -53, -70, -32, 0, 0, 0, -33, -117, -34,0},
{ 43, -70, 0, 0, 0, 0, 43, -119, 0,0},
{ -54, 45, 74, 0, 0, 0, -49, 37, 110,0},
{ -11, -2, 79, 0, 0, 0, 11, 5, 126,0},
{ 21, 52, 59, 0, 0, 0, 40, 54, 107,0},
{ -11, -2, -78, 0, 0, 0, 11, 5, -126,0},
{ -54, 45, -73, 0, 0, 0, -49, 37, -110,0},
{ 21, 52, -58, 0, 0, 0, 40, 54, -107,0},
{ -53, -41, -71, 0, 0, 0, -43, -60, -103,0},
{ -54, 45, -73, 0, 0, 0, -49, 37, -110,0},
{ -11, -2, -78, 0, 0, 0, 11, 5, -126,0},
{ -53, -41, -71, 0, 0, 0, -43, -60, -103,0},
{ -11, -2, -78, 0, 0, 0, 11, 5, -126,0},
{ 5, -40, -72, 0, 0, 0, 23, -51, -113,0},
{ 27, -63, -40, 0, 0, 0, 23, -107, -63,0},
{ -53, -70, -32, 0, 0, 0, -33, -117, -34,0},
{ -53, -41, -71, 0, 0, 0, -43, -60, -103,0},
{ -53, -41, -71, 0, 0, 0, -43, -60, -103,0},
{ 5, -40, -72, 0, 0, 0, 23, -51, -113,0},
{ 27, -63, -40, 0, 0, 0, 23, -107, -63,0},
{ -53, -70, -32, 0, 0, 0, -33, -117, -34,0},
{ 27, -63, -40, 0, 0, 0, 23, -107, -63,0},
{ 43, -70, 0, 0, 0, 0, 43, -119, 0,0},
{ -53, -70, 33, 0, 0, 0, -33, -117, 34,0},
{ 43, -70, 0, 0, 0, 0, 43, -119, 0,0},
{ 27, -63, 41, 0, 0, 0, 23, -107, 63,0},
};
static Gfx gfx_luigi_mid_body_0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, m_button_txt),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_CLAMP|G_TX_NOMIRROR , 5 , G_TX_NOLOD , G_TX_CLAMP|G_TX_NOMIRROR , 5 , G_TX_NOLOD),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, (32)*(32)-1 , CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, ((((32) * G_IM_SIZ_16b_LINE_BYTES)+7)>>3), 0,G_TX_RENDERTILE, 0, G_TX_CLAMP|G_TX_NOMIRROR,5,G_TX_NOLOD,G_TX_CLAMP|G_TX_NOMIRROR,5,G_TX_NOLOD),
gsDPSetTileSize(G_TX_RENDERTILE, 0, 0,((32)-1) << G_TEXTURE_IMAGE_FRAC,((32)-1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight((&light_luigi_mid_body[0].l[0]),1 ),
gsSPLight((&light_luigi_mid_body[0].a ),2 ),
gsSPVertex(&vtx_luigi_mid_body[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_luigi_mid_body[15], 9, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 4, 5, 0),
gsSP1Triangle( 6, 7, 8, 0),
gsSPEndDisplayList()
};
static Gfx gfx_luigi_mid_body_1[] = {
gsSPLight((&light_luigi_mid_body[1].l[0]),1 ),
gsSPLight((&light_luigi_mid_body[1].a ),2 ),
gsSPVertex(&vtx_luigi_mid_body[24], 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_luigi_mid_body[39], 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_luigi_mid_body[54], 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_luigi_mid_body[69], 6, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 4, 5, 0),
gsSPLight((&light_luigi_mid_body[0].l[0]),1 ),
gsSPLight((&light_luigi_mid_body[0].a ),2 ),
gsSPVertex(&vtx_luigi_mid_body[75], 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_luigi_mid_body[90], 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_luigi_mid_body[105], 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_luigi_mid_body[120], 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_luigi_mid_body[135], 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_luigi_mid_body[150], 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_luigi_mid_body[165], 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_luigi_mid_body[180], 6, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 4, 5, 0),
gsSPEndDisplayList()
};
static Gfx RCP_luigi_mid_body[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_BLENDRGBA, G_CC_BLENDRGBA),
gsSPNumLights(1),
gsSPTexture(0x8000,0x8000, 0, G_TX_RENDERTILE, G_ON),
gsSPDisplayList(gfx_luigi_mid_body_0),
gsSPTexture(0x8000, 0x8000, 1, 1, 0),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(gfx_luigi_mid_body_1),
gsSPEndDisplayList()
};