80 lines
3.3 KiB
Plaintext
80 lines
3.3 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (rabi_LfootA)
|
|
****************************************************************************************************/
|
|
#define rabi_LfootA_AMB_SCALE 0.4
|
|
#define ShapeColor_rabi_LfootA(R,G,B) {{R*rabi_LfootA_AMB_SCALE ,G*rabi_LfootA_AMB_SCALE ,B*rabi_LfootA_AMB_SCALE ,0 ,R*rabi_LfootA_AMB_SCALE ,G*rabi_LfootA_AMB_SCALE ,B*rabi_LfootA_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
|
|
|
|
static Lights1 light_rabi_LfootA[] = {
|
|
ShapeColor_rabi_LfootA(150,150, 0),
|
|
ShapeColor_rabi_LfootA(255,255,255),
|
|
};
|
|
|
|
static Vtx vtx_rabi_LfootA_0[] = {
|
|
{ 87, 0, 55, 0, 732, 2272, 45, 70, 95, 255},
|
|
{ 126, 0, 1, 0, 1082, 2254, 124, -25, 0, 255},
|
|
{ 87, 0, -52, 0, 732, 2272, 30, 102, -68, 255},
|
|
{ 0, 0, 41, 0, -58, 2302, -67, 63, 86, 255},
|
|
{ 0, 0, -35, 0, -58, 2302, -72, 23, -101, 255},
|
|
{ -19, -20, -3, 0, -238, 1860, -125, -16, -5, 255},
|
|
{ -19, -20, -3, 0, -238, 1860, -125, -16, -5, 255},
|
|
{ 0, -38, 28, 0, -54, 1464, -52, -105, 46, 255},
|
|
{ 0, 0, 41, 0, -58, 2302, -67, 63, 86, 255},
|
|
{ 0, -38, -22, 0, -54, 1464, -60, -92, -62, 255},
|
|
{ 0, 0, -35, 0, -58, 2302, -72, 23, -101, 255},
|
|
{ 89, -42, -18, 0, 750, 1340, 33, -106, -59, 255},
|
|
{ 89, -42, 21, 0, 750, 1340, 43, -95, 71, 255},
|
|
{ 87, 0, 55, 0, 732, 2272, 45, 70, 95, 255},
|
|
{ 87, 0, -52, 0, 732, 2272, 30, 102, -68, 255},
|
|
{ 126, 0, 1, 0, 1082, 2254, 124, -25, 0, 255},
|
|
};
|
|
|
|
static Gfx gfx_rabi_LfootA_0[] = {
|
|
gs_Tani_LoadTextureImage2(rabi_face_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
|
|
gsSPLight((&light_rabi_LfootA[0].l[0]),1 ),
|
|
gsSPLight((&light_rabi_LfootA[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_rabi_LfootA_0[0], 6, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 2, 3, 0, 0),
|
|
gsSP1Triangle( 2, 4, 3, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
|
|
gsSPLight((&light_rabi_LfootA[1].l[0]),1 ),
|
|
gsSPLight((&light_rabi_LfootA[1].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_rabi_LfootA_0[6], 10, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 1, 0, 0),
|
|
gsSP1Triangle( 0, 4, 3, 0),
|
|
gsSP1Triangle( 5, 6, 1, 0),
|
|
gsSP1Triangle( 1, 3, 5, 0),
|
|
gsSP1Triangle( 2, 1, 6, 0),
|
|
gsSP1Triangle( 6, 7, 2, 0),
|
|
gsSP1Triangle( 5, 3, 4, 0),
|
|
gsSP1Triangle( 4, 8, 5, 0),
|
|
gsSP1Triangle( 8, 9, 5, 0),
|
|
gsSP1Triangle( 9, 6, 5, 0),
|
|
gsSP1Triangle( 9, 7, 6, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_rabi_LfootA[] = {
|
|
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_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
|
|
|
|
gsSPDisplayList(gfx_rabi_LfootA_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|