Home | History | Annotate | Download | only in sail

Lines Matching defs:ship

46 extern bool randomize;			/* -x, give first available ship */
116 struct ship *toship;
151 struct ship *captured; /* 68 */
172 struct ship {
188 struct ship ship[NSHIP]; /* 16 */
216 extern struct ship *ls; /* &cc->ship[cc->vessels] */
218 #define SHIP(s) (&cc->ship[s])
219 #define foreachship(sp) for ((sp) = cc->ship; (sp) < ls; (sp)++)
259 void table(struct ship *, struct ship *, int, int, int, int);
260 void Cleansnag(struct ship *, struct ship *, int, int);
273 void closeon(struct ship *, struct ship *, char *, size_t, int, int, bool);
277 void sendbp(struct ship *, struct ship *, int, int);
278 int is_toughmelee(struct ship *, struct ship *, int, int);
283 void ungrap(struct ship *, struct ship *);
284 void grap(struct ship *, struct ship *);
287 void subtract(struct ship *, struct ship *, int, int [3], int);
288 int mensent(struct ship *, struct ship *, int[3], struct ship **, int *, int);
295 int maxturns(struct ship *, bool *);
296 int maxmove(struct ship *, int, int);
303 int range(struct ship *, struct ship *);
304 struct ship *closestenemy(struct ship *, int, int);
305 int gunsbear(struct ship *, struct ship *);
306 int portside(struct ship *, struct ship *, int);
307 int colours(struct ship *);
308 void logger(struct ship *);
311 int meleeing(struct ship *, struct ship *);
312 int boarding(struct ship *, int);
313 void unboard(struct ship *, struct ship *, int);
333 const char *saywhat(struct ship *, int);
334 void eyeball(struct ship *);
347 void Signal(const char *, struct ship *, ...) __printflike(1,3);
349 int sgetch(const char *, struct ship *, int);
364 void fmtship(char *, size_t, const char *, struct ship *);
365 void makesignal(struct ship *, const char *, struct ship *, ...)
367 void makemsg(struct ship *, const char *, ...) __printflike(2, 3);
373 void send_captain(struct ship *ship, const char *astr);
374 void send_captured(struct ship *ship, long a);
375 void send_class(struct ship *ship, long a);
376 void send_crew(struct ship *ship, long a, long b, long c);
377 void send_dbp(struct ship *ship, long a, long b, long c, long d);
378 void send_drift(struct ship *ship, long a);
379 void send_explode(struct ship *ship, long a);
380 void send_foul(struct ship *ship, long a);
381 void send_gunl(struct ship *ship, long a, long b);
382 void send_gunr(struct ship *ship, long a, long b);
383 void send_hull(struct ship *ship, long a);
384 void send_move(struct ship *ship, const char *astr);
385 void send_obp(struct ship *ship, long a, long b, long c, long d);
386 void send_pcrew(struct ship *ship, long a);
387 void send_unfoul(struct ship *ship, long a, long b);
388 void send_points(struct ship *ship, long a);
389 void send_qual(struct ship *ship, long a);
390 void send_ungrap(struct ship *ship, long a, long b);
391 void send_rigg(struct ship *ship, long a, long b, long c, long d);
392 void send_col(struct ship *ship, long a);
393 void send_dir(struct ship *ship, long a);
394 void send_row(struct ship *ship, long a);
395 void send_signal(struct ship *ship, const char *astr);
396 void send_sink(struct ship *ship, long a);
397 void send_struck(struct ship *ship, long a);
398 void send_ta(struct ship *ship, long a);
402 void send_fs(struct ship *ship, long a);
403 void send_grap(struct ship *ship, long a);
404 void send_rig1(struct ship *ship, long a);
405 void send_rig2(struct ship *ship, long a);
406 void send_rig3(struct ship *ship, long a);
407 void send_rig4(struct ship *ship, long a);
408 void send_begin(struct ship *ship);
409 void send_end(struct ship *ship);