67 lines
4.1 KiB
Plaintext
67 lines
4.1 KiB
Plaintext
/********************************************************************************
|
|
RCP_HmsEffectSandColumn
|
|
[ Jan 12, 1996 ]
|
|
********************************************************************************/
|
|
|
|
/********************************************************************************/
|
|
/* Vertex data. */
|
|
/********************************************************************************/
|
|
static Vtx vtx_sand_dust[] = {
|
|
{ -8, -8, 0, 0, 0<<5, 15<<5, 255, 255, 255, 255 },
|
|
{ 8, -8, 0, 0, 15<<5, 15<<5, 255, 255, 255, 255 },
|
|
{ 8, 8, 0, 0, 15<<5, 0<<5, 255, 255, 255, 255 },
|
|
{ -8, 8, 0, 0, 0<<5, 0<<5, 255, 255, 255, 255 },
|
|
};
|
|
|
|
/********************************************************************************/
|
|
/* Texture data. */
|
|
/********************************************************************************/
|
|
static unsigned short sand_dust_txt[] = {
|
|
0xffb6, 0xff74, 0xff72, 0xff30, 0xff2e, 0xff2e, 0xfeee, 0xff2e, 0xff2e, 0xff2e, 0xff30, 0xff32, 0xff72, 0xff74, 0xffb6, 0xffb8,
|
|
0xff74, 0xff30, 0xff2e, 0xfeec, 0xfeea, 0xfeea, 0xfeea, 0xfeea, 0xfeea, 0xfeea, 0xfeec, 0xfeee, 0xff2e, 0xff32, 0xff74, 0xff76,
|
|
0xff32, 0xff2e, 0xfeea, 0xfea8, 0xfea8, 0xfea6, 0xfea7, 0xfea7, 0xfea6, 0xfea8, 0xfea8, 0xfeaa, 0xfeea, 0xfeec, 0xff30, 0xff74,
|
|
0xff30, 0xfeec, 0xfea8, 0xfea6, 0xfea6, 0xfe65, 0xfe63, 0xfe63, 0xfe63, 0xfe64, 0xfe64, 0xfe66, 0xfe65, 0xfe21, 0xfeea, 0xff30,
|
|
0xfeee, 0xfeaa, 0xfea6, 0xfe64, 0xfe63, 0xfe21, 0xfe21, 0xfe1f, 0xfe1f, 0xfe1f, 0xfe21, 0xfe22, 0xfddf, 0xfe21, 0xfe66, 0xfeee,
|
|
0xfeec, 0xfea8, 0xfe66, 0xfe64, 0xfe21, 0xfe21, 0xfe1f, 0xfe1f, 0xfddd, 0xfddd, 0xfddd, 0xfddf, 0xfe22, 0xfe22, 0xfe66, 0xfeec,
|
|
0xfeea, 0xfea6, 0xfe64, 0xfe23, 0xfe1f, 0xfddf, 0xfddf, 0xfddd, 0xfddd, 0xfd9b, 0xfd99, 0xfd9b, 0xfddf, 0xfe22, 0xfe66, 0xfeea,
|
|
0xfeea, 0xfea6, 0xfe64, 0xfe21, 0xfe1f, 0xfddd, 0xfddd, 0xfd9b, 0xfd59, 0xfd17, 0xfd17, 0xfd59, 0xfddd, 0xfe22, 0xfe66, 0xfeea,
|
|
0xfeec, 0xfea8, 0xfe64, 0xfe21, 0xfddd, 0xfd9b, 0xfd99, 0xfd17, 0xfcd3, 0xfcd3, 0xfd15, 0xfd59, 0xfdde, 0xfe22, 0xfe66, 0xfeec,
|
|
0xfeee, 0xfea8, 0xfe66, 0xfe23, 0xfddd, 0xfd99, 0xfd59, 0xfd15, 0xfd15, 0xfd17, 0xfd59, 0xfddd, 0xfdde, 0xfe22, 0xfe66, 0xfeec,
|
|
0xff30, 0xfeea, 0xfea6, 0xfe64, 0xfe21, 0xfddd, 0xfd9b, 0xfd9b, 0xfd59, 0xfd9b, 0xfd9b, 0xfdde, 0xfe20, 0xfe64, 0xfea8, 0xfeee,
|
|
0xff72, 0xff2e, 0xfeaa, 0xfe66, 0xfe62, 0xfe20, 0xfddf, 0xfddf, 0xfddf, 0xfdde, 0xfe20, 0xfe20, 0xfddd, 0xfe66, 0xfeea, 0xff30,
|
|
0xff74, 0xff30, 0xfeec, 0xfea8, 0xfe64, 0xfddf, 0xfddf, 0xfe20, 0xfe20, 0xfe22, 0xfe22, 0xfe22, 0xfddf, 0xfeaa, 0xfeee, 0xff32,
|
|
0xffb8, 0xff74, 0xff30, 0xfeec, 0xfe66, 0xfddf, 0xfddf, 0xfe22, 0xfe64, 0xfe66, 0xfea6, 0xfea8, 0xfeaa, 0xfeee, 0xff32, 0xff76,
|
|
0xffba, 0xffb8, 0xff74, 0xff30, 0xfeec, 0xfeaa, 0xfea8, 0xfea8, 0xfea8, 0xfeaa, 0xfeec, 0xfeee, 0xff30, 0xff72, 0xff76, 0xffb8,
|
|
0xfffc, 0xffba, 0xffb6, 0xff74, 0xff32, 0xff30, 0xff2e, 0xfeee, 0xfeee, 0xff30, 0xff30, 0xff72, 0xff74, 0xff76, 0xffb8, 0xffba,
|
|
};
|
|
|
|
/********************************************************************************/
|
|
/* Graphic display list. */
|
|
/********************************************************************************/
|
|
Gfx RCP_sand_dust[] = {
|
|
gsDPPipeSync(),
|
|
gsSPClearGeometryMode(G_LIGHTING),
|
|
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
|
|
gsDPLoadTextureBlock(sand_dust_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0,
|
|
G_TX_CLAMP|G_TX_NOMIRROR, G_TX_CLAMP|G_TX_NOMIRROR,
|
|
4, 4, G_TX_NOLOD, G_TX_NOLOD),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, G_TX_RENDERTILE, G_ON),
|
|
|
|
gsSPVertex(&vtx_sand_dust[0], 4, 0),
|
|
gsSP1Triangle(0, 1, 2, 0),
|
|
gsSP1Triangle(0, 2, 3, 0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, G_TX_RENDERTILE, G_OFF),
|
|
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|