sm64/shape/enemy1_f/indy/indy_Lfoot_shape.sou

89 lines
3.6 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (indy_Lfoot)
****************************************************************************************************/
#define indy_Lfoot_AMB_SCALE 0.5
#define ShapeColor_indy_Lfoot(R,G,B) {{R*indy_Lfoot_AMB_SCALE ,G*indy_Lfoot_AMB_SCALE ,B*indy_Lfoot_AMB_SCALE ,0 ,R*indy_Lfoot_AMB_SCALE ,G*indy_Lfoot_AMB_SCALE ,B*indy_Lfoot_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_indy_Lfoot[] = {
ShapeColor_indy_Lfoot(255,255,255),
};
static Vtx vtx_indy_Lfoot_0[] = {
{ 80, 10, 54, 0, 3144, 202, 23, 99, 74, 255},
{ 133, 10, 13, 0, 1908, 982, 119, -9, 41, 255},
{ 79, 10, -41, 0, -148, 212, 17, 97, -79, 255},
{ 133, 10, -14, 0, 948, 982, 95, -23, -79, 255},
{ 79, 10, -41, 0, 2864, 188, 17, 97, -79, 255},
{ 133, 10, -14, 0, 2014, 954, 95, -23, -79, 255},
{ 97, -15, -19, 0, 2068, 162, 31, -110, -52, 255},
{ 133, 10, 13, 0, 1096, 982, 119, -9, 41, 255},
{ 98, -18, 18, 0, 820, 170, 22, -116, 45, 255},
{ 80, 10, 54, 0, -294, 274, 23, 99, 74, 255},
};
static Vtx vtx_indy_Lfoot_1[] = {
{ -4, 10, 36, 0, 1044, 680, -48, -38, 110, 255},
{ 98, -18, 18, 0, 780, 984, 22, -116, 45, 255},
{ 80, 10, 54, 0, 896, 934, 23, 99, 74, 255},
{ 79, 10, -41, 0, 694, 926, 17, 97, -79, 255},
{ -4, 10, -34, 0, 896, 674, -39, 43, -112, 255},
{ 97, -15, -19, 0, 700, 980, 31, -110, -52, 255},
{ -46, 10, 1, 0, 1064, 552, -96, -82, -2, 255},
{ -4, -9, 0, 0, 970, 678, -31, -123, -3, 255},
};
static Gfx gfx_indy_Lfoot_0[] = {
gs_Tani_LoadTextureImage2(indy_tume_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPLight((&light_indy_Lfoot[0].l[0]),1 ),
gsSPLight((&light_indy_Lfoot[0].a ),2 ),
gsSPVertex(&vtx_indy_Lfoot_0[0], 10, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 1, 3, 2, 0),
gsSP1Triangle( 4, 5, 6, 0),
gsSP1Triangle( 6, 5, 7, 0),
gsSP1Triangle( 6, 7, 8, 0),
gsSP1Triangle( 8, 7, 9, 0),
gsSPEndDisplayList()
};
static Gfx gfx_indy_Lfoot_1[] = {
gs_Tani_LoadTextureImage2(indy_eye_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPVertex(&vtx_indy_Lfoot_1[0], 8, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 2, 3, 4, 0),
gsSP1Triangle( 4, 0, 2, 0),
gsSP1Triangle( 4, 3, 5, 0),
gsSP1Triangle( 4, 6, 0, 0),
gsSP1Triangle( 7, 6, 4, 0),
gsSP1Triangle( 5, 7, 4, 0),
gsSP1Triangle( 0, 6, 7, 0),
gsSP1Triangle( 0, 7, 1, 0),
gsSP1Triangle( 5, 1, 7, 0),
gsSPEndDisplayList()
};
Gfx gfx_indy_Lfoot[] = {
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_indy_Lfoot_0),
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_Lfoot_1),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList()
};