sm64/shape/enemy1_d/manta/manta_Lwing1_shape.sou
2022-12-04 22:27:02 -05:00

108 lines
4.4 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (manta_Lwing1)
****************************************************************************************************/
#define SCALE 0.25
#define ShapeColor_manta_Lwing1(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 Vtx vtx_manta_Lwing1_0[] = {
{ -89, -89, 0, 0, 376, 742, -1, -1, -1, 255},
{ 0, -119, -39, 0, 0, 626, -1, -1, -1, 255},
{ 0, -159, 0, 0, 0, 40, -1, -1, -1, 255},
{ 0, -119, -39, 0, 990, 626, -1, -1, -1, 255},
{ 220, -89, -19, 0, 780, 948, -1, -1, -1, 255},
{ 220, -123, 0, 0, 780, 656, -1, -1, -1, 255},
{ 0, -159, 0, 0, 990, 40, -1, -1, -1, 255},
};
static Vtx vtx_manta_Lwing1_1[] = {
{ 220, -89, 20, 0, 812, 282, -1, -1, -1, 255},
{ 220, -123, 0, 0, 812, 242, -1, -1, -1, 255},
{ 244, -63, 0, 0, 840, 314, -1, -1, -1, 255},
{ 0, -119, 30, 0, 552, 248, -1, -1, -1, 255},
{ 0, -159, 0, 0, 552, 200, -1, -1, -1, 255},
{ -89, -89, 0, 0, 448, 282, -1, -1, -1, 255},
{ -89, 140, 0, 0, 448, 556, -1, -1, -1, 255},
{ 0, 180, 30, 0, 552, 604, -1, -1, -1, 255},
{ 0, 350, 0, 0, 552, 806, -1, -1, -1, 255},
{ 220, 228, 0, 0, 812, 660, -1, -1, -1, 255},
};
static Vtx vtx_manta_Lwing1_2[] = {
{ 244, -63, 0, 0, 0, 0, -58, -18, -19, 255},
{ 220, -123, 0, 0, 0, 0, -58, -18, -19, 255},
{ 220, -89, -19, 0, 0, 0, -58, -18, -19, 255},
{ 0, -119, -39, 0, 0, 0, -58, -18, -19, 255},
{ 0, 180, -39, 0, 0, 0, -58, -18, -19, 255},
{ 220, 228, 0, 0, 0, 0, -58, -18, -19, 255},
{ -89, -89, 0, 0, 0, 0, -58, -18, -19, 255},
{ -89, 140, 0, 0, 0, 0, -58, -18, -19, 255},
{ 0, 350, 0, 0, 0, 0, -58, -18, -19, 255},
};
static Gfx gfx_manta_Lwing1_0[] = {
gs_Tani_LoadTextureImage2(manta_grdtion_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPVertex(&vtx_manta_Lwing1_0[0], 7, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 4, 5, 0),
gsSP1Triangle( 6, 3, 5, 0),
gsSPEndDisplayList()
};
static Gfx gfx_manta_Lwing1_1[] = {
gs_Tani_LoadTextureImage2(manta_body_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, 7),
gsSPVertex(&vtx_manta_Lwing1_1[0], 10, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 0, 3, 4, 0),
gsSP1Triangle( 1, 0, 4, 0),
gsSP1Triangle( 4, 3, 5, 0),
gsSP1Triangle( 5, 3, 6, 0),
gsSP1Triangle( 3, 7, 6, 0),
gsSP1Triangle( 7, 3, 0, 0),
gsSP1Triangle( 6, 7, 8, 0),
gsSP1Triangle( 9, 8, 7, 0),
gsSP1Triangle( 0, 9, 7, 0),
gsSP1Triangle( 2, 9, 0, 0),
gsSPEndDisplayList()
};
static Gfx gfx_manta_Lwing1_2[] = {
gsSPVertex(&vtx_manta_Lwing1_2[0], 9, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 2, 3, 4, 0),
gsSP1Triangle( 0, 2, 5, 0),
gsSP1Triangle( 2, 4, 5, 0),
gsSP1Triangle( 4, 3, 6, 0),
gsSP1Triangle( 7, 4, 6, 0),
gsSP1Triangle( 8, 4, 7, 0),
gsSP1Triangle( 5, 4, 8, 0),
gsSPEndDisplayList()
};
Gfx gfx_manta_Lwing1[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
gsSPClearGeometryMode(G_LIGHTING),
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_manta_Lwing1_0),
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_Lwing1_1),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(gfx_manta_Lwing1_2),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList()
};