Home | History | Annotate | Download | only in test

Lines Matching defs:velocities

33 static SDL_Rect *velocities;
47 SDL_free(velocities);
197 velocity = &velocities[i];
322 velocities = (SDL_Rect *) SDL_malloc(num_sprites * sizeof(SDL_Rect));
323 if (!positions || !velocities) {
328 /* Position sprites and set their velocities using the fuzzer */
342 velocities[i].x = 0;
343 velocities[i].y = 0;
344 while (!velocities[i].x && !velocities[i].y) {
345 velocities[i].x = SDLTest_RandomIntegerInRange(-MAX_SPEED, MAX_SPEED);
346 velocities[i].y = SDLTest_RandomIntegerInRange(-MAX_SPEED, MAX_SPEED);