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

41 lines
1.4 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (carry_hairB)
****************************************************************************************************/
#define carry_hairB_AMB_SCALE 0.3
#define ShapeColor_carry_hairB(R,G,B) {{R*carry_hairB_AMB_SCALE ,G*carry_hairB_AMB_SCALE ,B*carry_hairB_AMB_SCALE ,0 ,R*carry_hairB_AMB_SCALE ,G*carry_hairB_AMB_SCALE ,B*carry_hairB_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_carry_hairB[] = {
ShapeColor_carry_hairB(255,255, 0),
};
static Vtx vtx_carry_hairB_0[] = {
{ -9, 2, 0, 0, 0, 0, -126, -3, 0, 255},
{ 79, 26, 0, 0, 0, 0, -33, 122, 0, 255},
{ 79, 1, -33, 0, 0, 0, -44, -1, -118, 255},
{ 80, -23, 0, 0, 0, 0, -34, -122, 0, 255},
{ 79, 1, 33, 0, 0, 0, -44, -1, 118, 255},
};
static Gfx gfx_carry_hairB_0[] = {
gsSPLight((&light_carry_hairB[0].l[0]),1 ),
gsSPLight((&light_carry_hairB[0].a ),2 ),
gsSPVertex(&vtx_carry_hairB_0[0], 5, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 0, 3, 4, 0),
gsSP1Triangle( 0, 2, 3, 0),
gsSP1Triangle( 0, 4, 1, 0),
gsSPEndDisplayList()
};
Gfx gfx_carry_hairB[] = {
gsDPPipeSync(),
gsSPDisplayList(gfx_carry_hairB_0),
gsDPPipeSync(),
gsSPEndDisplayList()
};