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

64 lines
2.5 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (monky_Rleg1)
****************************************************************************************************/
#define MONKYRLEG1_AMB_SCALE 0.5
#define ShapeColor_monky_Rleg1(R,G,B) {{R*MONKYRLEG1_AMB_SCALE ,G*MONKYRLEG1_AMB_SCALE ,B*MONKYRLEG1_AMB_SCALE ,0 ,R*MONKYRLEG1_AMB_SCALE ,G*MONKYRLEG1_AMB_SCALE ,B*MONKYRLEG1_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_monky_Rleg1[] = {
ShapeColor_monky_Rleg1(255,255,255),
};
static Vtx vtx_monky_Rleg1_0[] = {
{ -6, 29, 1, 0, 1878, 52, -100, 68, 37, 255},
{ 2, -33, 0, 0, 3150, -22, -80, -92, -34, 255},
{ -1, -2, 19, 0, 1244, 14, -44, -40, 111, 255},
{ -2, 0, -18, 0, 2480, 16, -53, 29, -111, 255},
{ 47, 29, 1, 0, 1872, 1100, 45, 110, -42, 255},
{ 50, 4, 24, 0, 1194, 1070, 78, 28, 96, 255},
{ 2, -33, 0, 0, 596, -22, -80, -92, -34, 255},
{ 53, -18, 0, 0, 592, 1042, 72, -94, 43, 255},
{ 50, 6, -23, 0, -10, 1072, 83, -7, -95, 255},
{ 50, 6, -23, 0, 2546, 1072, 83, -7, -95, 255},
};
static Gfx gfx_monky_Rleg1_0[] = {
gs_Tani_LoadTextureImage2(monky_skinB_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPLight((&light_monky_Rleg1[0].l[0]),1 ),
gsSPLight((&light_monky_Rleg1[0].a ),2 ),
gsSPVertex(&vtx_monky_Rleg1_0[0], 10, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 0, 4, 0),
gsSP1Triangle( 0, 3, 1, 0),
gsSP1Triangle( 0, 2, 5, 0),
gsSP1Triangle( 0, 5, 4, 0),
gsSP1Triangle( 2, 6, 7, 0),
gsSP1Triangle( 2, 7, 5, 0),
gsSP1Triangle( 5, 7, 8, 0),
gsSP1Triangle( 5, 9, 4, 0),
gsSP1Triangle( 3, 4, 9, 0),
gsSP1Triangle( 1, 3, 9, 0),
gsSP1Triangle( 6, 8, 7, 0),
gsSPEndDisplayList()
};
Gfx gfx_monky_Rleg1[] = {
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_Rleg1_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList()
};