50 lines
1.8 KiB
Plaintext
50 lines
1.8 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (tori_Lwing1)
|
|
****************************************************************************************************/
|
|
#define SCALE 0.25
|
|
#define ShapeColor_tori_Lwing1(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 Lights1 light_tori_Lwing1[] = {
|
|
ShapeColor_tori_Lwing1(255,255,255),
|
|
};
|
|
|
|
static Vtx vtx_tori_Lwing1_0[] = {
|
|
{ -2, -13, 0, 0, 1992, 528, 0, 0, -127, 255},
|
|
{ -2, 14, 0, 0, 1992, 272, 0, 0, -127, 255},
|
|
{ 34, 24, 0, 0, 1640, 176, 0, 0, -127, 255},
|
|
{ 34, -33, 0, 0, 1640, 722, 0, 0, -127, 255},
|
|
};
|
|
|
|
static Gfx gfx_tori_Lwing1_0[] = {
|
|
gs_Tani_LoadTextureImage2(hane_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, 7),
|
|
|
|
gsSPLight((&light_tori_Lwing1[0].l[0]),1 ),
|
|
gsSPLight((&light_tori_Lwing1[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_tori_Lwing1_0[0], 4, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 2, 3, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_tori_Lwing1[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
|
gsSPClearGeometryMode(G_CULL_BACK),
|
|
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, 64, 32, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
|
|
|
|
gsSPDisplayList(gfx_tori_Lwing1_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_CULL_BACK),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|