86 lines
3.3 KiB
Plaintext
86 lines
3.3 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (omu_ita)
|
|
****************************************************************************************************/
|
|
#define omu_ita_AMB_SCALE 0.5
|
|
#define ShapeColor_omu_ita(R,G,B) {{R*omu_ita_AMB_SCALE ,G*omu_ita_AMB_SCALE ,B*omu_ita_AMB_SCALE ,0 ,R*omu_ita_AMB_SCALE ,G*omu_ita_AMB_SCALE ,B*omu_ita_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
|
|
|
|
static Lights1 light_omu_ita[] = {
|
|
ShapeColor_omu_ita(255,255,255),
|
|
ShapeColor_omu_ita(187,218,203),
|
|
};
|
|
|
|
static Vtx vtx_omu_ita_0[] = {
|
|
{ 438, 63, -205, 0, 0, 990, 16, -125, 0, 255},
|
|
{ 438, 63, 206, 0, 990, 990, 16, -125, 0, 255},
|
|
{ 146, 25, 206, 0, 990, 0, 16, -125, 0, 255},
|
|
{ 146, 25, -205, 0, 0, 0, 16, -125, 0, 255},
|
|
};
|
|
|
|
static Vtx vtx_omu_ita_1[] = {
|
|
{ 188, 61, 206, 0, 0, 0, -82, 96, 0, 255},
|
|
{ 188, 61, -205, 0, 0, 0, -82, 96, 0, 255},
|
|
{ 146, 25, -205, 0, 0, 0, -82, 96, 0, 255},
|
|
{ 188, 61, -205, 0, 0, 0, 0, 0, -127, 255},
|
|
{ 438, 63, -205, 0, 0, 0, 0, 0, -127, 255},
|
|
{ 146, 25, -205, 0, 0, 0, 0, 0, -127, 255},
|
|
{ 188, 61, 206, 0, 0, 0, -1, 126, 0, 255},
|
|
{ 438, 63, -205, 0, 0, 0, -1, 126, 0, 255},
|
|
{ 188, 61, -205, 0, 0, 0, -1, 126, 0, 255},
|
|
{ 438, 63, 206, 0, 0, 0, -1, 126, 0, 255},
|
|
{ 146, 25, 206, 0, 0, 0, -82, 96, 0, 255},
|
|
{ 438, 63, 206, 0, 0, 0, 0, 0, 127, 255},
|
|
{ 188, 61, 206, 0, 0, 0, 0, 0, 127, 255},
|
|
{ 146, 25, 206, 0, 0, 0, 0, 0, 127, 255},
|
|
};
|
|
|
|
static Gfx gfx_omu_ita_0[] = {
|
|
gs_Tani_LoadTextureImage2(jumpita_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
|
|
gsSPLight((&light_omu_ita[0].l[0]),1 ),
|
|
gsSPLight((&light_omu_ita[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_omu_ita_0[0], 4, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 2, 3, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
static Gfx gfx_omu_ita_1[] = {
|
|
|
|
gsSPLight((&light_omu_ita[1].l[0]),1 ),
|
|
gsSPLight((&light_omu_ita[1].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_omu_ita_1[0], 14, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
gsSP1Triangle( 6, 7, 8, 0),
|
|
gsSP1Triangle( 6, 9, 7, 0),
|
|
gsSP1Triangle( 0, 2,10, 0),
|
|
gsSP1Triangle(11,12,13, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_omu_ita[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
gsSPClearGeometryMode(G_SHADING_SMOOTH),
|
|
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_omu_ita_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPDisplayList(gfx_omu_ita_1),
|
|
|
|
gsSPSetGeometryMode(G_SHADING_SMOOTH),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|