sm64/shape/enemy1_c/bom_king/king_hige_shape.sou
2022-12-04 22:27:02 -05:00

50 lines
1.8 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (king_hige)
****************************************************************************************************/
#define king_hige_AMB_SCALE 0.5
#define ShapeColor_king_hige(R,G,B) {{R*king_hige_AMB_SCALE ,G*king_hige_AMB_SCALE ,B*king_hige_AMB_SCALE ,0 ,R*king_hige_AMB_SCALE ,G*king_hige_AMB_SCALE ,B*king_hige_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_king_hige[] = {
ShapeColor_king_hige(255,255,255),
};
static Vtx vtx_king_hige_0[] = {
{ -189, -1, 571, 0, 0, 0, -36, 25, 118, 255},
{ -379, 180, 438, 0, 0, 0, -34, 46, 112, 255},
{ -273, -1, 548, 0, 0, 0, -38, -19, 119, 255},
{ -379, -183, 438, 0, 0, 0, -41, -43, 111, 255},
{ -281, -365, 404, 0, 0, 0, -40, -43, 112, 255},
{ 24, -436, 485, 0, 0, 0, -35, -41, 114, 255},
{ 24, 432, 485, 0, 0, 0, -39, 42, 113, 255},
{ -281, 361, 404, 0, 0, 0, -39, 42, 113, 255},
};
static Gfx gfx_king_hige_0[] = {
gsSPLight((&light_king_hige[0].l[0]),1 ),
gsSPLight((&light_king_hige[0].a ),2 ),
gsSPVertex(&vtx_king_hige_0[0], 8, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 2, 3, 4, 0),
gsSP1Triangle( 2, 4, 5, 0),
gsSP1Triangle( 2, 5, 0, 0),
gsSP1Triangle( 0, 6, 7, 0),
gsSP1Triangle( 0, 7, 1, 0),
gsSPEndDisplayList()
};
Gfx gfx_king_hige[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPClearGeometryMode(G_CULL_BACK),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(gfx_king_hige_0),
gsSPSetGeometryMode(G_CULL_BACK),
gsSPEndDisplayList()
};