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

62 lines
2.3 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (indy_Rarm)
****************************************************************************************************/
#define indy_Rarm_AMB_SCALE 0.5
#define ShapeColor_indy_Rarm(R,G,B) {{R*indy_Rarm_AMB_SCALE ,G*indy_Rarm_AMB_SCALE ,B*indy_Rarm_AMB_SCALE ,0 ,R*indy_Rarm_AMB_SCALE ,G*indy_Rarm_AMB_SCALE ,B*indy_Rarm_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_indy_Rarm[] = {
ShapeColor_indy_Rarm(255,255,255),
};
static Vtx vtx_indy_Rarm_0[] = {
{ -3, 7, -22, 0, 234, 806, -46, 115, -27, 255},
{ -3, 7, 19, 0, 80, 810, -78, 88, 46, 255},
{ 78, 15, 64, 0, 34, 970, 17, 121, 34, 255},
{ -13, -8, -31, 0, 250, 786, -96, 58, -57, 255},
{ -13, -8, 25, 0, 40, 792, -94, -65, 54, 255},
{ 85, -12, 78, 0, -4, 984, 64, 37, 103, 255},
{ 75, 7, -57, 0, 480, 952, 42, 106, -53, 255},
{ 85, -12, -80, 0, 582, 968, 51, -91, -71, 255},
};
static Gfx gfx_indy_Rarm_0[] = {
gs_Tani_LoadTextureImage2(indy_eye_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPLight((&light_indy_Rarm[0].l[0]),1 ),
gsSPLight((&light_indy_Rarm[0].a ),2 ),
gsSPVertex(&vtx_indy_Rarm_0[0], 8, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 1, 3, 4, 0),
gsSP1Triangle( 1, 0, 3, 0),
gsSP1Triangle( 1, 5, 2, 0),
gsSP1Triangle( 1, 4, 5, 0),
gsSP1Triangle( 3, 6, 7, 0),
gsSP1Triangle( 3, 0, 6, 0),
gsSP1Triangle( 4, 3, 7, 0),
gsSP1Triangle( 4, 7, 5, 0),
gsSP1Triangle( 0, 2, 6, 0),
gsSP1Triangle( 5, 6, 2, 0),
gsSP1Triangle( 5, 7, 6, 0),
gsSPEndDisplayList()
};
Gfx gfx_indy_Rarm[] = {
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_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
gsSPDisplayList(gfx_indy_Rarm_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList()
};