140 lines
6.2 KiB
Plaintext
140 lines
6.2 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (noko_foot1)
|
|
****************************************************************************************************/
|
|
#define NOKO_FOOT1_AMB_SCALE 0.5
|
|
#define ShapeColor_noko_foot1(R,G,B) {{R*NOKO_FOOT1_AMB_SCALE ,G*NOKO_FOOT1_AMB_SCALE ,B*NOKO_FOOT1_AMB_SCALE ,0 ,R*NOKO_FOOT1_AMB_SCALE ,G*NOKO_FOOT1_AMB_SCALE ,B*NOKO_FOOT1_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
|
|
|
|
static Lights1 light_noko_foot1[] = {
|
|
ShapeColor_noko_foot1(255,255,255),
|
|
ShapeColor_noko_foot1( 0,200, 0),
|
|
};
|
|
|
|
static Vtx vtx_noko_foot1_0[] = {
|
|
{ 1*2.55, 2*2.55, 12*2.55, 0, 2880, 262, -57, 30, 109, 255},
|
|
{ 0*2.55, -18*2.55, 17*2.55, 0, 1052, 144, -41, -41, 112, 255},
|
|
{ 11*2.55, -18*2.55, 17*2.55, 0, 1040, 916, 89, -9, 89, 255},
|
|
{ 11*2.55, -29*2.55, 8*2.55, 0, 140, 922, 43, -98, 67, 255},
|
|
{ 1*2.55, -29*2.55, 8*2.55, 0, 134, 272, -46, -113, 32, 255},
|
|
{ 11*2.55, -29*2.55, -10*2.55, 0, 140, 922, 74, -98, -28, 255},
|
|
{ 11*2.55, 3*2.55, 15*2.55, 0, 2916, 906, 78, 43, 89, 255},
|
|
{ 1*2.55, -29*2.55, -10*2.55, 0, 134, 272, -39, -102, -64, 255},
|
|
{ 11*2.55, -18*2.55, -19*2.55, 0, 1040, 916, 90, -35, -81, 255},
|
|
{ 0*2.55, -18*2.55, -18*2.55, 0, 1052, 144, -59, -12, -111, 255},
|
|
{ 11*2.55, 3*2.55, -17*2.55, 0, 2916, 906, 78, 33, -93, 255},
|
|
{ 1*2.55, 2*2.55, -13*2.55, 0, 2880, 262, -56, 51, -101, 255},
|
|
{ 0*2.55, 16*2.55, -4*2.55, 0, 4032, 248, -56, 103, -47, 255},
|
|
{ 11*2.55, 16*2.55, -6*2.55, 0, 4040, 898, 23, 100, -73, 255},
|
|
{ 11*2.55, 16*2.55, 5*2.55, 0, 4040, 898, 69, 101, 30, 255},
|
|
{ 0*2.55, 16*2.55, 2*2.55, 0, 4032, 248, -79, 82, 55, 255},
|
|
};
|
|
|
|
static Vtx vtx_noko_foot1_1[] = {
|
|
{ 11*2.55, 3*2.55, 15*2.55, 0, 938, 710, 78, 43, 89, 255},
|
|
{ 11*2.55, -18*2.55, -19*2.55, 0, -52, 240, 90, -35, -81, 255},
|
|
{ 11*2.55, 3*2.55, -17*2.55, 0, 14, 710, 78, 33, -93, 255},
|
|
{ 11*2.55, 16*2.55, -6*2.55, 0, 304, 990, 23, 100, -73, 255},
|
|
{ 11*2.55, 16*2.55, 5*2.55, 0, 650, 990, 69, 101, 30, 255},
|
|
{ 11*2.55, -18*2.55, 17*2.55, 0, 1008, 240, 89, -9, 89, 255},
|
|
{ 11*2.55, -29*2.55, -10*2.55, 0, 212, 16, 74, -98, -28, 255},
|
|
{ 11*2.55, -29*2.55, 8*2.55, 0, 742, 16, 43, -98, 67, 255},
|
|
};
|
|
|
|
static Vtx vtx_noko_foot1_2[] = {
|
|
{ 0*2.55, 16*2.55, 2*2.55, 0, 0, 0, -79, 82, 55, 255},
|
|
{ 0*2.55, 16*2.55, -4*2.55, 0, 0, 0, -56, 103, -47, 255},
|
|
{ -9*2.55, -8*2.55, -8*2.55, 0, 0, 0, -112, 34, -47, 255},
|
|
{ -9*2.55, -8*2.55, 6*2.55, 0, 0, 0, -116, 28, 42, 255},
|
|
{ 1*2.55, 2*2.55, 12*2.55, 0, 0, 0, -57, 30, 109, 255},
|
|
{ 1*2.55, 2*2.55, -13*2.55, 0, 0, 0, -56, 51, -101, 255},
|
|
{ -11*2.55, -19*2.55, -6*2.55, 0, 0, 0, -115, -41, -32, 255},
|
|
{ 0*2.55, -18*2.55, -18*2.55, 0, 0, 0, -59, -12, -111, 255},
|
|
{ -11*2.55, -19*2.55, 4*2.55, 0, 0, 0, -105, -30, 63, 255},
|
|
{ 0*2.55, -18*2.55, 17*2.55, 0, 0, 0, -41, -41, 112, 255},
|
|
{ 1*2.55, -29*2.55, -10*2.55, 0, 0, 0, -39, -102, -64, 255},
|
|
{ 1*2.55, -29*2.55, 8*2.55, 0, 0, 0, -46, -113, 32, 255},
|
|
};
|
|
|
|
static Gfx gfx_noko_foot1_0[] = {
|
|
gs_Tani_LoadTextureImage2(noko_kutu1_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
|
|
gsSPLight((&light_noko_foot1[0].l[0]),1 ),
|
|
gsSPLight((&light_noko_foot1[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_noko_foot1_0[0], 16, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 1, 3, 2, 0),
|
|
gsSP1Triangle( 1, 4, 3, 0),
|
|
gsSP1Triangle( 4, 5, 3, 0),
|
|
gsSP1Triangle( 0, 2, 6, 0),
|
|
gsSP1Triangle( 4, 7, 5, 0),
|
|
gsSP1Triangle( 8, 5, 7, 0),
|
|
gsSP1Triangle( 8, 7, 9, 0),
|
|
gsSP1Triangle( 9,10, 8, 0),
|
|
gsSP1Triangle( 9,11,10, 0),
|
|
gsSP1Triangle(11,12,13, 0),
|
|
gsSP1Triangle(11,13,10, 0),
|
|
gsSP1Triangle(12,14,13, 0),
|
|
gsSP1Triangle(12,15,14, 0),
|
|
gsSP1Triangle( 6,14,15, 0),
|
|
gsSP1Triangle( 6,15, 0, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
static Gfx gfx_noko_foot1_1[] = {
|
|
gs_Tani_LoadTextureImage2(noko_kutu2_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_noko_foot1_1[0], 8, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 2, 3, 4, 0),
|
|
gsSP1Triangle( 2, 4, 0, 0),
|
|
gsSP1Triangle( 0, 5, 1, 0),
|
|
gsSP1Triangle( 5, 6, 1, 0),
|
|
gsSP1Triangle( 5, 7, 6, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
static Gfx gfx_noko_foot1_2[] = {
|
|
|
|
gsSPLight((&light_noko_foot1[1].l[0]),1 ),
|
|
gsSPLight((&light_noko_foot1[1].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_noko_foot1_2[0], 12, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 2, 3, 0),
|
|
gsSP1Triangle( 3, 4, 0, 0),
|
|
gsSP1Triangle( 1, 5, 2, 0),
|
|
gsSP1Triangle( 3, 2, 6, 0),
|
|
gsSP1Triangle( 7, 6, 2, 0),
|
|
gsSP1Triangle( 7, 2, 5, 0),
|
|
gsSP1Triangle( 3, 6, 8, 0),
|
|
gsSP1Triangle( 4, 3, 8, 0),
|
|
gsSP1Triangle( 4, 8, 9, 0),
|
|
gsSP1Triangle( 6,10,11, 0),
|
|
gsSP1Triangle( 7,10, 6, 0),
|
|
gsSP1Triangle( 6,11, 8, 0),
|
|
gsSP1Triangle( 8,11, 9, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_noko_foot1[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
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_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
|
|
|
|
gsSPDisplayList(gfx_noko_foot1_0),
|
|
gsSPDisplayList(gfx_noko_foot1_1),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPDisplayList(gfx_noko_foot1_2),
|
|
|
|
gsSPEndDisplayList()
|
|
};
|
|
|