Lines Matching refs:from
16 * may be used to endorse or promote products derived from this software
139 fightitout(struct ship *from, struct ship *to, int key)
149 menfrom = mensent(from, to, crewfrom, &fromcap, &pcfrom, key);
150 mento = mensent(to, from, crewto, &tocap, &pcto, 0);
152 fromcap = from;
157 if (fromcap == from)
158 menfrom = from->specs->crew1
159 + from->specs->crew2
160 + from->specs->crew3;
162 menfrom = from->file->pcrew;
189 unboard(to, from, 0);
190 subtract(from, fromcap, totalfrom, crewfrom, pcfrom);
192 makemsg(from, "boarders from %s repelled", to->shipname);
195 totalto, from->shipname, totalfrom);
200 unboard(from, to, 0);
201 subtract(from, fromcap, totalfrom, crewfrom, pcfrom);
204 if (fromcap != from)
207 from->file->struck
208 ? from->specs->pts
209 : 2 * from->specs->pts);
211 send_captured(from, to->file->index);
212 topoints = 2 * from->specs->pts + to->file->points;
213 if (from->file->struck)
214 topoints -= from->specs->pts;
219 subtract(from, to, - mento, crewfrom, 0);
223 send_signal(from, message);
226 totalto, from->shipname, totalfrom);