sm64/shape/EnemyTest/old/manta_old/manta_Lwing2_shape.sou

90 lines
3.3 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (manta_Lwing2)
****************************************************************************************************/
#define SCALE 0.25
#define ShapeColor_manta_Lwing2(R,G,B) {{R*SCALE ,G*SCALE ,B*SCALE ,0 ,R*SCALE ,G*SCALE ,B*SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Lights1 light_manta_Lwing2[] = {
ShapeColor_manta_Lwing2(255,255,255),
ShapeColor_manta_Lwing2(198,238,237),
};
static Vtx vtx_manta_Lwing2_0[] = {
{ 0, -89, 20, 0, 804, 290, -30, -19, 121, 255},
{ 0, 228, 0, 0, 804, 668, -123, 30, -1, 255},
{ -31, -63, 0, 0, 764, 320, -123, -31, -1, 255},
{ 0, -123, 0, 0, 804, 248, -61, -103, 41, 255},
{ 180, -91, 10, 0, 1016, 286, 56, -31, 109, 255},
{ 180, -111, 0, 0, 1016, 264, 90, -78, -42, 255},
{ 180, 120, 0, 0, 1016, 538, 125, 17, -2, 255},
{ 186, -79, 0, 0, 1024, 302, 126, -10, -2, 255},
};
static Vtx vtx_manta_Lwing2_1[] = {
{ 0, -89, -19, 0, 0, 0, -23, -25, -122, 255},
{ 180, 120, 0, 0, 0, 0, 125, 17, -2, 255},
{ 180, -91, -9, 0, 0, 0, 67, -18, -105, 255},
{ 0, -123, 0, 0, 0, 0, -61, -103, 41, 255},
{ 180, -111, 0, 0, 0, 0, 90, -78, -42, 255},
{ -31, -63, 0, 0, 0, 0, -123, -31, -1, 255},
{ 0, 228, 0, 0, 0, 0, -123, 30, -1, 255},
{ 186, -79, 0, 0, 0, 0, 126, -10, -2, 255},
};
static Gfx gfx_manta_Lwing2_0[] = {
gs_Tani_LoadTextureImage2(manta_body_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, 7),
gsSPLight((&light_manta_Lwing2[0].l[0]),1 ),
gsSPLight((&light_manta_Lwing2[0].a ),2 ),
gsSPVertex(&vtx_manta_Lwing2_0[0], 8, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 2, 3, 0, 0),
gsSP1Triangle( 4, 0, 3, 0),
gsSP1Triangle( 5, 4, 3, 0),
gsSP1Triangle( 0, 4, 6, 0),
gsSP1Triangle( 0, 6, 1, 0),
gsSP1Triangle( 4, 5, 7, 0),
gsSP1Triangle( 4, 7, 6, 0),
gsSPEndDisplayList()
};
static Gfx gfx_manta_Lwing2_1[] = {
gsSPLight((&light_manta_Lwing2[1].l[0]),1 ),
gsSPLight((&light_manta_Lwing2[1].a ),2 ),
gsSPVertex(&vtx_manta_Lwing2_1[0], 8, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 0, 4, 0),
gsSP1Triangle( 5, 6, 0, 0),
gsSP1Triangle( 6, 1, 0, 0),
gsSP1Triangle( 0, 2, 4, 0),
gsSP1Triangle( 0, 3, 5, 0),
gsSP1Triangle( 7, 2, 1, 0),
gsSP1Triangle( 7, 4, 2, 0),
gsSPEndDisplayList()
};
Gfx gfx_manta_Lwing2[] = {
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, 64, 32, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
gsSPDisplayList(gfx_manta_Lwing2_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(gfx_manta_Lwing2_1),
gsSPEndDisplayList()
};