55 lines
2.1 KiB
Plaintext
55 lines
2.1 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (nes_eye)
|
|
****************************************************************************************************/
|
|
static Vtx vtx_nes_eye_0[] = {
|
|
{ 558, 286, 434, 0, 0, 0, -1, -1, -1, 255},
|
|
{ 544, 476, 403, 0, 479, 0, -1, -1, -1, 255},
|
|
{ 358, 472, 454, 0, 479, 479, -1, -1, -1, 255},
|
|
{ 371, 281, 485, 0, 0, 479, -1, -1, -1, 255},
|
|
{ 371, 281, -484, 0, 0, 479, -1, -1, -1, 255},
|
|
{ 358, 472, -453, 0, 479, 479, -1, -1, -1, 255},
|
|
{ 544, 476, -402, 0, 479, 0, -1, -1, -1, 255},
|
|
{ 558, 286, -433, 0, 0, 0, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Gfx gfx_nes_eye_0[] = {
|
|
gs_Tani_LoadTextureImage2(nes_eye_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, 7),
|
|
gsSPVertex(&vtx_nes_eye_0[0], 8, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 2, 3, 0),
|
|
gsSP1Triangle( 4, 5, 6, 0),
|
|
gsSP1Triangle( 4, 6, 7, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_nes_eye[] = {
|
|
gsDPPipeSync(),
|
|
|
|
gsDPSetCycleType(G_CYC_2CYCLE),
|
|
gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_TEX_EDGE2),
|
|
gsDPSetDepthSource(G_ZS_PIXEL),
|
|
gsDPSetFogColor(STAGE7_NESSY_FOG_R, STAGE7_NESSY_FOG_G, STAGE7_NESSY_FOG_B, 255),
|
|
gsSPFogPosition(STAGE7_NESSY_FOG_START, 1000),
|
|
gsSPSetGeometryMode(G_FOG),
|
|
|
|
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_PASS2),
|
|
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, 16, 16, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 4, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 4, G_TX_NOLOD),
|
|
|
|
gsSPDisplayList(gfx_nes_eye_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCycleType(G_CYC_1CYCLE),
|
|
gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE),
|
|
gsSPClearGeometryMode(G_FOG),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList()
|
|
};
|