sm64/shape/enemy1_f/monky/monky_Lleg1_shape.sou
2022-12-04 22:27:02 -05:00

65 lines
2.6 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (monky_Lleg1)
****************************************************************************************************/
#define MONKYLLEG1_AMB_SCALE 0.5
#define ShapeColor_monky_Lleg1(R,G,B) {{R*MONKYLLEG1_AMB_SCALE ,G*MONKYLLEG1_AMB_SCALE ,B*MONKYLLEG1_AMB_SCALE ,0 ,R*MONKYLLEG1_AMB_SCALE ,G*MONKYLLEG1_AMB_SCALE ,B*MONKYLLEG1_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_monky_Lleg1[] = {
ShapeColor_monky_Lleg1(255,255,255),
};
static Vtx vtx_monky_Lleg1_0[] = {
{ 47, 29, 0, 0, 1588, 60, 78, 91, -39, 255},
{ 53, -18, 1, 0, 2668, 104, 99, -69, 38, 255},
{ 50, 4, -23, 0, 980, 84, 51, -22, -113, 255},
{ -1, -2, -18, 0, 1002, 1040, -82, 14, -95, 255},
{ 53, -18, 1, 0, 496, 104, 99, -69, 38, 255},
{ 2, -33, 1, 0, 500, 1068, -41, -112, -41, 255},
{ 50, 6, 25, 0, 18, 82, 43, 35, 114, 255},
{ -2, 0, 19, 0, -20, 1038, -78, -35, 93, 255},
{ -6, 29, 0, 0, 1592, 1010, -70, 98, 38, 255},
{ -2, 0, 19, 0, 2150, 1038, -78, -35, 93, 255},
{ 50, 6, 25, 0, 2190, 82, 43, 35, 114, 255},
};
static Gfx gfx_monky_Lleg1_0[] = {
gs_Tani_LoadTextureImage2(monky_skinB_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPLight((&light_monky_Lleg1[0].l[0]),1 ),
gsSPLight((&light_monky_Lleg1[0].a ),2 ),
gsSPVertex(&vtx_monky_Lleg1_0[0], 11, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 0, 2, 3, 0),
gsSP1Triangle( 2, 4, 5, 0),
gsSP1Triangle( 2, 5, 3, 0),
gsSP1Triangle( 4, 6, 7, 0),
gsSP1Triangle( 4, 7, 5, 0),
gsSP1Triangle( 3, 5, 7, 0),
gsSP1Triangle( 0, 3, 8, 0),
gsSP1Triangle( 3, 9, 8, 0),
gsSP1Triangle( 0,10, 1, 0),
gsSP1Triangle(10, 0, 8, 0),
gsSP1Triangle(10, 8, 9, 0),
gsSPEndDisplayList()
};
Gfx gfx_monky_Lleg1[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, 7, 0, 0,0,0, 0,0,0),
gsSPTexture(0xffff,0xffff, 0, 0, G_ON),
gs_Tani_SetUpTileDescrip(G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 0, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
gsSPDisplayList(gfx_monky_Lleg1_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList()
};