98 lines
4.2 KiB
Plaintext
98 lines
4.2 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (manta_Lme)
|
|
****************************************************************************************************/
|
|
#define SCALE 0.25
|
|
#define ShapeColor_manta_Lme(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_Lme_0[] = {
|
|
{ 60, -1, 2, 0, 836, 436, -1, -1, -1, 255},
|
|
{ 51, -2, -29, 0, 718, 778, -1, -1, -1, 255},
|
|
{ 60, 42, -9, 0, 112, 436, -1, -1, -1, 255},
|
|
{ 12, 60, -29, 0, -108, 1004, -1, -1, -1, 255},
|
|
{ 51, 27, -37, 0, 274, 802, -1, -1, -1, 255},
|
|
{ 27, 26, -55, 0, 224, 1082, -1, -1, -1, 255},
|
|
{ 27, -14, -44, 0, 766, 1082, -1, -1, -1, 255},
|
|
{ 51, -2, -29, 0, 670, 802, -1, -1, -1, 255},
|
|
{ 12, -29, 3, 0, 1114, 962, -1, -1, -1, 255},
|
|
{ 12, 60, -29, 0, -270, 708, -1, -1, -1, 255},
|
|
{ 60, 42, -9, 0, 96, 416, -1, -1, -1, 255},
|
|
{ 51, 27, -37, 0, 208, 756, -1, -1, -1, 255},
|
|
{ 51, 27, -37, 0, 224, 778, -1, -1, -1, 255},
|
|
{ 12, -29, 3, 0, 1304, 626, -1, -1, -1, 255},
|
|
{ 51, -2, -29, 0, 750, 756, -1, -1, -1, 255},
|
|
{ 60, -1, 2, 0, 868, 416, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Vtx vtx_manta_Lme_1[] = {
|
|
{ 12, 60, -29, 0, 554, 584, -1, -1, -1, 255},
|
|
{ 33, 48, 23, 0, 648, -192, -1, -1, -1, 255},
|
|
{ 60, 42, -9, 0, 770, 280, -1, -1, -1, 255},
|
|
{ -23, 43, 8, 0, 394, 38, -1, -1, -1, 255},
|
|
{ -48, 25, -36, 0, 286, 704, -1, -1, -1, 255},
|
|
{ 27, 26, -55, 0, 622, 960, -1, -1, -1, 255},
|
|
{ 27, -14, -44, 0, 622, 794, -1, -1, -1, 255},
|
|
{ -60, -26, -28, 0, 232, 594, -1, -1, -1, 255},
|
|
{ -26, -8, 23, 0, 380, -172, -1, -1, -1, 255},
|
|
{ 12, -29, 3, 0, 554, 98, -1, -1, -1, 255},
|
|
{ 33, 7, 34, 0, 648, -358, -1, -1, -1, 255},
|
|
{ 60, -1, 2, 0, 770, 102, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Gfx gfx_manta_Lme_0[] = {
|
|
gs_Tani_LoadTextureImage2(me_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_manta_Lme_0[0], 16, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
gsSP1Triangle( 6, 5, 4, 0),
|
|
gsSP1Triangle( 7, 6, 4, 0),
|
|
gsSP1Triangle( 8, 6, 7, 0),
|
|
gsSP1Triangle( 9,10,11, 0),
|
|
gsSP1Triangle( 1,12, 2, 0),
|
|
gsSP1Triangle(13,14,15, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
static Gfx gfx_manta_Lme_1[] = {
|
|
gs_Tani_LoadTextureImage2(manta_grdtion_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_manta_Lme_1[0], 12, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 3, 1, 0),
|
|
gsSP1Triangle( 0, 4, 3, 0),
|
|
gsSP1Triangle( 0, 5, 4, 0),
|
|
gsSP1Triangle( 6, 7, 5, 0),
|
|
gsSP1Triangle( 7, 4, 5, 0),
|
|
gsSP1Triangle( 8, 3, 4, 0),
|
|
gsSP1Triangle( 7, 8, 4, 0),
|
|
gsSP1Triangle( 9, 7, 6, 0),
|
|
gsSP1Triangle( 9, 8, 7, 0),
|
|
gsSP1Triangle( 9,10, 8, 0),
|
|
gsSP1Triangle( 9,11,10, 0),
|
|
gsSP1Triangle( 8,10, 3, 0),
|
|
gsSP1Triangle(10, 1, 3, 0),
|
|
gsSP1Triangle(11, 2, 1, 0),
|
|
gsSP1Triangle(10,11, 1, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_manta_Lme[] = {
|
|
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, 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_Lme_0),
|
|
gsSPDisplayList(gfx_manta_Lme_1),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|