Lines Matching refs:random_fixed
38 random_fixed (int n)
188 t->top = random_fixed (MAX_DST_HEIGHT) - MAX_DST_HEIGHT / 2;
189 t->bottom = t->top + random_fixed (MAX_DST_HEIGHT);
190 t->left.p1.x = random_fixed (MAX_DST_WIDTH) - MAX_DST_WIDTH / 2;
191 t->left.p1.y = t->top - random_fixed (50);
192 t->left.p2.x = random_fixed (MAX_DST_WIDTH) - MAX_DST_WIDTH / 2;
193 t->left.p2.y = t->bottom + random_fixed (50);
194 t->right.p1.x = t->left.p1.x + random_fixed (MAX_DST_WIDTH);
195 t->right.p1.y = t->top - random_fixed (50);
196 t->right.p2.x = t->left.p2.x + random_fixed (MAX_DST_WIDTH);
197 t->right.p2.y = t->bottom - random_fixed (50);