97 lines
3.9 KiB
Plaintext
97 lines
3.9 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (nn_ago)
|
|
****************************************************************************************************/
|
|
static Vtx vtx_nn_ago_0[] = {
|
|
{ 179, 42, 160, 0, -25, 134, -1, -1, -1, 255},
|
|
{ 0, 0, -164, 0, 224, 223, -1, -1, -1, 255},
|
|
{ 179, 42, -150, 0, 213, 134, -1, -1, -1, 255},
|
|
{ 429, 24, -89, 0, 166, 12, -1, -1, -1, 255},
|
|
{ 429, 24, 90, 0, 29, 12, -1, -1, -1, 255},
|
|
{ 521, 42, 0, 0, 98, -33, -1, -1, -1, 255},
|
|
{ 0, 0, 170, 0, 0, 223, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Vtx vtx_nn_ago_1[] = {
|
|
{ 0, 0, 170, 0, 670, 620, -1, -1, -1, 255},
|
|
{ 106, 210, 85, 0, 518, 1064, -1, -1, -1, 255},
|
|
{ -59, 157, 53, 0, 754, 954, -1, -1, -1, 255},
|
|
{ 368, 99, 0, 0, 148, 830, -1, -1, -1, 255},
|
|
{ 429, 24, -89, 0, 60, 670, -1, -1, -1, 255},
|
|
{ 179, 42, -150, 0, 416, 710, -1, -1, -1, 255},
|
|
{ 0, 0, -164, 0, 670, 620, -1, -1, -1, 255},
|
|
{ 106, 210, -84, 0, 518, 1064, -1, -1, -1, 255},
|
|
{ 265, 166, 0, 0, 294, 974, -1, -1, -1, 255},
|
|
{ -59, 157, -51, 0, 754, 954, -1, -1, -1, 255},
|
|
{ 521, 42, 0, 0, -68, 710, -1, -1, -1, 255},
|
|
{ 429, 24, 90, 0, 60, 670, -1, -1, -1, 255},
|
|
{ 179, 42, 160, 0, 416, 710, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Gfx gfx_nn_ago_0[] = {
|
|
gs_Tani_LoadTextureImage2(mouth_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 8, 0, 7),
|
|
gsSPVertex(&vtx_nn_ago_0[0], 7, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 2, 3, 4, 0),
|
|
gsSP1Triangle( 4, 0, 2, 0),
|
|
gsSP1Triangle( 3, 5, 4, 0),
|
|
gsSP1Triangle( 6, 1, 0, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
static Gfx gfx_nn_ago_1[] = {
|
|
gs_Tani_LoadTextureImage2(headpat_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_nn_ago_1[0], 13, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
gsSP1Triangle( 5, 6, 7, 0),
|
|
gsSP1Triangle( 7, 8, 5, 0),
|
|
gsSP1Triangle( 5, 8, 3, 0),
|
|
gsSP1Triangle( 9, 7, 6, 0),
|
|
gsSP1Triangle( 8, 7, 1, 0),
|
|
gsSP1Triangle( 1, 7, 9, 0),
|
|
gsSP1Triangle( 4, 3,10, 0),
|
|
gsSP1Triangle(10, 3,11, 0),
|
|
gsSP1Triangle(12,11, 3, 0),
|
|
gsSP1Triangle( 8,12, 3, 0),
|
|
gsSP1Triangle( 1, 9, 2, 0),
|
|
gsSP1Triangle(12, 8, 1, 0),
|
|
gsSP1Triangle( 1, 0,12, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_nn_ago[] = {
|
|
gsDPPipeSync(),
|
|
|
|
gsDPSetCycleType(G_CYC_2CYCLE),
|
|
gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
|
|
gsDPSetDepthSource(G_ZS_PIXEL),
|
|
gsDPSetFogColor(STAGE7_UTUBO_FOG_R, STAGE7_UTUBO_FOG_G, STAGE7_UTUBO_FOG_B, 255),
|
|
gsSPFogPosition(STAGE7_UTUBO_FOG_START, 1000),
|
|
gsSPSetGeometryMode(G_FOG),
|
|
|
|
gsDPSetCombineMode(G_CC_DECALRGB, 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, 8, 8, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 3, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 3, G_TX_NOLOD),
|
|
|
|
gsSPDisplayList(gfx_nn_ago_0),
|
|
|
|
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_nn_ago_1),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCycleType(G_CYC_1CYCLE),
|
|
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF),
|
|
gsSPClearGeometryMode(G_FOG),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|