HomeSort by: relevance | last modified time | path
    Searched defs:rnd2 (Results 1 - 3 of 3) sorted by relevancy

  /src/games/atc/
update.c 350 unsigned num_starts, rnd, rnd2, i; local in function:addplane
371 while ((rnd2 = random() % num_starts) == rnd)
373 if (rnd2 < sp->num_exits) {
375 p.orig_no = rnd2;
376 p.xpos = sp->exit[rnd2].x;
377 p.ypos = sp->exit[rnd2].y;
378 p.new_dir = p.dir = sp->exit[rnd2].dir;
390 p.orig_no = rnd2 - sp->num_exits;
update.c 350 unsigned num_starts, rnd, rnd2, i; local in function:addplane
371 while ((rnd2 = random() % num_starts) == rnd)
373 if (rnd2 < sp->num_exits) {
375 p.orig_no = rnd2;
376 p.xpos = sp->exit[rnd2].x;
377 p.ypos = sp->exit[rnd2].y;
378 p.new_dir = p.dir = sp->exit[rnd2].dir;
390 p.orig_no = rnd2 - sp->num_exits;
update.c 350 unsigned num_starts, rnd, rnd2, i; local in function:addplane
371 while ((rnd2 = random() % num_starts) == rnd)
373 if (rnd2 < sp->num_exits) {
375 p.orig_no = rnd2;
376 p.xpos = sp->exit[rnd2].x;
377 p.ypos = sp->exit[rnd2].y;
378 p.new_dir = p.dir = sp->exit[rnd2].dir;
390 p.orig_no = rnd2 - sp->num_exits;

Completed in 30 milliseconds