43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (kura_face)
|
|
****************************************************************************************************/
|
|
static Vtx vtx_kura_face_0[] = {
|
|
{ 356, 121, -159, 0, 960, 4, -1, -1, -1, 255},
|
|
{ 356, -128, 150, 0, 28, 918, -1, -1, -1, 255},
|
|
{ 356, -128, -149, 0, 930, 918, -1, -1, -1, 255},
|
|
{ 356, 121, 160, 0, -2, 4, -1, -1, -1, 255},
|
|
{ 226, 1, 298, 0, -414, 442, -1, -1, -1, 255},
|
|
{ 226, 1, -297, 0, 1374, 442, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Gfx gfx_kura_face_0[] = {
|
|
gs_Tani_LoadTextureImage2(kura_eye_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_kura_face_0[0], 6, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 3, 1, 0),
|
|
gsSP1Triangle( 1, 3, 4, 0),
|
|
gsSP1Triangle( 5, 0, 2, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_kura_face[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_DECALRGB_ENVA, G_CC_DECALRGB_ENVA),
|
|
gsSPClearGeometryMode(G_LIGHTING),
|
|
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_kura_face_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|