sm64/shape/enemy1_g/furafura/fura_eye_shape.sou
2022-12-04 22:27:02 -05:00

39 lines
1.4 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (fura_eye)
****************************************************************************************************/
static Vtx vtx_fura_eye_0[] = {
{ 27, -112, -47, 0, -36, 520, -1, -1, -1, 255},
{ 27, -112, 48, 0, 990, 520, -1, -1, -1, 255},
{ -32, -112, -47, 0, -36, 0, -1, -1, -1, 255},
{ -32, -112, 48, 0, 990, 0, -1, -1, -1, 255},
};
static Gfx gfx_fura_eye_0[] = {
gs_Tani_LoadTextureImage2(eye_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPVertex(&vtx_fura_eye_0[0], 4, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 2, 1, 3, 0),
gsSPEndDisplayList()
};
Gfx gfx_fura_eye[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
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_fura_eye_0),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList()
};