Home
last modified time | relevance | path

Searched defs:ship (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/games/sail/
H A Dsync.c62 fmtship(char *buf, size_t len, const char *fmt, struct ship *ship) in fmtship()
87 makesignal(struct ship *from, const char *fmt, struct ship *ship, ...) in makesignal()
173 Write(int type, struct ship *ship, long a, long b, long c, long d) in Write()
187 Writestr(int type, struct ship *ship, const char *a) in Writestr()
301 sync_update(int type, struct ship *ship, const char *astr, long a, long b, in sync_update()
H A Dgame.c36 maxturns(struct ship *ship, char *af) in maxturns()
50 maxmove(struct ship *ship, int dir, int fs) in maxmove()
H A Dextern.h214 struct ship { struct
215 const char *shipname; /* 0 */ argument
216 struct shipspecs *specs; /* 2 */ argument
218 short shiprow; /* 6 */ argument
219 short shipcol; /* 8 */ argument
220 char shipdir; /* 10 */ argument
230 struct ship ship[NSHIP]; /* 16 */ member
H A Dpl_7.c154 Signal(char *fmt, struct ship *ship, ...) in Signal()
200 prompt(const char *p, struct ship *ship) in prompt()
220 sgetch(const char *p, struct ship *ship, int flag) in sgetch()
H A Ddr_3.c193 is_isolated(struct ship *ship) in is_isolated()
278 is_toughmelee(struct ship *ship, struct ship *to, int isdefense, int count) in is_toughmelee()
H A Dlo_main.c60 struct ship *ship; in lo_main() local
H A Ddr_2.c148 score(char movement[], size_t movementl, struct ship *ship, struct ship *to, in score()
180 move_ship(const char *p, struct ship *ship, unsigned char *dir, short *row, in move_ship()
H A Dparties.c60 unboard(struct ship *ship, struct ship *to, int isdefense) in unboard()
H A Dpl_4.c114 eyeball(struct ship *ship) in eyeball()
H A Dassorted.c258 strike(struct ship *ship, struct ship *from) in strike()
/openbsd-src/games/trek/
H A Dtrek.h222 char ship; /* current starship */ member