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

48 lines
1.6 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (tori_Lleg)
****************************************************************************************************/
#define SCALE 0.25
#define ShapeColor_tori_Lleg(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_Lleg[] = {
ShapeColor_tori_Lleg(255,117, 33),
};
static Vtx vtx_tori_Lleg_0[] = {
{ 9, 27, 3, 0, 0, 0, -43, 80, 87, 255},
{ 0, 0, 0, 0, 0, 0, -122, -32, -3, 255},
{ 14, 9, 8, 0, 0, 0, 1, -79, 98, 255},
{ 9, 27, -3, 0, 0, 0, -42, 77, -91, 255},
{ 69, 0, 0, 0, 0, 0, 98, 80, -3, 255},
{ 14, 9, -7, 0, 0, 0, 3, -80, -97, 255},
};
static Gfx gfx_tori_Lleg_0[] = {
gsSPLight((&light_tori_Lleg[0].l[0]),1 ),
gsSPLight((&light_tori_Lleg[0].a ),2 ),
gsSPVertex(&vtx_tori_Lleg_0[0], 6, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 1, 0, 3, 0),
gsSP1Triangle( 4, 0, 2, 0),
gsSP1Triangle( 0, 4, 3, 0),
gsSP1Triangle( 5, 1, 3, 0),
gsSP1Triangle( 1, 5, 2, 0),
gsSP1Triangle( 5, 4, 2, 0),
gsSP1Triangle( 4, 5, 3, 0),
gsSPEndDisplayList()
};
Gfx gfx_tori_Lleg[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(gfx_tori_Lleg_0),
gsSPEndDisplayList()
};