sm64/shape/enemy1_d/ubboo/nn_body4_shape.sou
2022-12-04 22:27:02 -05:00

70 lines
2.6 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (nn_body4)
****************************************************************************************************/
static Vtx vtx_nn_body4_0[] = {
{ -79, 0, 0, 0, -202, 452, -1, -1, -1, 255},
{ 0, 0, 90, 0, 0, 452, -1, -1, -1, 255},
{ 0, 146, 0, 0, 0, 60, -1, -1, -1, 255},
{ 476, 0, 57, 0, 990, 452, -1, -1, -1, 255},
{ 0, -159, 0, 0, 0, 882, -1, -1, -1, 255},
{ 0, 0, -79, 0, 0, 452, -1, -1, -1, 255},
{ 476, 0, -56, 0, 990, 452, -1, -1, -1, 255},
{ 476, -126, 0, 0, 990, 794, -1, -1, -1, 255},
{ 476, 132, 0, 0, 990, 98, -1, -1, -1, 255},
{ 528, 0, 0, 0, 1102, 452, -1, -1, -1, 255},
};
static Gfx gfx_nn_body4_0[] = {
gs_Tani_LoadTextureImage2(bodypat_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPVertex(&vtx_nn_body4_0[0], 10, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 2, 1, 3, 0),
gsSP1Triangle( 1, 4, 3, 0),
gsSP1Triangle( 0, 4, 1, 0),
gsSP1Triangle( 4, 5, 6, 0),
gsSP1Triangle( 4, 7, 3, 0),
gsSP1Triangle( 4, 6, 7, 0),
gsSP1Triangle( 5, 4, 0, 0),
gsSP1Triangle( 3, 8, 2, 0),
gsSP1Triangle( 3, 7, 9, 0),
gsSP1Triangle( 8, 3, 9, 0),
gsSP1Triangle( 2, 8, 6, 0),
gsSP1Triangle( 6, 8, 9, 0),
gsSP1Triangle( 7, 6, 9, 0),
gsSP1Triangle( 6, 5, 2, 0),
gsSP1Triangle( 2, 5, 0, 0),
gsSPEndDisplayList()
};
Gfx gfx_nn_body4[] = {
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_body4_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()
};