/src/games/sail/ |
game.c | 63 int riggone = 0, Move, flank = 0; 65 Move = ship->specs->bs; 76 Move = ship->specs->fs; 79 Move -= 1 + WET[windspeed][ship->specs->class-1].B; 82 Move -= 1 + WET[windspeed][ship->specs->class-1].C; 85 Move = (flank ? 2 : 1) - WET[windspeed][ship->specs->class-1].D; 87 Move = 0; 89 Move -= WET[windspeed][ship->specs->class-1].A; 90 Move -= riggone; 91 Move = Move < 0 ? 0 : Move [all...] |
/src/usr.bin/make/unit-tests/ |
hanoi-include.exp | 0 Move the upper disk from stack A to stack C. 2 Move the upper disk from stack A to stack B. 3 Move the upper disk from stack C to stack B. 4 Move the upper disk from stack A to stack C. 5 Move the upper disk from stack B to stack A. 6 Move the upper disk from stack B to stack C. 7 Move the upper disk from stack A to stack C. 8 Move the upper disk from stack A to stack B. 9 Move the upper disk from stack C to stack B. 10 Move the upper disk from stack C to stack A [all...] |
hanoi-include.mk | 20 N?= 5 # Move this number of disks ... 34 @echo "Move the upper disk from stack ${from} to stack ${to}." 43 @echo "Move the upper disk from stack ${from} to stack ${to}."
|
/src/games/trek/ |
rest.c | 77 Move.time = t; 81 if (Ship.cond != DOCKED && Move.time > t) 82 Move.time = t + 0.0001; 83 Move.free = 0; 84 Move.resting = 1;
|
play.c | 52 ** This routine executes moves. It sets up per-move variables, 55 ** attack if the move was not free, and checkcond() to check up 56 ** on how we are doing after the move. 102 Move.free = 1; 103 Move.time = 0.0; 104 Move.shldchg = 0; 105 Move.newquad = 0; 106 Move.resting = 0;
|
dumpme.c | 70 Move.time += x; 89 Move.time = 0;
|
impulse.c | 46 ** move under impulse power 87 Move.time = move(0, course, time, 0.095); 88 Ship.energy -= 20 + 100 * Move.time * 0.095;
|
externs.c | 111 struct Move_struct Move;
|
lose.c | 84 Move.endgame = -1;
|
attack.c | 49 ** (1) Something happened this move (i.e., not free), and 54 ** Klingons are permitted to move both before and after the 55 ** attack. They will tend to move toward you before the 87 if (Move.free) 93 /* move before attack */ 103 if (Move.shldchg) 128 if (Ship.shldup || Move.shldchg) { 170 Move.shldchg = 0; 189 /* allow Klingons to move after attacking */
|
events.c | 75 if (Move.time <= 0.0) { 87 if (Move.time > 0.5 && Move.resting) 95 xdate = idate + Move.time; 118 /* move us up to the next date */ 178 /* truncate the move time */ 179 Move.time = xdate - idate; 217 * some Klingons move in 412 if (!Move.resting) { 457 if (restcancel && Move.resting & [all...] |
capture.c | 85 Move.free = 0; 86 Move.time = 0.05;
|
shield.c | 57 ** This is not a free move. Hits that occur as a result of 58 ** this move appear as though the shields are half up/down, 139 Move.free = 0; 141 Move.shldchg = 1;
|
visual.c | 105 Move.time = 0.05; 106 Move.free = 0;
|
win.c | 70 Move.endgame = 1;
|
dumpgame.c | 66 { (char *)&Move, sizeof (Move) },
|
warp.c | 49 ** MOVE UNDER WARP POWER 51 ** This is both the "move" and the "ram" commands, differing 57 ** The guts of this routine are in the routine move(), which 112 /* compute the speed we will move at, and the time it will take */ 134 /* do the move */ 135 Move.time = move(fl, course, time, speed); 138 dist = Move.time * speed;
|
klmove.c | 45 ** Move Klingons Around 56 ** Basically, what it will try to do is to move a certain number 59 ** sector to move to on a per-Klingon basis; they are roughly 62 ** if you can move their. Dx and dy are the increment. Fudgex 90 if (ranf(i) >= Param.moveprob[2 * Move.newquad + fl]) 92 /* compute distance to move */ 94 motion *= k->avgdist * Param.movefac[2 * Move.newquad + fl]; 111 /* try to move the klingon */
|
move.c | 1 /* $NetBSD: move.c,v 1.11 2011/07/03 06:44:01 mrg Exp $ */ 35 static char sccsid[] = "@(#)move.c 8.1 (Berkeley) 5/31/93"; 37 __RCSID("$NetBSD: move.c,v 1.11 2011/07/03 06:44:01 mrg Exp $"); 47 ** Move Under Warp or Impulse Power 52 ** which we want to move. `Speed' is the speed we 55 ** cut short the move so that the user doesn't get docked time and 65 ** domize the course accordingly before ever starting to move. 66 ** We will still move in a straight line. 82 move(int ramflag, int course, double time, double speed) function in typeref:typename:double 97 printf("move: ramflag %d course %d time %.2f speed %.2f\n" [all...] |
dock.c | 141 Move.free = 0;
|
score.c | 94 if (Move.endgame > 0) {
|
initquad.c | 133 Move.newquad = 1;
|
torped.c | 212 Move.free = 0;
|
/src/sys/arch/amiga/stand/dumpfont/ |
fontdumper.c | 137 Move (&rp, 0, tf->tf_Baseline); 141 Move (&rp, NetBSDwidth - tf->tf_XSize, tf->tf_Baseline); 145 Move (&rp, rp.cp_x + (NetBSDwidth - tf->tf_XSize), rp.cp_y);
|
dumpfont.c | 60 Move (&rp, 0, 6);
|