39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (face9)
|
|
****************************************************************************************************/
|
|
static Vtx vtx_face9_0[] = {
|
|
{ 344, 0, 224, 0, 1014, 846, -1, -1, -1, 255},
|
|
{ 344, 0, -223, 0, 1014, 172, -1, -1, -1, 255},
|
|
{ 0, 0, 360, 0, 676, 1048, -1, -1, -1, 255},
|
|
{ 0, 0, -359, 0, 676, 0, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Gfx gfx_face9_0[] = {
|
|
gs_Tani_LoadTextureImage2(mark_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_face9_0[0], 4, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 1, 3, 2, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_face9[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_DECALRGB, G_CC_DECALRGB),
|
|
gsSPClearGeometryMode(G_LIGHTING|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, 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_face9_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING|G_CULL_BACK),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|