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

74 lines
3.0 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (rabi_LearA)
****************************************************************************************************/
#define rabi_LearA_AMB_SCALE 0.4
#define ShapeColor_rabi_LearA(R,G,B) {{R*rabi_LearA_AMB_SCALE ,G*rabi_LearA_AMB_SCALE ,B*rabi_LearA_AMB_SCALE ,0 ,R*rabi_LearA_AMB_SCALE ,G*rabi_LearA_AMB_SCALE ,B*rabi_LearA_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_rabi_LearA[] = {
ShapeColor_rabi_LearA(150,150, 0),
ShapeColor_rabi_LearA(255,255,255),
};
static Vtx vtx_rabi_LearA_0[] = {
{ 0, 0, -26, 0, -1052, 990, -57, 93, -63, 255},
{ 76, 0, 41, 0, -290, 990, 24, 66, 105, 255},
{ 76, 0, -39, 0, -290, 990, 28, 18, -122, 255},
{ 103, 1, 1, 0, -24, 1000, 126, 11, 0, 255},
{ 0, 0, 28, 0, -1052, 990, -77, 60, 81, 255},
{ -19, -8, 0, 0, -1254, 902, -124, 25, -1, 255},
{ -11, -30, 0, 0, -1168, 680, -68, -106, -2, 255},
{ 0, 0, -26, 0, -1052, 990, -57, 93, -63, 255},
{ 76, 0, -39, 0, -290, 990, 28, 18, -122, 255},
{ -19, -8, 0, 0, -1254, 902, -124, 25, -1, 255},
{ 76, -46, 0, 0, -290, 516, 64, -109, -1, 255},
{ 76, 0, 41, 0, -290, 990, 24, 66, 105, 255},
{ 0, 0, 28, 0, -1052, 990, -77, 60, 81, 255},
{ 103, 1, 1, 0, -24, 1000, 126, 11, 0, 255},
};
static Gfx gfx_rabi_LearA_0[] = {
gs_Tani_LoadTextureImage2(rabi_face_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPLight((&light_rabi_LearA[0].l[0]),1 ),
gsSPLight((&light_rabi_LearA[0].a ),2 ),
gsSPVertex(&vtx_rabi_LearA_0[0], 6, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 1, 3, 2, 0),
gsSP1Triangle( 0, 4, 1, 0),
gsSP1Triangle( 4, 0, 5, 0),
gsSPLight((&light_rabi_LearA[1].l[0]),1 ),
gsSPLight((&light_rabi_LearA[1].a ),2 ),
gsSPVertex(&vtx_rabi_LearA_0[6], 8, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 1, 0, 3, 0),
gsSP1Triangle( 0, 2, 4, 0),
gsSP1Triangle( 5, 6, 0, 0),
gsSP1Triangle( 0, 6, 3, 0),
gsSP1Triangle( 0, 4, 5, 0),
gsSP1Triangle( 2, 7, 4, 0),
gsSP1Triangle( 7, 5, 4, 0),
gsSPEndDisplayList()
};
Gfx gfx_rabi_LearA[] = {
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_LearA_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList()
};