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