Lines Matching refs:xv
72 short *xv;
73 short *yv; /* bee velocities xv[bee#] */
111 sp->xv = (short *) malloc(sizeof(short) * sp->beecount);
130 sp->xv[b] = RAND(7);
178 sp->xv[random() % sp->beecount] += RAND(3);
198 sp->xv[b] += (dx * BEEACC) / distance;
202 if (sp->xv[b] > BEEVEL)
203 sp->xv[b] = BEEVEL;
204 if (sp->xv[b] < -BEEVEL)
205 sp->xv[b] = -BEEVEL;
212 X(0, b) = X(1, b) + sp->xv[b];