Lines Matching defs:units
63 ** of units to fire, and the spread angle. In automatic
64 ** mode, you give only the total number of units to fire.
86 int units;
157 bank[i].units = 0;
161 printf("%d units available\n", Ship.energy);
167 hit = getintpar("units");
179 b->units = hit;
200 printf("%d units available\n", Ship.energy);
201 hit = getintpar("Units to fire");
230 b->units = ((n - i) / tot) * extra;
234 i, hitreqd[i], b->units,
238 extra -= b->units;
239 hit = b->units - hitreqd[i];
242 b->units -= hit;
250 hit = hitreqd[i] - b->units;
254 b->units += extra;
258 b->units = hitreqd[i];
262 printf("%d units overkill\n", extra);
271 printf("b%d u%d", i, b->units);
272 if (b->units > 0)
284 if (b->units <= 0) {
291 if (b->units <= 0)
313 ** hit is the number of units in the bank, and
327 distfactor *= b->units;
342 b->units -= hit;
353 extra += bank[i].units;
355 printf("\n%d units expended on empty space\n", extra);