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

48 lines
1.7 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (mu_hand)
****************************************************************************************************/
#define mu_hand_AMB_SCALE 0.4
#define ShapeColor_mu_hand(R,G,B) {{R*mu_hand_AMB_SCALE ,G*mu_hand_AMB_SCALE ,B*mu_hand_AMB_SCALE ,0 ,R*mu_hand_AMB_SCALE ,G*mu_hand_AMB_SCALE ,B*mu_hand_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_mu_hand[] = {
ShapeColor_mu_hand(254, 20, 20),
};
static Vtx vtx_mu_hand_0[] = {
{ -177, -140, -68, 0, 0, 0, -71, -100, -30, 255},
{ -124, -35, -44, 0, 0, 0, -103, 61, -40, 255},
{ -71, -112, -60, 0, 0, 0, 28, -79, -94, 255},
{ -72, -105, 22, 0, 0, 0, -44, -83, 84, 255},
{ 72, -112, -60, 0, 0, 0, -28, -79, -94, 255},
{ 125, -35, -44, 0, 0, 0, 103, 61, -40, 255},
{ 178, -140, -68, 0, 0, 0, 71, -100, -30, 255},
{ 73, -105, 22, 0, 0, 0, 44, -83, 84, 255},
};
static Gfx gfx_mu_hand_0[] = {
gsSPLight((&light_mu_hand[0].l[0]),1 ),
gsSPLight((&light_mu_hand[0].a ),2 ),
gsSPVertex(&vtx_mu_hand_0[0], 8, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 2, 3, 0, 0),
gsSP1Triangle( 1, 0, 3, 0),
gsSP1Triangle( 4, 5, 6, 0),
gsSP1Triangle( 7, 6, 5, 0),
gsSP1Triangle( 6, 7, 4, 0),
gsSPEndDisplayList()
};
Gfx gfx_mu_hand[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(gfx_mu_hand_0),
gsSPEndDisplayList()
};