130 u_char size[5] = {250, 60, 40, 20, 20};
132 for (i = 0; i < 5; i++) {
133 set2DSprite(GetVif1Packet(), TexManager.GetTexture(
"pat01", -1),
CRect<int>((
int)
x[i], (
int) (
y[i] - 16.0f), 64, 64),
CRect<int>(0, 0, 64, 64), (u_char) CFade.
Get(rand() % size[i]));
136 set2DSprite(GetVif1Packet(), TexManager.GetTexture(
"pat02", -1),
CRect<int>((
int) (8.0f + (
x[0] - (
float) (rand() % 8))), (
int) (
y[0] + (
float) (rand() % 16)), 16, 16),
CRect<int>(0, 0, 32, 32), (u_char) CFade.
Get(rand() % 128));
138 set2DSprite(GetVif1Packet(), TexManager.GetTexture(
"pat02", -1),
CRect<int>((
int) (8.0f + (
x[0] - (
float) (rand() % 16))), (
int) (
y[0] + (
float) (rand() % 24) - 6.0f), 16, 16),
CRect<int>(0, 0, 32, 32), (u_char) CFade.
Get(rand() % 128));
141 u_char alpha[11] = {90, 80, 70, 60, 50, 40, 30, 20, 20, 10, 10};
143 for (i = 1; i < 12; i++) {
144 set2DSprite(GetVif1Packet(), TexManager.GetTexture(
"pat02", -1),
CRect<int>((
int) (8.0f + (
x[i] - (
float) (rand() % 8))), (
int) (4.0f + (
y[i] + (
float) (rand() % 16))), 8, 8),
CRect<int>(0, 0, 32, 32), (u_char) CFade.
Get(alpha[i]));