Searched defs:ship (Results 1 – 11 of 11) sorted by relevance
/openbsd-src/games/sail/ |
H A D | sync.c | 62 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 D | game.c | 36 maxturns(struct ship *ship, char *af) in maxturns() 50 maxmove(struct ship *ship, int dir, int fs) in maxmove()
|
H A D | extern.h | 214 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 D | pl_7.c | 154 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 D | dr_3.c | 193 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 D | lo_main.c | 60 struct ship *ship; in lo_main() local
|
H A D | dr_2.c | 148 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 D | parties.c | 60 unboard(struct ship *ship, struct ship *to, int isdefense) in unboard()
|
H A D | pl_4.c | 114 eyeball(struct ship *ship) in eyeball()
|
H A D | assorted.c | 258 strike(struct ship *ship, struct ship *from) in strike()
|
/openbsd-src/games/trek/ |
H A D | trek.h | 222 char ship; /* current starship */ member
|