60 lines
2.4 KiB
Plaintext
60 lines
2.4 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (manta_Lhige)
|
|
****************************************************************************************************/
|
|
#define SCALE 0.25
|
|
#define ShapeColor_manta_Lhige(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_Lhige_0[] = {
|
|
{ 172, -21, 42, 0, 862, -544, -1, -1, -1, 255},
|
|
{ 184, -11, 8, 0, 918, -60, -1, -1, -1, 255},
|
|
{ 102, 18, 2, 0, 544, 108, -1, -1, -1, 255},
|
|
{ 92, -11, 2, 0, 500, 116, -1, -1, -1, 255},
|
|
{ 92, -1, -23, 0, 500, 496, -1, -1, -1, 255},
|
|
{ 102, -1, 32, 0, 544, -330, -1, -1, -1, 255},
|
|
{ -15, -31, 32, 0, 8, -216, -1, -1, -1, 255},
|
|
{ -15, -31, -31, 0, 8, 718, -1, -1, -1, 255},
|
|
{ -15, 18, 32, 0, 8, -216, -1, -1, -1, 255},
|
|
{ -15, 18, -31, 0, 8, 718, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Gfx gfx_manta_Lhige_0[] = {
|
|
gs_Tani_LoadTextureImage2(manta_grdtion_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_manta_Lhige_0[0], 10, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 1, 0),
|
|
gsSP1Triangle( 1, 0, 3, 0),
|
|
gsSP1Triangle( 2, 1, 4, 0),
|
|
gsSP1Triangle( 3, 0, 5, 0),
|
|
gsSP1Triangle( 2, 5, 0, 0),
|
|
gsSP1Triangle( 6, 3, 5, 0),
|
|
gsSP1Triangle( 7, 4, 3, 0),
|
|
gsSP1Triangle( 3, 6, 7, 0),
|
|
gsSP1Triangle( 8, 5, 2, 0),
|
|
gsSP1Triangle( 5, 8, 6, 0),
|
|
gsSP1Triangle( 9, 2, 4, 0),
|
|
gsSP1Triangle( 4, 7, 9, 0),
|
|
gsSP1Triangle( 2, 9, 8, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_manta_Lhige[] = {
|
|
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_Lhige_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|