sm64/shape/enemy2_d/amembow/am_foot_shape.sou
2022-12-04 22:27:02 -05:00

48 lines
1.7 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (am_foot)
****************************************************************************************************/
#define am_foot_AMB_SCALE 0.5
#define ShapeColor_am_foot(R,G,B) {{R*am_foot_AMB_SCALE ,G*am_foot_AMB_SCALE ,B*am_foot_AMB_SCALE ,0 ,R*am_foot_AMB_SCALE ,G*am_foot_AMB_SCALE ,B*am_foot_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_am_foot[] = {
ShapeColor_am_foot(255,170, 0),
};
static Vtx vtx_am_foot_0[] = {
{ 45, -24, -122, 0, 0, 0, 106, -23, -64, 255},
{ 45, 120, 76, 0, 0, 0, 36, 96, 74, 255},
{ 45, -24, 123, 0, 0, 0, 40, -42, 112, 255},
{ 45, 120, -75, 0, 0, 0, -91, 69, -53, 255},
{ -14, 0, 0, 0, 0, 0, -126, -3, 0, 255},
{ 45, -114, 0, 0, 0, 0, -78, -99, 0, 255},
};
static Gfx gfx_am_foot_0[] = {
gsSPLight((&light_am_foot[0].l[0]),1 ),
gsSPLight((&light_am_foot[0].a ),2 ),
gsSPVertex(&vtx_am_foot_0[0], 6, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 0, 3, 1, 0),
gsSP1Triangle( 2, 1, 4, 0),
gsSP1Triangle( 1, 3, 4, 0),
gsSP1Triangle( 3, 0, 4, 0),
gsSP1Triangle( 5, 2, 4, 0),
gsSP1Triangle( 0, 5, 4, 0),
gsSP1Triangle( 5, 0, 2, 0),
gsSPEndDisplayList()
};
Gfx gfx_am_foot[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(gfx_am_foot_0),
gsSPEndDisplayList()
};