Lines Matching refs:yVel
225 int newsprite, xVel, yVel, rx; in Explode() local
233 xVel = yVel = 0; in Explode()
237 while (yVel == 0) in Explode()
238 yVel = FastRandom(rx) - (rx / 2); in Explode()
239 if (yVel > 0) in Explode()
240 yVel += SCALE_FACTOR; in Explode()
242 yVel -= SCALE_FACTOR; in Explode()
245 gSprites[newsprite]=new Shrapnel(x, y, xVel, yVel, gShrapnel1); in Explode()
249 xVel = yVel = 0; in Explode()
254 while (yVel == 0) in Explode()
255 yVel = FastRandom(rx) - (rx / 2); in Explode()
256 if (yVel > 0) in Explode()
257 yVel += SCALE_FACTOR; in Explode()
259 yVel -= SCALE_FACTOR; in Explode()
262 gSprites[newsprite]=new Shrapnel(x, y, xVel, yVel, gShrapnel2); in Explode()