79 lines
3.1 KiB
Plaintext
79 lines
3.1 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 Vtx vtx_manta_Lwing2_0[] = {
|
|
{ 0, -89, 20, 0, 804, 296, -1, -1, -1, 255},
|
|
{ 0, 228, 0, 0, 804, 674, -1, -1, -1, 255},
|
|
{ -31, -63, 0, 0, 768, 326, -1, -1, -1, 255},
|
|
{ 0, -123, 0, 0, 804, 254, -1, -1, -1, 255},
|
|
{ 180, -91, 10, 0, 1016, 292, -1, -1, -1, 255},
|
|
{ 180, -111, 0, 0, 1016, 268, -1, -1, -1, 255},
|
|
{ 180, 120, 0, 0, 1016, 544, -1, -1, -1, 255},
|
|
{ 186, -79, 0, 0, 1024, 306, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Vtx vtx_manta_Lwing2_1[] = {
|
|
{ 0, -89, -19, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 180, 120, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 180, -91, -9, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 0, -123, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 180, -111, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ -31, -63, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 0, 228, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 186, -79, 0, 0, 0, 0, -58, -18, -19, 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),
|
|
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[] = {
|
|
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_DECALRGB, G_CC_DECALRGB),
|
|
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, 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),
|
|
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|