Home
last modified time | relevance | path

Searched refs:crewfrom (Results 1 – 2 of 2) sorted by relevance

/dragonfly/games/sail/
H A Ddr_5.c45 subtract(struct ship *from, struct ship *fromcap, int totalfrom, int *crewfrom, in subtract() argument
52 if (totalfrom > crewfrom[n]) { in subtract()
53 totalfrom -= crewfrom[n]; in subtract()
54 crewfrom[n] = 0; in subtract()
56 crewfrom[n] -= totalfrom; in subtract()
60 send_crew(from, crewfrom[0], crewfrom[1], crewfrom[2]); in subtract()
H A Ddr_1.c142 int crewfrom[3], crewto[3], menfrom, mento; in fightitout() local
149 menfrom = mensent(from, to, crewfrom, &fromcap, &pcfrom, key); in fightitout()
190 subtract(from, fromcap, totalfrom, crewfrom, pcfrom); in fightitout()
201 subtract(from, fromcap, totalfrom, crewfrom, pcfrom); in fightitout()
219 subtract(from, to, - mento, crewfrom, 0); in fightitout()