63 lines
2.7 KiB
Plaintext
63 lines
2.7 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (fura_bira1)
|
|
****************************************************************************************************/
|
|
#define fura_bira1_AMB_SCALE 0.5
|
|
#define ShapeColor_fura_bira1(R,G,B) {{R*fura_bira1_AMB_SCALE ,G*fura_bira1_AMB_SCALE ,B*fura_bira1_AMB_SCALE ,0 ,R*fura_bira1_AMB_SCALE ,G*fura_bira1_AMB_SCALE ,B*fura_bira1_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
|
|
|
|
static Lights1 light_fura_bira1[] = {
|
|
ShapeColor_fura_bira1(255,255,255),
|
|
};
|
|
|
|
static Vtx vtx_fura_bira1_0[] = {
|
|
{ 28, -6, 21, 0, 474, 1104, 126, -3, 11, 255},
|
|
{ 42, -20, -134, 0, -192, 0, 126, -3, 11, 255},
|
|
{ 42, 98, -96, 0, 1152, 0, 126, -3, 11, 255},
|
|
{ 28, -21, 0, 0, 474, 1104, 126, -12, 0, 255},
|
|
{ 42, 122, -61, 0, -192, 0, 126, -12, 0, 255},
|
|
{ 42, 122, 63, 0, 1152, 0, 126, -12, 0, 255},
|
|
{ 28, -6, -20, 0, 474, 1104, 126, -3, -11, 255},
|
|
{ 42, 97, 97, 0, -192, 0, 126, -3, -11, 255},
|
|
{ 42, -21, 135, 0, 1152, 0, 126, -3, -11, 255},
|
|
{ 28, 18, -12, 0, 474, 1104, 126, 9, -7, 255},
|
|
{ 42, -61, 122, 0, -192, 0, 126, 9, -7, 255},
|
|
{ 42, -135, 21, 0, 1152, 0, 126, 9, -7, 255},
|
|
{ 28, 18, 13, 0, 474, 1104, 126, 10, 7, 255},
|
|
{ 42, -134, -21, 0, -192, 0, 126, 10, 7, 255},
|
|
{ 42, -61, -122, 0, 1152, 0, 126, 10, 7, 255},
|
|
};
|
|
|
|
static Gfx gfx_fura_bira1_0[] = {
|
|
gs_Tani_LoadTextureImage2(hana_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
|
|
gsSPClearGeometryMode( G_CULL_BACK ),
|
|
gsSPLight((&light_fura_bira1[0].l[0]),1 ),
|
|
gsSPLight((&light_fura_bira1[0].a ),2 ),
|
|
gsSPVertex(&vtx_fura_bira1_0[0], 15, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
gsSP1Triangle( 6, 7, 8, 0),
|
|
gsSP1Triangle( 9,10,11, 0),
|
|
gsSP1Triangle(12,13,14, 0),
|
|
gsSPSetGeometryMode( G_CULL_BACK ),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_fura_bira1[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
|
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_fura_bira1_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|