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

74 lines
3.0 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (rabi_RearA)
****************************************************************************************************/
#define rabi_RearA_AMB_SCALE 0.4
#define ShapeColor_rabi_RearA(R,G,B) {{R*rabi_RearA_AMB_SCALE ,G*rabi_RearA_AMB_SCALE ,B*rabi_RearA_AMB_SCALE ,0 ,R*rabi_RearA_AMB_SCALE ,G*rabi_RearA_AMB_SCALE ,B*rabi_RearA_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_rabi_RearA[] = {
ShapeColor_rabi_RearA(150,150, 0),
ShapeColor_rabi_RearA(255,255,255),
};
static Vtx vtx_rabi_RearA_0[] = {
{ 76, 0, 40, 0, -628, 934, 28, 17, 122, 255},
{ 76, 0, -40, 0, -628, 934, 24, 66, -105, 255},
{ 0, 0, 27, 0, -1998, 894, -58, 93, 63, 255},
{ 103, 1, 0, 0, -142, 966, 126, 11, 0, 255},
{ 0, 0, -27, 0, -1998, 894, -75, 60, -81, 255},
{ -19, -8, 0, 0, -2378, 732, -124, 25, 0, 255},
{ -19, -8, 0, 0, -2378, 732, -124, 25, 0, 255},
{ -11, -30, 0, 0, -2264, 358, -68, -107, 0, 255},
{ 0, 0, 27, 0, -1998, 894, -58, 93, 63, 255},
{ 0, 0, -27, 0, -1998, 894, -75, 60, -81, 255},
{ 76, -46, 0, 0, -708, 126, 64, -109, 0, 255},
{ 76, 0, 40, 0, -628, 934, 28, 17, 122, 255},
{ 76, 0, -40, 0, -628, 934, 24, 66, -105, 255},
{ 103, 1, 0, 0, -142, 966, 126, 11, 0, 255},
};
static Gfx gfx_rabi_RearA_0[] = {
gs_Tani_LoadTextureImage2(rabi_face_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPLight((&light_rabi_RearA[0].l[0]),1 ),
gsSPLight((&light_rabi_RearA[0].a ),2 ),
gsSPVertex(&vtx_rabi_RearA_0[0], 6, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 0, 3, 1, 0),
gsSP1Triangle( 1, 4, 2, 0),
gsSP1Triangle( 5, 2, 4, 0),
gsSPLight((&light_rabi_RearA[1].l[0]),1 ),
gsSPLight((&light_rabi_RearA[1].a ),2 ),
gsSPVertex(&vtx_rabi_RearA_0[6], 8, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 0, 3, 1, 0),
gsSP1Triangle( 4, 5, 1, 0),
gsSP1Triangle( 1, 3, 6, 0),
gsSP1Triangle( 5, 2, 1, 0),
gsSP1Triangle( 6, 4, 1, 0),
gsSP1Triangle( 4, 7, 5, 0),
gsSP1Triangle( 4, 6, 7, 0),
gsSPEndDisplayList()
};
Gfx gfx_rabi_RearA[] = {
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_RearA_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList()
};