70 lines
2.6 KiB
Plaintext
70 lines
2.6 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (nn_body2)
|
|
****************************************************************************************************/
|
|
static Vtx vtx_nn_body2_0[] = {
|
|
{ -357, 0, 0, 0, -242, 452, -1, -1, -1, 255},
|
|
{ -253, 0, 118, 0, 0, 452, -1, -1, -1, 255},
|
|
{ -253, 160, 0, 0, 0, 22, -1, -1, -1, 255},
|
|
{ 245, 0, 99, 0, 994, 452, -1, -1, -1, 255},
|
|
{ 245, 151, 0, 0, 994, 46, -1, -1, -1, 255},
|
|
{ 245, 0, -89, 0, 994, 452, -1, -1, -1, 255},
|
|
{ -253, 0, -107, 0, 0, 452, -1, -1, -1, 255},
|
|
{ 316, 0, 0, 0, 1138, 452, -1, -1, -1, 255},
|
|
{ -253, -187, 0, 0, 0, 960, -1, -1, -1, 255},
|
|
{ 245, -173, 0, 0, 994, 920, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Gfx gfx_nn_body2_0[] = {
|
|
gs_Tani_LoadTextureImage2(bodypat_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_nn_body2_0[0], 10, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 2, 0),
|
|
gsSP1Triangle( 5, 6, 2, 0),
|
|
gsSP1Triangle( 2, 4, 5, 0),
|
|
gsSP1Triangle( 2, 1, 3, 0),
|
|
gsSP1Triangle( 2, 6, 0, 0),
|
|
gsSP1Triangle( 4, 3, 7, 0),
|
|
gsSP1Triangle( 5, 4, 7, 0),
|
|
gsSP1Triangle( 8, 5, 9, 0),
|
|
gsSP1Triangle( 8, 6, 5, 0),
|
|
gsSP1Triangle( 9, 5, 7, 0),
|
|
gsSP1Triangle( 0, 8, 1, 0),
|
|
gsSP1Triangle( 1, 8, 3, 0),
|
|
gsSP1Triangle( 8, 9, 3, 0),
|
|
gsSP1Triangle( 6, 8, 0, 0),
|
|
gsSP1Triangle( 3, 9, 7, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_nn_body2[] = {
|
|
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, 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_body2_0),
|
|
|
|
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()
|
|
};
|
|
|