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

66 lines
2.4 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (tori_body)
****************************************************************************************************/
#define SCALE 0.25
#define ShapeColor_tori_body(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_body[] = {
ShapeColor_tori_body( 30, 5, 4),
};
static Vtx vtx_tori_body_0[] = {
{ 54, 19, -37, 0, 0, 0, 56, 19, -111, 255},
{ 86, 16, 0, 0, 0, 0, 120, 39, -4, 255},
{ 76, -14, 0, 0, 0, 0, 103, -73, -3, 255},
{ 54, 19, 43, 0, 0, 0, 56, 18, 112, 255},
{ 42, -26, 26, 0, 0, 0, 5, -98, 80, 255},
{ 42, -26, -25, 0, 0, 0, 10, -94, -83, 255},
{ 19, 17, -33, 0, 0, 0, -36, 26, -118, 255},
{ -34, -10, 0, 0, 0, 0, -117, -49, 0, 255},
{ 47, 50, 0, 0, 0, 0, 4, 126, -2, 255},
{ 19, 17, 34, 0, 0, 0, -42, 25, 116, 255},
{ -5, 25, 20, 0, 0, 0, -71, 87, 58, 255},
{ -5, 25, -19, 0, 0, 0, -71, 87, -58, 255},
};
static Gfx gfx_tori_body_0[] = {
gsSPLight((&light_tori_body[0].l[0]),1 ),
gsSPLight((&light_tori_body[0].a ),2 ),
gsSPVertex(&vtx_tori_body_0[0], 12, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 2, 1, 3, 0),
gsSP1Triangle( 2, 4, 5, 0),
gsSP1Triangle( 2, 5, 0, 0),
gsSP1Triangle( 3, 4, 2, 0),
gsSP1Triangle( 6, 5, 7, 0),
gsSP1Triangle( 4, 7, 5, 0),
gsSP1Triangle( 0, 5, 6, 0),
gsSP1Triangle( 8, 1, 0, 0),
gsSP1Triangle( 8, 0, 6, 0),
gsSP1Triangle( 7, 4, 9, 0),
gsSP1Triangle( 3, 9, 4, 0),
gsSP1Triangle( 3, 8, 9, 0),
gsSP1Triangle( 9, 8,10, 0),
gsSP1Triangle( 9,10, 7, 0),
gsSP1Triangle( 8,11,10, 0),
gsSP1Triangle( 6,11, 8, 0),
gsSP1Triangle( 3, 1, 8, 0),
gsSP1Triangle(10,11, 7, 0),
gsSP1Triangle( 7,11, 6, 0),
gsSPEndDisplayList()
};
Gfx gfx_tori_body[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(gfx_tori_body_0),
gsSPEndDisplayList()
};