sm64/shape/enemy1_e/hagetaka/tori_Rfoot_shape.sou
2022-12-04 22:27:02 -05:00

103 lines
4.3 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (tori_Rfoot)
****************************************************************************************************/
#define SCALE 0.25
#define ShapeColor_tori_Rfoot(R,G,B) {{R*SCALE ,G*SCALE ,B*SCALE ,0 ,R*SCALE ,G*SCALE ,B*SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_tori_Rfoot[] = {
ShapeColor_tori_Rfoot( 8, 0, 0),
ShapeColor_tori_Rfoot(255,117, 33),
};
static Vtx vtx_tori_Rfoot_0[] = {
{ 38, 7, 24, 0, 0, 0, 16, 125, 0, 255},
{ 24, -12, 28, 0, 0, 0, -76, 36, 94, 255},
{ 43, -19, 30, 0, 0, 0, 80, -82, 53, 255},
{ 48, 7, 0, 0, 0, 0, 9, 126, -2, 255},
{ 34, -14, -7, 0, 0, 0, -10, 29, -123, 255},
{ 34, -14, 9, 0, 0, 0, -16, 28, 122, 255},
{ 51, -21, 1, 0, 0, 0, 85, -94, -4, 255},
{ 24, -12, -25, 0, 0, 0, -76, 36, -94, 255},
{ 38, 7, -23, 0, 0, 0, 8, 126, 10, 255},
{ 44, -19, -28, 0, 0, 0, 73, -86, -57, 255},
{ 33, -14, -11, 0, 0, 0, 52, 17, 114, 255},
{ 33, -13, 13, 0, 0, 0, 53, 17, -113, 255},
{ 7, -1, 6, 0, 0, 0, -84, 74, -58, 255},
{ 33, -13, 13, 0, 0, 0, 53, 17, -113, 255},
{ 20, -24, 16, 0, 0, 0, -35, -121, -13, 255},
{ 34, -14, 9, 0, 0, 0, -16, 28, 122, 255},
{ 24, -25, 0, 0, 0, 0, -39, -120, -6, 255},
{ 51, -21, 1, 0, 0, 0, 85, -94, -4, 255},
{ 34, -14, -7, 0, 0, 0, -10, 29, -123, 255},
{ 8, -2, 0, 0, 0, 0, -90, 87, -12, 255},
{ 33, -14, -11, 0, 0, 0, 52, 17, 114, 255},
{ 20, -24, -14, 0, 0, 0, -38, -120, 9, 255},
{ 44, -19, -28, 0, 0, 0, 73, -86, -57, 255},
{ 24, -12, -25, 0, 0, 0, -76, 36, -94, 255},
{ 7, -1, -4, 0, 0, 0, -81, 75, 61, 255},
{ 24, -12, 28, 0, 0, 0, -76, 36, 94, 255},
{ 43, -19, 30, 0, 0, 0, 80, -82, 53, 255},
{ -22, 7, 0, 0, 0, 0, -102, 74, -12, 255},
{ 2, -10, 0, 0, 0, 0, -24, -124, -2, 255},
{ 15, -3, 17, 0, 0, 0, 75, 13, 101, 255},
{ 15, -3, -15, 0, 0, 0, 72, 14, -103, 255},
{ 6, 5, 0, 0, 0, 0, 37, 121, -2, 255},
};
static Gfx gfx_tori_Rfoot_0[] = {
gsSPLight((&light_tori_Rfoot[0].l[0]),1 ),
gsSPLight((&light_tori_Rfoot[0].a ),2 ),
gsSPVertex(&vtx_tori_Rfoot_0[0], 12, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 4, 5, 0),
gsSP1Triangle( 4, 3, 6, 0),
gsSP1Triangle( 3, 5, 6, 0),
gsSP1Triangle( 7, 8, 9, 0),
gsSP1Triangle( 8, 7,10, 0),
gsSP1Triangle( 8,10, 9, 0),
gsSP1Triangle( 0,11, 1, 0),
gsSP1Triangle(11, 0, 2, 0),
gsSPLight((&light_tori_Rfoot[1].l[0]),1 ),
gsSPLight((&light_tori_Rfoot[1].a ),2 ),
gsSPVertex(&vtx_tori_Rfoot_0[12], 15, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 4, 5, 0),
gsSP1Triangle( 6, 7, 3, 0),
gsSP1Triangle( 7, 4, 3, 0),
gsSP1Triangle( 5, 4, 6, 0),
gsSP1Triangle( 7, 6, 4, 0),
gsSP1Triangle( 8, 9,10, 0),
gsSP1Triangle(11,12, 8, 0),
gsSP1Triangle(12, 9, 8, 0),
gsSP1Triangle(12,11, 9, 0),
gsSP1Triangle(10, 9,11, 0),
gsSP1Triangle( 0, 2,13, 0),
gsSP1Triangle( 1, 0,13, 0),
gsSP1Triangle(13, 2,14, 0),
gsSP1Triangle(14, 2, 1, 0),
gsSPVertex(&vtx_tori_Rfoot_0[27], 5, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 1, 0, 3, 0),
gsSP1Triangle( 3, 2, 1, 0),
gsSP1Triangle( 4, 2, 3, 0),
gsSP1Triangle( 2, 4, 0, 0),
gsSP1Triangle( 3, 0, 4, 0),
gsSPEndDisplayList()
};
Gfx gfx_tori_Rfoot[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(gfx_tori_Rfoot_0),
gsSPEndDisplayList()
};