Searched refs:boatx (Results 1 - 1 of 1) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestpalette.c142 int boatx[NBOATS], boaty[NBOATS], boatdir[NBOATS]; local
224 boatx[i] = (rand() % (SCRW + boat[0]->w)) - boat[0]->w;
251 int old_x = boatx[i];
253 boatx[i] += boatdir[i] * SPEED;
254 if(boatx[i] <= -boat[0]->w || boatx[i] >= SCRW)
266 updates[i].x = MIN(old_x, boatx[i]);
281 r.x = boatx[i];

Completed in 202 milliseconds