sm64/shape/enemy2_e/wallman/ichi_Lfoot_shape.sou
2022-12-04 22:27:02 -05:00

62 lines
2.4 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (ichi_Lfoot)
****************************************************************************************************/
#define ichi_Lfoot_AMB_SCALE 0.3
#define ShapeColor_ichi_Lfoot(R,G,B) {{R*ichi_Lfoot_AMB_SCALE ,G*ichi_Lfoot_AMB_SCALE ,B*ichi_Lfoot_AMB_SCALE ,0 ,R*ichi_Lfoot_AMB_SCALE ,G*ichi_Lfoot_AMB_SCALE ,B*ichi_Lfoot_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_ichi_Lfoot[] = {
ShapeColor_ichi_Lfoot(255,255,255),
};
static Vtx vtx_ichi_Lfoot_0[] = {
{ 154, -260, -2, 0, 470, 998, 110, -61, -1, 255},
{ 174, 183, -176, 0, -110, 114, 1, 62, -110, 255},
{ 180, 257, -1, 0, 472, -34, 70, 105, 0, 255},
{ 158, -143, -200, 0, -188, 768, -33, -60, -106, 255},
{ 22, 158, -1, 0, 472, 162, -101, 76, 1, 255},
{ -28, -89, -1, 0, 472, 658, -124, -25, 0, 255},
{ 177, 182, 172, 0, 1050, 116, 3, 61, 111, 255},
{ 161, -152, 191, 0, 1112, 784, -31, -62, 106, 255},
};
static Gfx gfx_ichi_Lfoot_0[] = {
gs_Tani_LoadTextureImage2(ichiro_skin_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPLight((&light_ichi_Lfoot[0].l[0]),1 ),
gsSPLight((&light_ichi_Lfoot[0].a ),2 ),
gsSPVertex(&vtx_ichi_Lfoot_0[0], 8, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 0, 3, 1, 0),
gsSP1Triangle( 4, 2, 1, 0),
gsSP1Triangle( 1, 5, 4, 0),
gsSP1Triangle( 1, 3, 5, 0),
gsSP1Triangle( 5, 3, 0, 0),
gsSP1Triangle( 4, 5, 6, 0),
gsSP1Triangle( 0, 7, 5, 0),
gsSP1Triangle( 5, 7, 6, 0),
gsSP1Triangle( 6, 2, 4, 0),
gsSP1Triangle( 0, 2, 6, 0),
gsSP1Triangle( 0, 6, 7, 0),
gsSPEndDisplayList()
};
Gfx gfx_ichi_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_ichi_Lfoot_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList()
};