sm64/shape/basic_enemy/carryboy/carry_foot_shape.sou
2022-12-04 22:27:02 -05:00

49 lines
1.8 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (carry_foot)
****************************************************************************************************/
#define carry_foot_AMB_SCALE 0.3
#define ShapeColor_carry_foot(R,G,B) {{R*carry_foot_AMB_SCALE ,G*carry_foot_AMB_SCALE ,B*carry_foot_AMB_SCALE ,0 ,R*carry_foot_AMB_SCALE ,G*carry_foot_AMB_SCALE ,B*carry_foot_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_carry_foot[] = {
ShapeColor_carry_foot(137,137,138),
};
static Vtx vtx_carry_foot_0[] = {
{ 87, 41, -41, 0, 0, 0, -72, 73, -73, 255},
{ 87, 0, -58, 0, 0, 0, -72, 0, -104, 255},
{ 3, -1, 0, 0, 0, 0, -126, 0, 0, 255},
{ 87, 58, 0, 0, 0, 0, -72, 103, 0, 255},
{ 87, -42, -41, 0, 0, 0, -72, -74, -73, 255},
{ 87, -42, 42, 0, 0, 0, -72, -74, 73, 255},
{ 87, 0, 59, 0, 0, 0, -72, 0, 103, 255},
{ 87, 41, 42, 0, 0, 0, -73, 73, 72, 255},
{ 88, -59, 0, 0, 0, 0, -71, -104, 0, 255},
};
static Gfx gfx_carry_foot_0[] = {
gsSPLight((&light_carry_foot[0].l[0]),1 ),
gsSPLight((&light_carry_foot[0].a ),2 ),
gsSPVertex(&vtx_carry_foot_0[0], 9, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 0, 2, 0),
gsSP1Triangle( 1, 4, 2, 0),
gsSP1Triangle( 5, 6, 2, 0),
gsSP1Triangle( 6, 7, 2, 0),
gsSP1Triangle( 8, 5, 2, 0),
gsSP1Triangle( 7, 3, 2, 0),
gsSP1Triangle( 4, 8, 2, 0),
gsSPEndDisplayList()
};
Gfx gfx_carry_foot[] = {
gsDPPipeSync(),
gsSPDisplayList(gfx_carry_foot_0),
gsDPPipeSync(),
gsSPEndDisplayList()
};