108 lines
4.4 KiB
Plaintext
108 lines
4.4 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (manta_Rwing1)
|
|
****************************************************************************************************/
|
|
#define SCALE 0.25
|
|
#define ShapeColor_manta_Rwing1(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_Rwing1_0[] = {
|
|
{ 0, 160, 0, 0, 0, 40, -1, -1, -1, 255},
|
|
{ 0, 120, -39, 0, 0, 626, -1, -1, -1, 255},
|
|
{ -89, 90, 0, 0, 376, 742, -1, -1, -1, 255},
|
|
{ 220, 124, 0, 0, 780, 656, -1, -1, -1, 255},
|
|
{ 220, 90, -19, 0, 780, 948, -1, -1, -1, 255},
|
|
{ 0, 120, -39, 0, 990, 626, -1, -1, -1, 255},
|
|
{ 0, 160, 0, 0, 990, 40, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Vtx vtx_manta_Rwing1_1[] = {
|
|
{ 244, 64, 0, 0, 840, 314, -1, -1, -1, 255},
|
|
{ 220, 124, 0, 0, 812, 242, -1, -1, -1, 255},
|
|
{ 220, 90, 20, 0, 812, 282, -1, -1, -1, 255},
|
|
{ -89, -139, 0, 0, 448, 556, -1, -1, -1, 255},
|
|
{ 0, 120, 30, 0, 552, 248, -1, -1, -1, 255},
|
|
{ -89, 90, 0, 0, 448, 282, -1, -1, -1, 255},
|
|
{ 0, 160, 0, 0, 552, 200, -1, -1, -1, 255},
|
|
{ 0, -179, 30, 0, 552, 604, -1, -1, -1, 255},
|
|
{ 0, -349, 0, 0, 552, 806, -1, -1, -1, 255},
|
|
{ 220, -227, 0, 0, 812, 660, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Vtx vtx_manta_Rwing1_2[] = {
|
|
{ 220, -227, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 220, 90, -19, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 244, 64, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 0, -349, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 0, -179, -39, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 0, 120, -39, 0, 0, 0, -58, -18, -19, 255},
|
|
{ -89, 90, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ -89, -139, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 220, 124, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
};
|
|
|
|
static Gfx gfx_manta_Rwing1_0[] = {
|
|
gs_Tani_LoadTextureImage2(manta_grdtion_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_manta_Rwing1_0[0], 7, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
gsSP1Triangle( 3, 5, 6, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
static Gfx gfx_manta_Rwing1_1[] = {
|
|
gs_Tani_LoadTextureImage2(manta_body_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, 7),
|
|
gsSPVertex(&vtx_manta_Rwing1_1[0], 10, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
gsSP1Triangle( 5, 4, 6, 0),
|
|
gsSP1Triangle( 6, 4, 2, 0),
|
|
gsSP1Triangle( 3, 7, 4, 0),
|
|
gsSP1Triangle( 2, 4, 7, 0),
|
|
gsSP1Triangle( 6, 2, 1, 0),
|
|
gsSP1Triangle( 8, 7, 3, 0),
|
|
gsSP1Triangle( 7, 8, 9, 0),
|
|
gsSP1Triangle( 7, 9, 2, 0),
|
|
gsSP1Triangle( 2, 9, 0, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
static Gfx gfx_manta_Rwing1_2[] = {
|
|
gsSPVertex(&vtx_manta_Rwing1_2[0], 9, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 0, 0),
|
|
gsSP1Triangle( 0, 4, 1, 0),
|
|
gsSP1Triangle( 4, 5, 1, 0),
|
|
gsSP1Triangle( 6, 5, 4, 0),
|
|
gsSP1Triangle( 6, 4, 7, 0),
|
|
gsSP1Triangle( 7, 4, 3, 0),
|
|
gsSP1Triangle( 1, 8, 2, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_manta_Rwing1[] = {
|
|
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_Rwing1_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_Rwing1_1),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPDisplayList(gfx_manta_Rwing1_2),
|
|
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|