sm64/shape/enemy1_j/peach/p_hair_shape.sou
2022-12-04 22:27:02 -05:00

201 lines
9.7 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (p_hair)
****************************************************************************************************/
#define p_hair_AMB_SCALE 0.5
#define ShapeColor_p_hair(R,G,B) {{R*p_hair_AMB_SCALE ,G*p_hair_AMB_SCALE ,B*p_hair_AMB_SCALE ,0 ,R*p_hair_AMB_SCALE ,G*p_hair_AMB_SCALE ,B*p_hair_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_p_hair[] = {
ShapeColor_p_hair(255,191, 24),
};
static Vtx vtx_p_hair_0[] = {
{ 89, -13, 96, 0, 0, 0, 18, 100, 75, 255},
{ 77, -2, 169, 0, 0, 0, -68, 89, 58, 255},
{ 113, -57, 148, 0, 0, 0, 60, -34, 105, 255},
{ 134, -77, 114, 0, 0, 0, 4, -57, 113, 255},
{ 64, -31, 124, 0, 0, 0, -99, -13, 77, 255},
{ 136, -112, 40, 0, 0, 0, -15, -124, 22, 255},
{ 182, -105, 94, 0, 0, 0, 36, -73, 96, 255},
{ 10, -41, 110, 0, 0, 0, -48, -18, 116, 255},
{ 188, -40, 85, 0, 0, 0, 57, 40, 106, 255},
{ 72, 37, 49, 0, 0, 0, 9, 109, 64, 255},
{ -37, 23, 46, 0, 0, 0, -39, 108, 51, 255},
{ 184, 6, 56, 0, 0, 0, 53, 86, 75, 255},
{ -27, -67, 43, 0, 0, 0, -67, -104, 27, 255},
{ -72, -14, 66, 0, 0, 0, -89, 0, 89, 255},
{ 64, -31, -123, 0, 0, 0, -99, -13, -77, 255},
{ 77, -2, -168, 0, 0, 0, -68, 89, -58, 255},
{ 113, -57, -147, 0, 0, 0, 61, -35, -105, 255},
{ 134, -76, -113, 0, 0, 0, 4, -56, -113, 255},
{ 89, -13, -95, 0, 0, 0, 18, 100, -74, 255},
{ 182, -105, -93, 0, 0, 0, 36, -73, -96, 255},
{ 136, -112, -39, 0, 0, 0, -5, -124, -22, 255},
{ 188, -40, -84, 0, 0, 0, 57, 40, -105, 255},
{ 10, -41, -109, 0, 0, 0, -47, -18, -116, 255},
{ -27, -67, -43, 0, 0, 0, -58, -109, -28, 255},
{ -72, -14, -65, 0, 0, 0, -89, 0, -90, 255},
{ -37, 23, -45, 0, 0, 0, -36, 106, -58, 255},
{ 72, 37, -47, 0, 0, 0, 8, 109, -64, 255},
{ 184, 6, -55, 0, 0, 0, 53, 86, -75, 255},
{ -27, -67, 43, 0, 0, 0, -67, -104, 27, 255},
{ -95, -7, -21, 0, 0, 0, -124, 11, -23, 255},
{ 136, -112, 40, 0, 0, 0, -15, -124, 22, 255},
{ -27, -67, 43, 0, 0, 0, -67, -104, 27, 255},
{ -27, -67, -43, 0, 0, 0, -58, -109, -28, 255},
{ 136, -112, -39, 0, 0, 0, -5, -124, -22, 255},
{ 239, -84, 59, 0, 0, 0, 81, -96, 12, 255},
{ 239, -84, -58, 0, 0, 0, 90, -87, -15, 255},
{ 182, -105, -93, 0, 0, 0, 36, -73, -96, 255},
{ 182, -105, 94, 0, 0, 0, 36, -73, 96, 255},
{ 229, -45, -47, 0, 0, 0, 67, 79, -72, 255},
{ 189, 27, 0, 0, 0, 0, 62, 110, 0, 255},
{ 243, -24, 0, 0, 0, 0, 32, 122, -1, 255},
{ 229, -45, 49, 0, 0, 0, 67, 79, 71, 255},
{ 255, -74, 120, 0, 0, 0, 121, -2, 36, 255},
{ 72, 37, -47, 0, 0, 0, 8, 109, -64, 255},
{ 59, 54, 0, 0, 0, 0, -4, 126, 0, 255},
{ 184, 6, -55, 0, 0, 0, 53, 86, -75, 255},
{ 229, -45, -47, 0, 0, 0, 67, 79, -72, 255},
{ 188, -40, -84, 0, 0, 0, 57, 40, -105, 255},
{ 184, 6, -55, 0, 0, 0, 53, 86, -75, 255},
{ 189, 27, 0, 0, 0, 0, 62, 110, 0, 255},
{ 59, 54, 0, 0, 0, 0, -4, 126, 0, 255},
{ 72, 37, -47, 0, 0, 0, 8, 109, -64, 255},
{ -37, 23, -45, 0, 0, 0, -36, 106, -58, 255},
{ 182, -105, -93, 0, 0, 0, 36, -73, -96, 255},
{ -72, -14, -65, 0, 0, 0, -89, 0, -90, 255},
{ -95, -7, -21, 0, 0, 0, -124, 11, -23, 255},
{ -37, 23, 46, 0, 0, 0, -39, 108, 51, 255},
{ 229, -45, 49, 0, 0, 0, 67, 79, 71, 255},
{ 239, -84, 59, 0, 0, 0, 81, -96, 12, 255},
{ 298, -12, 0, 0, 0, 0, 69, 106, -1, 255},
{ -95, -7, 22, 0, 0, 0, -122, 9, 33, 255},
{ -27, -67, 43, 0, 0, 0, -67, -104, 27, 255},
{ -95, -7, 22, 0, 0, 0, -122, 9, 33, 255},
{ -72, -14, 66, 0, 0, 0, -89, 0, 89, 255},
{ -37, 23, 46, 0, 0, 0, -39, 108, 51, 255},
{ -27, -67, 43, 0, 0, 0, -67, -104, 27, 255},
{ 72, 37, 49, 0, 0, 0, 9, 109, 64, 255},
{ 59, 54, 0, 0, 0, 0, -4, 126, 0, 255},
{ 229, -45, -47, 0, 0, 0, 67, 79, -72, 255},
{ 255, -74, -119, 0, 0, 0, 121, -3, -36, 255},
{ 182, -105, -93, 0, 0, 0, 36, -73, -96, 255},
{ 298, -12, 0, 0, 0, 0, 69, 106, -1, 255},
{ 239, -84, -58, 0, 0, 0, 90, -87, -15, 255},
{ 243, -24, 0, 0, 0, 0, 32, 122, -1, 255},
{ 189, 27, 0, 0, 0, 0, 62, 110, 0, 255},
{ 239, -84, 59, 0, 0, 0, 81, -96, 12, 255},
{ 255, -74, 120, 0, 0, 0, 121, -2, 36, 255},
{ 182, -105, 94, 0, 0, 0, 36, -73, 96, 255},
{ 184, 6, 56, 0, 0, 0, 53, 86, 75, 255},
{ 188, -40, 85, 0, 0, 0, 57, 40, 106, 255},
{ 229, -45, 49, 0, 0, 0, 67, 79, 71, 255},
{ 189, 27, 0, 0, 0, 0, 62, 110, 0, 255},
{ 72, 37, 49, 0, 0, 0, 9, 109, 64, 255},
{ 182, -105, 94, 0, 0, 0, 36, -73, 96, 255},
{ 243, -24, 0, 0, 0, 0, 32, 122, -1, 255},
{ 298, -12, 0, 0, 0, 0, 69, 106, -1, 255},
{ 255, -74, 120, 0, 0, 0, 121, -2, 36, 255},
};
static Gfx gfx_p_hair_0[] = {
gsSPLight((&light_p_hair[0].l[0]),1 ),
gsSPLight((&light_p_hair[0].a ),2 ),
gsSPVertex(&vtx_p_hair_0[0], 14, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 2, 4, 0),
gsSP1Triangle( 2, 1, 4, 0),
gsSP1Triangle( 2, 3, 0, 0),
gsSP1Triangle( 5, 6, 3, 0),
gsSP1Triangle( 3, 4, 7, 0),
gsSP1Triangle( 3, 6, 8, 0),
gsSP1Triangle( 3, 8, 0, 0),
gsSP1Triangle( 5, 3, 7, 0),
gsSP1Triangle( 0, 9,10, 0),
gsSP1Triangle( 0, 7, 4, 0),
gsSP1Triangle( 4, 1, 0, 0),
gsSP1Triangle( 0,10, 7, 0),
gsSP1Triangle(11, 9, 0, 0),
gsSP1Triangle( 0, 8,11, 0),
gsSP1Triangle( 7,12, 5, 0),
gsSP1Triangle(13,12, 7, 0),
gsSP1Triangle(10,13, 7, 0),
gsSPVertex(&vtx_p_hair_0[14], 16, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 2, 3, 0, 0),
gsSP1Triangle( 3, 2, 4, 0),
gsSP1Triangle( 2, 1, 4, 0),
gsSP1Triangle( 3, 5, 6, 0),
gsSP1Triangle( 4, 7, 3, 0),
gsSP1Triangle( 7, 5, 3, 0),
gsSP1Triangle( 8, 3, 6, 0),
gsSP1Triangle( 3, 8, 0, 0),
gsSP1Triangle( 4, 1, 0, 0),
gsSP1Triangle( 0, 8, 4, 0),
gsSP1Triangle( 8, 9,10, 0),
gsSP1Triangle( 8,11, 4, 0),
gsSP1Triangle( 6, 9, 8, 0),
gsSP1Triangle( 8,10,11, 0),
gsSP1Triangle(11,12, 4, 0),
gsSP1Triangle( 4,12,13, 0),
gsSP1Triangle(13, 7, 4, 0),
gsSP1Triangle( 9,14,15, 0),
gsSP1Triangle(15,10, 9, 0),
gsSPVertex(&vtx_p_hair_0[30], 16, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 2, 3, 0, 0),
gsSP1Triangle( 4, 3, 5, 0),
gsSP1Triangle( 5, 3, 6, 0),
gsSP1Triangle( 4, 0, 3, 0),
gsSP1Triangle( 7, 0, 4, 0),
gsSP1Triangle( 8, 9,10, 0),
gsSP1Triangle(10, 9,11, 0),
gsSP1Triangle(12, 4,11, 0),
gsSP1Triangle( 9,13,14, 0),
gsSP1Triangle( 9,15,13, 0),
gsSPVertex(&vtx_p_hair_0[46], 16, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 0, 2, 3, 0),
gsSP1Triangle( 4, 5, 6, 0),
gsSP1Triangle( 7, 1, 0, 0),
gsSP1Triangle( 6, 8, 9, 0),
gsSP1Triangle( 9,10, 6, 0),
gsSP1Triangle(10, 4, 6, 0),
gsSP1Triangle(11,12,13, 0),
gsSP1Triangle( 9,14,10, 0),
gsSP1Triangle(15,14, 9, 0),
gsSPVertex(&vtx_p_hair_0[62], 16, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 1, 0, 0),
gsSP1Triangle( 2, 4, 5, 0),
gsSP1Triangle( 6, 7, 8, 0),
gsSP1Triangle( 9,10, 6, 0),
gsSP1Triangle( 9, 6,11, 0),
gsSP1Triangle( 6,10, 7, 0),
gsSP1Triangle( 8, 7,10, 0),
gsSP1Triangle( 5, 4,12, 0),
gsSP1Triangle(13,14,15, 0),
gsSP1Triangle( 9,13,10, 0),
gsSPVertex(&vtx_p_hair_0[78], 9, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 0, 2, 0),
gsSP1Triangle( 4, 0, 3, 0),
gsSP1Triangle( 2, 1, 5, 0),
gsSP1Triangle( 6, 2, 7, 0),
gsSP1Triangle( 5, 8, 2, 0),
gsSPEndDisplayList()
};
Gfx gfx_p_hair[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE_ENVA, G_CC_SHADE_ENVA),
gsSPDisplayList(gfx_p_hair_0),
gsDPPipeSync(),
gsSPEndDisplayList()
};