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

117 lines
5.2 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (p_Rhand)
****************************************************************************************************/
#define p_Rhand_AMB_SCALE 0.5
#define ShapeColor_p_Rhand(R,G,B) {{R*p_Rhand_AMB_SCALE ,G*p_Rhand_AMB_SCALE ,B*p_Rhand_AMB_SCALE ,0 ,R*p_Rhand_AMB_SCALE ,G*p_Rhand_AMB_SCALE ,B*p_Rhand_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_p_Rhand[] = {
ShapeColor_p_Rhand(255,255,255),
};
static Vtx vtx_p_Rhand_0[] = {
{ -10, -7, 12, 0, 0, 0, -107, -47, 47, 255},
{ -11, 12, 12, 0, 0, 0, -98, 49, 62, 255},
{ -10, -7, -8, 0, 0, 0, -103, -50, -52, 255},
{ 7, -15, -15, 0, 0, 0, -35, -78, -93, 255},
{ 5, 21, -15, 0, 0, 0, -49, 84, -80, 255},
{ 7, -19, 20, 0, 0, 0, -66, -79, 72, 255},
{ -11, 12, -8, 0, 0, 0, -106, 45, -52, 255},
{ 47, -17, -18, 0, 0, 0, 31, -85, -88, 255},
{ 45, 21, -18, 0, 0, 0, 20, 74, -100, 255},
{ 30, -23, 11, 0, 0, 0, 50, -116, -8, 255},
{ 44, -29, 35, 0, 0, 0, -10, -77, 100, 255},
{ 43, -15, 35, 0, 0, 0, -2, 42, 119, 255},
{ 17, -3, 24, 0, 0, 0, -18, 48, 115, 255},
{ 50, -30, 33, 0, 0, 0, 72, -103, 12, 255},
{ 52, -19, 33, 0, 0, 0, 112, 34, 47, 255},
{ 5, 24, 7, 0, 0, 0, -14, 105, 69, 255},
{ 17, -3, 24, 0, 0, 0, -18, 48, 115, 255},
{ 43, -15, 35, 0, 0, 0, -2, 42, 119, 255},
{ 26, 9, 13, 0, 0, 0, 59, 76, 81, 255},
{ 5, 24, 7, 0, 0, 0, -14, 105, 69, 255},
{ 42, 26, -1, 0, 0, 0, 30, 84, 90, 255},
{ 30, -23, 11, 0, 0, 0, 50, -116, -8, 255},
{ 51, -16, 1, 0, 0, 0, 39, -81, 88, 255},
{ 47, -17, -18, 0, 0, 0, 31, -85, -88, 255},
{ 87, -10, 1, 0, 0, 0, 72, -45, 94, 255},
{ 52, -19, 33, 0, 0, 0, 112, 34, 47, 255},
{ 50, -30, 33, 0, 0, 0, 72, -103, 12, 255},
{ 44, -29, 35, 0, 0, 0, -10, -77, 100, 255},
{ 5, 21, -15, 0, 0, 0, -49, 84, -80, 255},
{ 82, 14, 1, 0, 0, 0, 66, 95, 49, 255},
{ 87, 10, -5, 0, 0, 0, 106, 54, -42, 255},
{ 45, 21, -18, 0, 0, 0, 20, 74, -100, 255},
{ 47, -17, -18, 0, 0, 0, 31, -85, -88, 255},
{ 90, -4, -4, 0, 0, 0, 103, -36, -63, 255},
{ 87, -10, 1, 0, 0, 0, 72, -45, 94, 255},
{ 87, 10, -5, 0, 0, 0, 106, 54, -42, 255},
{ 82, 14, 1, 0, 0, 0, 66, 95, 49, 255},
{ 42, 26, -1, 0, 0, 0, 30, 84, 90, 255},
{ 45, 21, -18, 0, 0, 0, 20, 74, -100, 255},
{ 5, 21, -15, 0, 0, 0, -49, 84, -80, 255},
};
static Gfx gfx_p_Rhand_0[] = {
gsSPLight((&light_p_Rhand[0].l[0]),1 ),
gsSPLight((&light_p_Rhand[0].a ),2 ),
gsSPVertex(&vtx_p_Rhand_0[0], 16, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 2, 4, 0),
gsSP1Triangle( 5, 0, 2, 0),
gsSP1Triangle( 2, 3, 5, 0),
gsSP1Triangle( 1, 6, 2, 0),
gsSP1Triangle( 2, 6, 4, 0),
gsSP1Triangle( 7, 3, 8, 0),
gsSP1Triangle( 9, 5, 3, 0),
gsSP1Triangle( 9, 3, 7, 0),
gsSP1Triangle( 3, 4, 8, 0),
gsSP1Triangle( 9,10, 5, 0),
gsSP1Triangle( 1, 0, 5, 0),
gsSP1Triangle( 5,11,12, 0),
gsSP1Triangle( 1, 5,12, 0),
gsSP1Triangle( 5,10,11, 0),
gsSP1Triangle( 4, 6, 1, 0),
gsSP1Triangle(10,13,14, 0),
gsSP1Triangle( 4, 1,15, 0),
gsSP1Triangle(12,15, 1, 0),
gsSPVertex(&vtx_p_Rhand_0[16], 16, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 2, 3, 0, 0),
gsSP1Triangle( 4, 5, 6, 0),
gsSP1Triangle( 7, 8, 6, 0),
gsSP1Triangle( 6, 5, 7, 0),
gsSP1Triangle( 6, 8, 4, 0),
gsSP1Triangle( 2, 9, 5, 0),
gsSP1Triangle( 4, 2, 5, 0),
gsSP1Triangle( 9,10, 5, 0),
gsSP1Triangle( 5,10,11, 0),
gsSP1Triangle( 4, 3, 2, 0),
gsSP1Triangle( 3, 4,12, 0),
gsSP1Triangle( 1, 9, 2, 0),
gsSP1Triangle( 1,11, 9, 0),
gsSP1Triangle(13,14,15, 0),
gsSP1Triangle( 7,15,14, 0),
gsSPVertex(&vtx_p_Rhand_0[32], 8, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 1, 0, 0),
gsSP1Triangle( 4, 2, 3, 0),
gsSP1Triangle( 2, 4, 5, 0),
gsSP1Triangle( 2, 1, 3, 0),
gsSP1Triangle( 5, 4, 6, 0),
gsSP1Triangle( 5, 6, 7, 0),
gsSPEndDisplayList()
};
Gfx gfx_p_Rhand[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE_ENVA, G_CC_SHADE_ENVA),
gsSPDisplayList(gfx_p_Rhand_0),
gsDPPipeSync(),
gsSPEndDisplayList()
};