sm64/shape/enemy2_f/rabbit/rabi_RfootB_shape.sou
2022-12-04 22:27:02 -05:00

73 lines
2.9 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (rabi_RfootB)
****************************************************************************************************/
#define rabi_RfootB_AMB_SCALE 0.4
#define ShapeColor_rabi_RfootB(R,G,B) {{R*rabi_RfootB_AMB_SCALE ,G*rabi_RfootB_AMB_SCALE ,B*rabi_RfootB_AMB_SCALE ,0 ,R*rabi_RfootB_AMB_SCALE ,G*rabi_RfootB_AMB_SCALE ,B*rabi_RfootB_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_rabi_RfootB[] = {
ShapeColor_rabi_RfootB(150,150, 0),
ShapeColor_rabi_RfootB(255,255,255),
};
static Vtx vtx_rabi_RfootB_0[] = {
{ 49, -37, -2, 0, -516, -60, 64, -109, 0, 255},
{ 54, 0, -40, 0, -564, -446, 104, 24, -67, 255},
{ 54, 0, 36, 0, -564, 330, 94, -9, 84, 255},
{ -2, 52, 20, 0, 2, 164, -32, 80, 92, 255},
{ -2, 52, -23, 0, 2, -268, -74, 42, -94, 255},
{ -14, 13, -1, 0, 120, -56, -122, -33, 0, 255},
{ -2, 52, 20, 0, 2, 164, -32, 80, 92, 255},
{ -2, 52, -23, 0, 2, -268, -74, 42, -94, 255},
{ 49, -37, -2, 0, -516, -60, 64, -109, 0, 255},
{ 54, 0, 36, 0, -564, 330, 94, -9, 84, 255},
{ 27, -28, 23, 0, -302, 200, -54, -86, 75, 255},
{ 27, -28, -27, 0, -302, -312, -56, -86, -74, 255},
{ 54, 0, -40, 0, -564, -446, 104, 24, -67, 255},
};
static Gfx gfx_rabi_RfootB_0[] = {
gs_Tani_LoadTextureImage2(rabi_face_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPLight((&light_rabi_RfootB[0].l[0]),1 ),
gsSPLight((&light_rabi_RfootB[0].a ),2 ),
gsSPVertex(&vtx_rabi_RfootB_0[0], 5, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 2, 1, 0),
gsSP1Triangle( 1, 4, 3, 0),
gsSPLight((&light_rabi_RfootB[1].l[0]),1 ),
gsSPLight((&light_rabi_RfootB[1].a ),2 ),
gsSPVertex(&vtx_rabi_RfootB_0[5], 8, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 4, 5, 0),
gsSP1Triangle( 5, 6, 3, 0),
gsSP1Triangle( 6, 7, 3, 0),
gsSP1Triangle( 5, 4, 1, 0),
gsSP1Triangle( 6, 5, 0, 0),
gsSP1Triangle( 1, 0, 5, 0),
gsSP1Triangle( 2, 7, 6, 0),
gsSP1Triangle( 6, 0, 2, 0),
gsSPEndDisplayList()
};
Gfx gfx_rabi_RfootB[] = {
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_rabi_RfootB_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList()
};