sm64/shape/enemy2_h/walker/W_legA1_shape.sou
2022-12-04 22:27:02 -05:00

39 lines
1.4 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (W_legA1)
****************************************************************************************************/
static Vtx vtx_W_legA1_0[] = {
{ -21, 37, 0, 0, -584, -4238, -1, -1, -1, 255},
{ 191, 18, 0, 0, 28, 892, -1, -1, -1, 255},
{ 193, -19, 0, 0, 988, 958, -1, -1, -1, 255},
{ -16, -25, 0, 0, 982, -4136, -1, -1, -1, 255},
};
static Gfx gfx_W_legA1_0[] = {
gs_Tani_LoadTextureImage2(spider_leg_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPVertex(&vtx_W_legA1_0[0], 4, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 0, 2, 0),
gsSPEndDisplayList()
};
Gfx gfx_W_legA1[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
gsSPClearGeometryMode(G_LIGHTING|G_CULL_BACK),
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_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
gsSPDisplayList(gfx_W_legA1_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING|G_CULL_BACK),
gsSPEndDisplayList()
};