69 lines
2.6 KiB
Plaintext
69 lines
2.6 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (manta_Rwing3)
|
|
****************************************************************************************************/
|
|
#define SCALE 0.25
|
|
#define ShapeColor_manta_Rwing3(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_Rwing3_0[] = {
|
|
{ 0, 90, 10, 0, 1024, 298, -1, -1, -1, 255},
|
|
{ 0, 110, 0, 0, 1024, 274, -1, -1, -1, 255},
|
|
{ -7, 78, 0, 0, 1012, 312, -1, -1, -1, 255},
|
|
{ 167, 106, 0, 0, 1220, 280, -1, -1, -1, 255},
|
|
{ 180, 18, 0, 0, 1236, 384, -1, -1, -1, 255},
|
|
{ 0, -121, 0, 0, 1024, 550, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Vtx vtx_manta_Rwing3_1[] = {
|
|
{ 0, 90, -9, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 180, 18, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 0, -121, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 167, 106, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ 0, 110, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
{ -7, 78, 0, 0, 0, 0, -58, -18, -19, 255},
|
|
};
|
|
|
|
static Gfx gfx_manta_Rwing3_0[] = {
|
|
gs_Tani_LoadTextureImage2(manta_body_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, 7),
|
|
gsSPVertex(&vtx_manta_Rwing3_0[0], 6, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 0, 4, 0),
|
|
gsSP1Triangle( 1, 0, 3, 0),
|
|
gsSP1Triangle( 4, 0, 5, 0),
|
|
gsSP1Triangle( 2, 5, 0, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
static Gfx gfx_manta_Rwing3_1[] = {
|
|
gsSPVertex(&vtx_manta_Rwing3_1[0], 6, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 1, 0, 0),
|
|
gsSP1Triangle( 3, 0, 4, 0),
|
|
gsSP1Triangle( 0, 2, 5, 0),
|
|
gsSP1Triangle( 5, 4, 0, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_manta_Rwing3[] = {
|
|
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, 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_Rwing3_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPDisplayList(gfx_manta_Rwing3_1),
|
|
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|