/src/games/sail/ |
dr_5.c | 69 mensent(struct ship *from, struct ship *to, int crew[3], struct ship **captured, 71 { /* returns # of crew squares sent */ 79 crew[0] = from->specs->crew1; 80 crew[1] = from->specs->crew2; 81 crew[2] = from->specs->crew3; 88 c1 = men/100 ? crew[0] : 0; 89 c2 = (men%100)/10 ? crew[1] : 0; 90 c3 = men/10 ? crew[2] : 0; 91 c3 = *captured == 0 ? crew[2] : *pc;
|
dr_1.c | 76 int crew[3]; local in function:boardcomp 88 crew[0] = sp->specs->crew1 != 0; 89 crew[1] = sp->specs->crew2 != 0; 90 crew[2] = sp->specs->crew3 != 0; 101 if (crew[0]) { 103 sendbp(sp, sq, crew[0]*100, 0); 104 crew[0] = 0; 105 } else if (crew[1]) { 107 sendbp(sp, sq, crew[1]*10, 0); 108 crew[1] = 0 273 int crew[3], men = 0, target, temp; local in function:compcombat [all...] |
pl_3.c | 54 int crew[3]; local in function:acceptcombat 60 crew[0] = mc->crew1; 61 crew[1] = mc->crew2; 62 crew[2] = mc->crew3; 72 crew[0] = men/100 ? 0 : crew[0] != 0; 73 crew[1] = (men%100)/10 ? 0 : crew[1] != 0; 74 crew[2] = men%10 ? 0 : crew[2] != 0 [all...] |
assorted.c | 54 int crew[3]; local in function:table 62 crew[0] = on->specs->crew1; 63 crew[1] = on->specs->crew2; 64 crew[2] = on->specs->crew3; 89 if (chits > crew[n]) { 90 chits -= crew[n]; 91 crew[n] = 0; 93 crew[n] -= chits; 150 send_crew(on, crew[0], crew[1], crew[2]) [all...] |
/src/games/trek/ |
checkcond.c | 49 ** or running out of crew members. The check for running 76 if (Ship.crew <= 0)
|
ram.c | 93 Ship.crew -= i;
|
dock.c | 95 Ship.crew = Param.crew;
|
abandon.c | 52 ** Your crew can beam to an inhabited starsystem in the 88 /* decide on fate of crew */ 91 printf("Entire crew of %d left to die in outer space\n", 92 Ship.crew); 93 Game.deaths += Ship.crew; 95 printf("Crew beams down to planet %s\n", systemname(q));
|
destruct.c | 110 Game.deaths += Ship.crew;
|
trek.h | 225 int crew; /* ship's complement */ member in struct:Ship_struct 283 int crew; /* size of ship's complement */ member in struct:Param_struct 301 int klingcrew; /* number of Klingons in a crew */ 361 #define L_NOCREW 13 /* you ran out of crew */
|
attack.c | 185 Ship.crew -= cas;
|
srscan.c | 163 printf("current crew %d\n", Ship.crew);
|
setup.c | 132 Param.crew = Ship.crew = 387;
|