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

65 lines
2.6 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (monky_Rarm2)
****************************************************************************************************/
#define MONKYRARM2_AMB_SCALE 0.5
#define ShapeColor_monky_Rarm2(R,G,B) {{R*MONKYRARM2_AMB_SCALE ,G*MONKYRARM2_AMB_SCALE ,B*MONKYRARM2_AMB_SCALE ,0 ,R*MONKYRARM2_AMB_SCALE ,G*MONKYRARM2_AMB_SCALE ,B*MONKYRARM2_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_monky_Rarm2[] = {
ShapeColor_monky_Rarm2(255,255,255),
};
static Vtx vtx_monky_Rarm2_0[] = {
{ -4, 18, 15, 0, 1770, -134, -96, 29, 77, 255},
{ -1, -12, -15, 0, 356, -128, -87, -48, -78, 255},
{ -1, -12, 15, 0, 1024, -128, -54, -103, 48, 255},
{ -4, 18, -15, 0, 2572, -134, -76, 89, -48, 255},
{ 68, 35, 24, 0, 1792, 948, 22, 112, 54, 255},
{ -1, -12, -15, 0, 3280, -128, -87, -48, -78, 255},
{ 73, -12, 24, 0, 1048, 958, 80, -37, 91, 255},
{ 73, -12, -24, 0, 338, 958, 47, -104, -54, 255},
{ 68, 35, -24, 0, 2544, 948, 69, 53, -91, 255},
{ 73, -12, 24, 0, 3974, 958, 80, -37, 91, 255},
{ 73, -12, -24, 0, 3262, 958, 47, -104, -54, 255},
};
static Gfx gfx_monky_Rarm2_0[] = {
gs_Tani_LoadTextureImage2(monky_skinB_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPLight((&light_monky_Rarm2[0].l[0]),1 ),
gsSPLight((&light_monky_Rarm2[0].a ),2 ),
gsSPVertex(&vtx_monky_Rarm2_0[0], 11, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 0, 4, 0),
gsSP1Triangle( 0, 3, 5, 0),
gsSP1Triangle( 0, 2, 6, 0),
gsSP1Triangle( 0, 6, 4, 0),
gsSP1Triangle( 2, 1, 7, 0),
gsSP1Triangle( 2, 7, 6, 0),
gsSP1Triangle( 3, 4, 8, 0),
gsSP1Triangle( 9, 8, 4, 0),
gsSP1Triangle( 5, 3, 8, 0),
gsSP1Triangle( 5, 8,10, 0),
gsSP1Triangle( 9,10, 8, 0),
gsSPEndDisplayList()
};
Gfx gfx_monky_Rarm2[] = {
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_Rarm2_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList()
};