50 lines
1.8 KiB
Plaintext
50 lines
1.8 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (bat_Rwing)
|
|
****************************************************************************************************/
|
|
static Vtx vtx_bat_Rwing_0[] = {
|
|
{ 265, 1, -132, 0, 990, 0, -1, -1, -1, 255},
|
|
{ 265, 1, 134, 0, 990, 990, -1, -1, -1, 255},
|
|
{ 0, 1, 134, 0, 0, 990, -1, -1, -1, 255},
|
|
{ 0, 1, -132, 0, 0, 0, -1, -1, -1, 255},
|
|
};
|
|
|
|
static Gfx gfx_bat_Rwing_0[] = {
|
|
gs_Tani_LoadTextureImage2(bat_wing_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
gsSPVertex(&vtx_bat_Rwing_0[0], 4, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 2, 3, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_bat_Rwing[] = {
|
|
gsDPPipeSync(),
|
|
|
|
gsDPSetCycleType(G_CYC_2CYCLE),
|
|
gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_TEX_EDGE2),
|
|
gsDPSetDepthSource(G_ZS_PIXEL),
|
|
gsDPSetFogColor(STAGE7_BAT_FOG_R, STAGE7_BAT_FOG_G, STAGE7_BAT_FOG_B, 255),
|
|
gsSPFogPosition(STAGE7_BAT_FOG_START, 1000),
|
|
gsSPSetGeometryMode(G_FOG),
|
|
|
|
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_PASS2),
|
|
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_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
|
|
|
|
gsSPDisplayList(gfx_bat_Rwing_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCycleType(G_CYC_1CYCLE),
|
|
gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE),
|
|
gsSPClearGeometryMode(G_FOG),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING|G_CULL_BACK),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|