sm64/shape/enemy2_h/walker/W_footA_shape.sou
2022-12-04 22:27:02 -05:00

40 lines
1.3 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (W_footA)
****************************************************************************************************/
#define W_footA_AMB_SCALE 0.25
#define ShapeColor_W_footA(R,G,B) {{R*W_footA_AMB_SCALE ,G*W_footA_AMB_SCALE ,B*W_footA_AMB_SCALE ,0 ,R*W_footA_AMB_SCALE ,G*W_footA_AMB_SCALE ,B*W_footA_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_W_footA[] = {
ShapeColor_W_footA(153, 22, 22),
};
static Vtx vtx_W_footA_0[] = {
{ 0, -1, 0, 0, 0, 0, -126, 2, 0, 255},
{ 57, -106, -3, 0, 0, 0, -49, -116, -3, 255},
{ 57, 48, 83, 0, 0, 0, -48, 55, 103, 255},
{ 57, 54, -81, 0, 0, 0, -49, 61, -99, 255},
};
static Gfx gfx_W_footA_0[] = {
gsSPLight((&light_W_footA[0].l[0]),1 ),
gsSPLight((&light_W_footA[0].a ),2 ),
gsSPVertex(&vtx_W_footA_0[0], 4, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 2, 1, 0),
gsSP1Triangle( 2, 3, 0, 0),
gsSP1Triangle( 1, 0, 3, 0),
gsSPEndDisplayList()
};
Gfx gfx_W_footA[] = {
gsDPPipeSync(),
gsSPDisplayList(gfx_W_footA_0),
gsDPPipeSync(),
gsSPEndDisplayList()
};