Symbol: ship
games/sail/assorted.c
249
Cleansnag(struct ship *from, struct ship *to, int all, int flag)
games/sail/assorted.c
274
strike(struct ship *ship, struct ship *from)
games/sail/assorted.c
278
if (ship->file->struck)
games/sail/assorted.c
280
send_struck(ship, 1);
games/sail/assorted.c
281
points = ship->specs->pts + from->file->points;
games/sail/assorted.c
283
unboard(ship, ship, 0); /* all offense */
games/sail/assorted.c
284
unboard(ship, ship, 1); /* all defense */
games/sail/assorted.c
288
send_sink(ship, 1);
games/sail/assorted.c
292
send_explode(ship, 1);
games/sail/assorted.c
295
send_signal(ship, "striking her colours!");
games/sail/assorted.c
45
static void strike(struct ship *, struct ship *);
games/sail/assorted.c
48
table(struct ship *from, struct ship *on,
games/sail/dr_1.c
139
fightitout(struct ship *from, struct ship *to, int key)
games/sail/dr_1.c
141
struct ship *fromcap, *tocap;
games/sail/dr_1.c
239
struct ship *sp, *sq;
games/sail/dr_1.c
271
struct ship *sp;
games/sail/dr_1.c
272
struct ship *closest;
games/sail/dr_1.c
412
struct ship *s;
games/sail/dr_1.c
413
struct ship *bestship = NULL;
games/sail/dr_1.c
48
static int fightitout(struct ship *, struct ship *, int);
games/sail/dr_1.c
53
struct ship *sp;
games/sail/dr_1.c
54
struct ship *to;
games/sail/dr_1.c
77
struct ship *sp, *sq;
games/sail/dr_2.c
134
struct ship *sp;
games/sail/dr_2.c
163
closeon(struct ship *from, struct ship *to, char *command, size_t commandmax,
games/sail/dr_2.c
176
score(struct ship *ship, struct ship *to, char *movement, size_t movementmax,
games/sail/dr_2.c
181
struct File *fp = ship->file;
games/sail/dr_2.c
188
move_ship(ship, movement, &fp->dir, &fp->row, &fp->col, &drift);
games/sail/dr_2.c
192
ran = range(ship, to);
games/sail/dr_2.c
194
if (ran < 4 && gunsbear(ship, to))
games/sail/dr_2.c
196
if ((ran = portside(ship, to, 1) - fp->dir) == 4 || ran == -4)
games/sail/dr_2.c
208
move_ship(struct ship *ship, const char *p, unsigned char *dir,
games/sail/dr_2.c
238
if ((ship->specs->class >= 3 && !snagged(ship))
games/sail/dr_2.c
249
try(struct ship *f, struct ship *t,
games/sail/dr_2.c
51
static int score(struct ship *, struct ship *, char *, size_t, int);
games/sail/dr_2.c
52
static void move_ship(struct ship *, const char *, unsigned char *,
games/sail/dr_2.c
54
static void try(struct ship *f, struct ship *t,
games/sail/dr_2.c
65
struct ship *sp, *sq;
games/sail/dr_2.c
96
struct ship *sp, *sq;
games/sail/dr_3.c
193
struct ship *sp;
games/sail/dr_3.c
202
is_isolated(struct ship *ship)
games/sail/dr_3.c
204
struct ship *sp;
games/sail/dr_3.c
207
if (ship != sp && range(ship, sp) <= 10)
games/sail/dr_3.c
214
push(struct ship *from, struct ship *to)
games/sail/dr_3.c
228
step(struct ship *sp, int com, char *moved)
games/sail/dr_3.c
269
sendbp(struct ship *from, struct ship *to, int sections, int isdefense)
games/sail/dr_3.c
291
is_toughmelee(struct ship *ship, struct ship *to, int isdefense, int count)
games/sail/dr_3.c
298
qual = ship->specs->qual;
games/sail/dr_3.c
299
bp = isdefense ? ship->file->DBP : ship->file->OBP;
games/sail/dr_3.c
303
? ship->specs->crew1 * qual : 0;
games/sail/dr_3.c
305
? ship->specs->crew2 * qual : 0;
games/sail/dr_3.c
307
? ship->specs->crew3 * qual : 0;
games/sail/dr_3.c
312
OBP = is_toughmelee(to, ship, 0, count + 1);
games/sail/dr_3.c
313
dbp = is_toughmelee(ship, to, 1, count + 1);
games/sail/dr_3.c
314
DBP = is_toughmelee(to, ship, 1, count + 1);
games/sail/dr_3.c
324
struct ship *sp;
games/sail/dr_3.c
334
struct ship *sp;
games/sail/dr_3.c
336
struct ship *close;
games/sail/dr_3.c
47
static int is_isolated(struct ship *);
games/sail/dr_3.c
48
static int push(struct ship *, struct ship *);
games/sail/dr_3.c
49
static void step(struct ship *, int, char *);
games/sail/dr_3.c
55
struct ship *sp, *sq;
games/sail/dr_3.c
65
struct ship *closest;
games/sail/dr_4.c
45
ungrap(struct ship *from, struct ship *to)
games/sail/dr_4.c
62
grap(struct ship *from, struct ship *to)
games/sail/dr_5.c
45
subtract(struct ship *from, struct ship *fromcap, int totalfrom, int crewfrom[3],
games/sail/dr_5.c
69
mensent(struct ship *from, struct ship *to, int crew[3], struct ship **captured,
games/sail/dr_main.c
58
struct ship *sp;
games/sail/extern.h
116
struct ship *toship;
games/sail/extern.h
151
struct ship *captured; /* 68 */
games/sail/extern.h
188
struct ship ship[NSHIP]; /* 16 */
games/sail/extern.h
216
extern struct ship *ls; /* &cc->ship[cc->vessels] */
games/sail/extern.h
218
#define SHIP(s) (&cc->ship[s])
games/sail/extern.h
219
#define foreachship(sp) for ((sp) = cc->ship; (sp) < ls; (sp)++)
games/sail/extern.h
259
void table(struct ship *, struct ship *, int, int, int, int);
games/sail/extern.h
260
void Cleansnag(struct ship *, struct ship *, int, int);
games/sail/extern.h
273
void closeon(struct ship *, struct ship *, char *, size_t, int, int, bool);
games/sail/extern.h
277
void sendbp(struct ship *, struct ship *, int, int);
games/sail/extern.h
278
int is_toughmelee(struct ship *, struct ship *, int, int);
games/sail/extern.h
283
void ungrap(struct ship *, struct ship *);
games/sail/extern.h
284
void grap(struct ship *, struct ship *);
games/sail/extern.h
287
void subtract(struct ship *, struct ship *, int, int [3], int);
games/sail/extern.h
288
int mensent(struct ship *, struct ship *, int[3], struct ship **, int *, int);
games/sail/extern.h
295
int maxturns(struct ship *, bool *);
games/sail/extern.h
296
int maxmove(struct ship *, int, int);
games/sail/extern.h
303
int range(struct ship *, struct ship *);
games/sail/extern.h
304
struct ship *closestenemy(struct ship *, int, int);
games/sail/extern.h
305
int gunsbear(struct ship *, struct ship *);
games/sail/extern.h
306
int portside(struct ship *, struct ship *, int);
games/sail/extern.h
307
int colours(struct ship *);
games/sail/extern.h
308
void logger(struct ship *);
games/sail/extern.h
311
int meleeing(struct ship *, struct ship *);
games/sail/extern.h
312
int boarding(struct ship *, int);
games/sail/extern.h
313
void unboard(struct ship *, struct ship *, int);
games/sail/extern.h
333
const char *saywhat(struct ship *, int);
games/sail/extern.h
334
void eyeball(struct ship *);
games/sail/extern.h
347
void Signal(const char *, struct ship *, ...) __printflike(1,3);
games/sail/extern.h
349
int sgetch(const char *, struct ship *, int);
games/sail/extern.h
364
void fmtship(char *, size_t, const char *, struct ship *);
games/sail/extern.h
365
void makesignal(struct ship *, const char *, struct ship *, ...)
games/sail/extern.h
367
void makemsg(struct ship *, const char *, ...) __printflike(2, 3);
games/sail/extern.h
373
void send_captain(struct ship *ship, const char *astr);
games/sail/extern.h
374
void send_captured(struct ship *ship, long a);
games/sail/extern.h
375
void send_class(struct ship *ship, long a);
games/sail/extern.h
376
void send_crew(struct ship *ship, long a, long b, long c);
games/sail/extern.h
377
void send_dbp(struct ship *ship, long a, long b, long c, long d);
games/sail/extern.h
378
void send_drift(struct ship *ship, long a);
games/sail/extern.h
379
void send_explode(struct ship *ship, long a);
games/sail/extern.h
380
void send_foul(struct ship *ship, long a);
games/sail/extern.h
381
void send_gunl(struct ship *ship, long a, long b);
games/sail/extern.h
382
void send_gunr(struct ship *ship, long a, long b);
games/sail/extern.h
383
void send_hull(struct ship *ship, long a);
games/sail/extern.h
384
void send_move(struct ship *ship, const char *astr);
games/sail/extern.h
385
void send_obp(struct ship *ship, long a, long b, long c, long d);
games/sail/extern.h
386
void send_pcrew(struct ship *ship, long a);
games/sail/extern.h
387
void send_unfoul(struct ship *ship, long a, long b);
games/sail/extern.h
388
void send_points(struct ship *ship, long a);
games/sail/extern.h
389
void send_qual(struct ship *ship, long a);
games/sail/extern.h
390
void send_ungrap(struct ship *ship, long a, long b);
games/sail/extern.h
391
void send_rigg(struct ship *ship, long a, long b, long c, long d);
games/sail/extern.h
392
void send_col(struct ship *ship, long a);
games/sail/extern.h
393
void send_dir(struct ship *ship, long a);
games/sail/extern.h
394
void send_row(struct ship *ship, long a);
games/sail/extern.h
395
void send_signal(struct ship *ship, const char *astr);
games/sail/extern.h
396
void send_sink(struct ship *ship, long a);
games/sail/extern.h
397
void send_struck(struct ship *ship, long a);
games/sail/extern.h
398
void send_ta(struct ship *ship, long a);
games/sail/extern.h
402
void send_fs(struct ship *ship, long a);
games/sail/extern.h
403
void send_grap(struct ship *ship, long a);
games/sail/extern.h
404
void send_rig1(struct ship *ship, long a);
games/sail/extern.h
405
void send_rig2(struct ship *ship, long a);
games/sail/extern.h
406
void send_rig3(struct ship *ship, long a);
games/sail/extern.h
407
void send_rig4(struct ship *ship, long a);
games/sail/extern.h
408
void send_begin(struct ship *ship);
games/sail/extern.h
409
void send_end(struct ship *ship);
games/sail/game.c
46
maxturns(struct ship *ship, bool *af)
games/sail/game.c
50
turns = ship->specs->ta;
games/sail/game.c
51
*af = (ship->file->drift > 1 && turns);
games/sail/game.c
54
if (ship->file->FS == 1)
games/sail/game.c
61
maxmove(struct ship *ship, int dir, int fs)
games/sail/game.c
65
Move = ship->specs->bs;
games/sail/game.c
66
if (!ship->specs->rig1)
games/sail/game.c
68
if (!ship->specs->rig2)
games/sail/game.c
70
if (!ship->specs->rig3)
games/sail/game.c
72
if (!ship->specs->rig4)
games/sail/game.c
74
if ((ship->file->FS || fs) && fs != -1) {
games/sail/game.c
76
Move = ship->specs->fs;
games/sail/game.c
79
Move -= 1 + WET[windspeed][ship->specs->class-1].B;
games/sail/game.c
82
Move -= 1 + WET[windspeed][ship->specs->class-1].C;
games/sail/game.c
85
Move = (flank ? 2 : 1) - WET[windspeed][ship->specs->class-1].D;
games/sail/game.c
89
Move -= WET[windspeed][ship->specs->class-1].A;
games/sail/globals.c
576
struct ship *ls; /* &cc->ship[cc->vessels] */
games/sail/lo_main.c
109
ship = &scene[log.l_gamenum].ship[log.l_shipnum];
games/sail/lo_main.c
112
title[n++], sbuf, ship->shipname, log.l_netpoints,
games/sail/lo_main.c
113
(float) log.l_netpoints / ship->specs->pts);
games/sail/lo_main.c
129
struct ship *ship;
games/sail/lo_main.c
151
ship = &scene[log.l_gamenum].ship[log.l_shipnum];
games/sail/lo_main.c
153
title[n++], sbuf, ship->shipname, log.l_netpoints,
games/sail/lo_main.c
154
(float) log.l_netpoints / ship->specs->pts);
games/sail/lo_main.c
74
struct ship *ship;
games/sail/misc.c
138
gunsbear(struct ship *from, struct ship *to)
games/sail/misc.c
160
portside(struct ship *from, struct ship *on, int quick)
games/sail/misc.c
179
colours(struct ship *sp)
games/sail/misc.c
196
logger(struct ship *s)
games/sail/misc.c
228
/ scene[lp->l_gamenum].ship[lp->l_shipnum].specs->pts) {
games/sail/misc.c
56
range(struct ship *from, struct ship *to)
games/sail/misc.c
82
struct ship *
games/sail/misc.c
83
closestenemy(struct ship *from, int side, int anyship)
games/sail/misc.c
85
struct ship *sp;
games/sail/misc.c
88
struct ship *closest = 0;
games/sail/parties.c
45
meleeing(struct ship *from, struct ship *to)
games/sail/parties.c
57
boarding(struct ship *from, int isdefense)
games/sail/parties.c
69
unboard(struct ship *ship, struct ship *to, int isdefense)
games/sail/parties.c
71
struct BP *p = isdefense ? ship->file->DBP : ship->file->OBP;
games/sail/parties.c
76
(p->toship == to || isdefense || ship == to)) {
games/sail/parties.c
78
send_dbp(ship, n, 0, 0, 0);
games/sail/parties.c
80
send_obp(ship, n, 0, 0, 0);
games/sail/pl_2.c
101
struct ship *sp;
games/sail/pl_2.c
108
switch (sgetch("~ ", (struct ship *)0, 0)) {
games/sail/pl_3.c
105
(struct ship *)0, 1)) {
games/sail/pl_3.c
117
if (sgetch("Fire? ", (struct ship *)0, 1) == 'n') {
games/sail/pl_3.c
220
struct ship *sp;
games/sail/pl_3.c
260
struct ship *to;
games/sail/pl_3.c
58
struct ship *closest;
games/sail/pl_4.c
107
saywhat(struct ship *sp, int flag)
games/sail/pl_4.c
122
eyeball(struct ship *ship)
games/sail/pl_4.c
126
if (ship->file->dir != 0) {
games/sail/pl_4.c
128
range(ms, ship), saywhat(ship, 0));
games/sail/pl_4.c
129
i = portside(ms, ship, 1) - mf->dir;
games/sail/pl_4.c
133
ship, countryname[ship->nationality],
games/sail/pl_4.c
134
classname[ship->specs->class], directionname[i]);
games/sail/pl_4.c
58
(struct ship *)0, 1) == 'y') {
games/sail/pl_4.c
64
(struct ship *)0, 1) == 'y') {
games/sail/pl_4.c
91
struct ship *sp;
games/sail/pl_5.c
159
struct ship *sp;
games/sail/pl_5.c
202
(struct ship *)0, 1);
games/sail/pl_5.c
208
parties(struct ship *to, int *crew, int isdefense, int buf)
games/sail/pl_5.c
51
static void parties(struct ship *, int *, int, int);
games/sail/pl_6.c
158
(struct ship *)0, 1);
games/sail/pl_6.c
166
(struct ship *)0, 1);
games/sail/pl_6.c
62
c = sgetch("Repair (hull, guns, rigging)? ", (struct ship *)0, 1);
games/sail/pl_7.c
1172
struct ship *ship;
games/sail/pl_7.c
1192
ship = &scene[pickerpos].ship[i];
games/sail/pl_7.c
1195
nationalityname(ship->nationality),
games/sail/pl_7.c
1196
ship->shipname,
games/sail/pl_7.c
1197
ship->specs->guns,
games/sail/pl_7.c
1198
shortclassname[ship->specs->class],
games/sail/pl_7.c
1199
qualname[ship->specs->qual],
games/sail/pl_7.c
1200
ship->specs->pts);
games/sail/pl_7.c
399
Signal(const char *fmt, struct ship *ship, ...)
games/sail/pl_7.c
407
va_start(ap, ship);
games/sail/pl_7.c
412
fmtship(format, sizeof(format), fmt, ship);
games/sail/pl_7.c
438
prompt(const char *p, struct ship *ship)
games/sail/pl_7.c
442
fmtship(buf, sizeof(buf), p, ship);
games/sail/pl_7.c
479
sgetch(const char *p, struct ship *ship, int flag)
games/sail/pl_7.c
484
prompt(p, ship);
games/sail/pl_7.c
513
prompt(pr, (struct ship *)0);
games/sail/pl_7.c
572
struct ship *sp;
games/sail/pl_7.c
901
struct ship *sp;
games/sail/pl_7.c
94
struct ship *ms; /* memorial structure, &cc->ship[player] */
games/sail/pl_7.c
941
struct ship *sp;
games/sail/pl_main.c
60
struct ship *sp;
games/sail/pl_main.c
92
struct ship *sp;
games/sail/player.h
94
extern struct ship *ms; /* memorial structure, &cc->ship[player] */
games/sail/sync.c
100
static void recv_captain(struct ship *ship, const char *astr);
games/sail/sync.c
101
static void recv_captured(struct ship *ship, long a);
games/sail/sync.c
102
static void recv_class(struct ship *ship, long a);
games/sail/sync.c
103
static void recv_crew(struct ship *ship, long a, long b, long c);
games/sail/sync.c
104
static void recv_dbp(struct ship *ship, long a, long b, long c, long d);
games/sail/sync.c
105
static void recv_drift(struct ship *ship, long a);
games/sail/sync.c
106
static void recv_explode(struct ship *ship, long a);
games/sail/sync.c
107
static void recv_foul(struct ship *ship, long a);
games/sail/sync.c
108
static void recv_gunl(struct ship *ship, long a, long b);
games/sail/sync.c
109
static void recv_gunr(struct ship *ship, long a, long b);
games/sail/sync.c
110
static void recv_hull(struct ship *ship, long a);
games/sail/sync.c
111
static void recv_move(struct ship *ship, const char *astr);
games/sail/sync.c
112
static void recv_obp(struct ship *ship, long a, long b, long c, long d);
games/sail/sync.c
113
static void recv_pcrew(struct ship *ship, long a);
games/sail/sync.c
114
static void recv_unfoul(struct ship *ship, long a, long b);
games/sail/sync.c
115
static void recv_points(struct ship *ship, long a);
games/sail/sync.c
116
static void recv_qual(struct ship *ship, long a);
games/sail/sync.c
117
static void recv_ungrap(struct ship *ship, long a, long b);
games/sail/sync.c
118
static void recv_rigg(struct ship *ship, long a, long b, long c, long d);
games/sail/sync.c
119
static void recv_col(struct ship *ship, long a);
games/sail/sync.c
120
static void recv_dir(struct ship *ship, long a);
games/sail/sync.c
121
static void recv_row(struct ship *ship, long a);
games/sail/sync.c
122
static void recv_signal(struct ship *ship, const char *astr);
games/sail/sync.c
123
static void recv_sink(struct ship *ship, long a);
games/sail/sync.c
124
static void recv_struck(struct ship *ship, long a);
games/sail/sync.c
125
static void recv_ta(struct ship *ship, long a);
games/sail/sync.c
129
static void recv_fs(struct ship *ship, long a);
games/sail/sync.c
130
static void recv_grap(struct ship *ship, long a);
games/sail/sync.c
131
static void recv_rig1(struct ship *ship, long a);
games/sail/sync.c
132
static void recv_rig2(struct ship *ship, long a);
games/sail/sync.c
133
static void recv_rig3(struct ship *ship, long a);
games/sail/sync.c
134
static void recv_rig4(struct ship *ship, long a);
games/sail/sync.c
135
static void recv_begin(struct ship *ship);
games/sail/sync.c
136
static void recv_end(struct ship *ship);
games/sail/sync.c
139
static void Write(int, struct ship *, long, long, long, long);
games/sail/sync.c
140
static void Writestr(int, struct ship *, const char *);
games/sail/sync.c
142
static int sync_update(int, struct ship *, const char *,
games/sail/sync.c
169
fmtship(char *buf, size_t len, const char *fmt, struct ship *ship)
games/sail/sync.c
178
ship->shipname, colours(ship), sterncolour(ship));
games/sail/sync.c
194
makesignal(struct ship *from, const char *fmt, struct ship *ship, ...)
games/sail/sync.c
200
va_start(ap, ship);
games/sail/sync.c
201
fmtship(format, sizeof(format), fmt, ship);
games/sail/sync.c
209
makemsg(struct ship *from, const char *fmt, ...)
games/sail/sync.c
286
Write(int type, struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
289
int shipindex = (ship == NULL) ? 0 : ship->file->index;
games/sail/sync.c
298
sync_update(type, ship, NULL, a, b, c, d);
games/sail/sync.c
302
Writestr(int type, struct ship *ship, const char *a)
games/sail/sync.c
305
int shipindex = (ship == NULL) ? 0 : ship->file->index;
games/sail/sync.c
313
sync_update(type, ship, a, 0, 0, 0, 0);
games/sail/sync.c
426
sync_update(int type, struct ship *ship, const char *astr,
games/sail/sync.c
430
case W_CAPTAIN: recv_captain(ship, astr); break;
games/sail/sync.c
431
case W_CAPTURED: recv_captured(ship, a); break;
games/sail/sync.c
432
case W_CLASS: recv_class(ship, a); break;
games/sail/sync.c
433
case W_CREW: recv_crew(ship, a, b, c); break;
games/sail/sync.c
434
case W_DBP: recv_dbp(ship, a, b, c, d); break;
games/sail/sync.c
435
case W_DRIFT: recv_drift(ship, a); break;
games/sail/sync.c
436
case W_EXPLODE: recv_explode(ship, a); break;
games/sail/sync.c
437
case W_FOUL: recv_foul(ship, a); break;
games/sail/sync.c
438
case W_GUNL: recv_gunl(ship, a, b); break;
games/sail/sync.c
439
case W_GUNR: recv_gunr(ship, a, b); break;
games/sail/sync.c
440
case W_HULL: recv_hull(ship, a); break;
games/sail/sync.c
441
case W_MOVE: recv_move(ship, astr); break;
games/sail/sync.c
442
case W_OBP: recv_obp(ship, a, b, c, d); break;
games/sail/sync.c
443
case W_PCREW: recv_pcrew(ship, a); break;
games/sail/sync.c
444
case W_UNFOUL: recv_unfoul(ship, a, b); break;
games/sail/sync.c
445
case W_POINTS: recv_points(ship, a); break;
games/sail/sync.c
446
case W_QUAL: recv_qual(ship, a); break;
games/sail/sync.c
447
case W_UNGRAP: recv_ungrap(ship, a, b); break;
games/sail/sync.c
448
case W_RIGG: recv_rigg(ship, a, b, c, d); break;
games/sail/sync.c
449
case W_COL: recv_col(ship, a); break;
games/sail/sync.c
450
case W_DIR: recv_dir(ship, a); break;
games/sail/sync.c
451
case W_ROW: recv_row(ship, a); break;
games/sail/sync.c
452
case W_SIGNAL: recv_signal(ship, astr); break;
games/sail/sync.c
453
case W_SINK: recv_sink(ship, a); break;
games/sail/sync.c
454
case W_STRUCK: recv_struck(ship, a); break;
games/sail/sync.c
455
case W_TA: recv_ta(ship, a); break;
games/sail/sync.c
459
case W_FS: recv_fs(ship, a); break;
games/sail/sync.c
460
case W_GRAP: recv_grap(ship, a); break;
games/sail/sync.c
461
case W_RIG1: recv_rig1(ship, a); break;
games/sail/sync.c
462
case W_RIG2: recv_rig2(ship, a); break;
games/sail/sync.c
463
case W_RIG3: recv_rig3(ship, a); break;
games/sail/sync.c
464
case W_RIG4: recv_rig4(ship, a); break;
games/sail/sync.c
465
case W_BEGIN: recv_begin(ship); break;
games/sail/sync.c
466
case W_END: recv_end(ship); break;
games/sail/sync.c
480
send_captain(struct ship *ship, const char *astr)
games/sail/sync.c
482
Writestr(W_CAPTAIN, ship, astr);
games/sail/sync.c
486
send_captured(struct ship *ship, long a)
games/sail/sync.c
488
Write(W_CAPTURED, ship, a, 0, 0, 0);
games/sail/sync.c
492
send_class(struct ship *ship, long a)
games/sail/sync.c
494
Write(W_CLASS, ship, a, 0, 0, 0);
games/sail/sync.c
498
send_crew(struct ship *ship, long a, long b, long c)
games/sail/sync.c
500
Write(W_CREW, ship, a, b, c, 0);
games/sail/sync.c
504
send_dbp(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
506
Write(W_DBP, ship, a, b, c, d);
games/sail/sync.c
510
send_drift(struct ship *ship, long a)
games/sail/sync.c
512
Write(W_DRIFT, ship, a, 0, 0, 0);
games/sail/sync.c
516
send_explode(struct ship *ship, long a)
games/sail/sync.c
518
Write(W_EXPLODE, ship, a, 0, 0, 0);
games/sail/sync.c
522
send_foul(struct ship *ship, long a)
games/sail/sync.c
524
Write(W_FOUL, ship, a, 0, 0, 0);
games/sail/sync.c
528
send_gunl(struct ship *ship, long a, long b)
games/sail/sync.c
530
Write(W_GUNL, ship, a, b, 0, 0);
games/sail/sync.c
534
send_gunr(struct ship *ship, long a, long b)
games/sail/sync.c
536
Write(W_GUNR, ship, a, b, 0, 0);
games/sail/sync.c
540
send_hull(struct ship *ship, long a)
games/sail/sync.c
542
Write(W_HULL, ship, a, 0, 0, 0);
games/sail/sync.c
546
send_move(struct ship *ship, const char *astr)
games/sail/sync.c
548
Writestr(W_MOVE, ship, astr);
games/sail/sync.c
552
send_obp(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
554
Write(W_OBP, ship, a, b, c, d);
games/sail/sync.c
558
send_pcrew(struct ship *ship, long a)
games/sail/sync.c
560
Write(W_PCREW, ship, a, 0, 0, 0);
games/sail/sync.c
564
send_unfoul(struct ship *ship, long a, long b)
games/sail/sync.c
566
Write(W_UNFOUL, ship, a, b, 0, 0);
games/sail/sync.c
570
send_points(struct ship *ship, long a)
games/sail/sync.c
572
Write(W_POINTS, ship, a, 0, 0, 0);
games/sail/sync.c
576
send_qual(struct ship *ship, long a)
games/sail/sync.c
578
Write(W_QUAL, ship, a, 0, 0, 0);
games/sail/sync.c
582
send_ungrap(struct ship *ship, long a, long b)
games/sail/sync.c
584
Write(W_UNGRAP, ship, a, b, 0, 0);
games/sail/sync.c
588
send_rigg(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
590
Write(W_RIGG, ship, a, b, c, d);
games/sail/sync.c
594
send_col(struct ship *ship, long a)
games/sail/sync.c
596
Write(W_COL, ship, a, 0, 0, 0);
games/sail/sync.c
600
send_dir(struct ship *ship, long a)
games/sail/sync.c
602
Write(W_DIR, ship, a, 0, 0, 0);
games/sail/sync.c
606
send_row(struct ship *ship, long a)
games/sail/sync.c
608
Write(W_ROW, ship, a, 0, 0, 0);
games/sail/sync.c
612
send_signal(struct ship *ship, const char *astr)
games/sail/sync.c
614
Writestr(W_SIGNAL, ship, astr);
games/sail/sync.c
618
send_sink(struct ship *ship, long a)
games/sail/sync.c
620
Write(W_SINK, ship, a, 0, 0, 0);
games/sail/sync.c
624
send_struck(struct ship *ship, long a)
games/sail/sync.c
626
Write(W_STRUCK, ship, a, 0, 0, 0);
games/sail/sync.c
630
send_ta(struct ship *ship, long a)
games/sail/sync.c
632
Write(W_TA, ship, a, 0, 0, 0);
games/sail/sync.c
654
send_fs(struct ship *ship, long a)
games/sail/sync.c
656
Write(W_FS, ship, a, 0, 0, 0);
games/sail/sync.c
660
send_grap(struct ship *ship, long a)
games/sail/sync.c
662
Write(W_GRAP, ship, a, 0, 0, 0);
games/sail/sync.c
666
send_rig1(struct ship *ship, long a)
games/sail/sync.c
668
Write(W_RIG1, ship, a, 0, 0, 0);
games/sail/sync.c
672
send_rig2(struct ship *ship, long a)
games/sail/sync.c
674
Write(W_RIG2, ship, a, 0, 0, 0);
games/sail/sync.c
678
send_rig3(struct ship *ship, long a)
games/sail/sync.c
680
Write(W_RIG3, ship, a, 0, 0, 0);
games/sail/sync.c
684
send_rig4(struct ship *ship, long a)
games/sail/sync.c
686
Write(W_RIG4, ship, a, 0, 0, 0);
games/sail/sync.c
690
send_begin(struct ship *ship)
games/sail/sync.c
692
Write(W_BEGIN, ship, 0, 0, 0, 0);
games/sail/sync.c
696
send_end(struct ship *ship)
games/sail/sync.c
698
Write(W_END, ship, 0, 0, 0, 0);
games/sail/sync.c
713
recv_captain(struct ship *ship, const char *astr)
games/sail/sync.c
715
strlcpy(ship->file->captain, astr, sizeof ship->file->captain);
games/sail/sync.c
719
recv_captured(struct ship *ship, long a)
games/sail/sync.c
722
ship->file->captured = 0;
games/sail/sync.c
724
ship->file->captured = SHIP(a);
games/sail/sync.c
728
recv_class(struct ship *ship, long a)
games/sail/sync.c
730
ship->specs->class = a;
games/sail/sync.c
734
recv_crew(struct ship *ship, long a, long b, long c)
games/sail/sync.c
736
struct shipspecs *s = ship->specs;
games/sail/sync.c
744
recv_dbp(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
746
struct BP *p = &ship->file->DBP[a];
games/sail/sync.c
754
recv_drift(struct ship *ship, long a)
games/sail/sync.c
756
ship->file->drift = a;
games/sail/sync.c
760
recv_explode(struct ship *ship, long a)
games/sail/sync.c
762
if ((ship->file->explode = a) == 2)
games/sail/sync.c
763
ship->file->dir = 0;
games/sail/sync.c
767
recv_foul(struct ship *ship, long a)
games/sail/sync.c
769
struct snag *p = &ship->file->foul[a];
games/sail/sync.c
775
ship->file->nfoul++;
games/sail/sync.c
779
recv_gunl(struct ship *ship, long a, long b)
games/sail/sync.c
781
struct shipspecs *s = ship->specs;
games/sail/sync.c
788
recv_gunr(struct ship *ship, long a, long b)
games/sail/sync.c
790
struct shipspecs *s = ship->specs;
games/sail/sync.c
797
recv_hull(struct ship *ship, long a)
games/sail/sync.c
799
ship->specs->hull = a;
games/sail/sync.c
803
recv_move(struct ship *ship, const char *astr)
games/sail/sync.c
805
strlcpy(ship->file->movebuf, astr, sizeof ship->file->movebuf);
games/sail/sync.c
809
recv_obp(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
811
struct BP *p = &ship->file->OBP[a];
games/sail/sync.c
819
recv_pcrew(struct ship *ship, long a)
games/sail/sync.c
821
ship->file->pcrew = a;
games/sail/sync.c
825
recv_unfoul(struct ship *ship, long a, long b)
games/sail/sync.c
827
struct snag *p = &ship->file->foul[a];
games/sail/sync.c
831
ship->file->nfoul -= p->sn_count;
games/sail/sync.c
834
ship->file->nfoul--;
games/sail/sync.c
841
recv_points(struct ship *ship, long a)
games/sail/sync.c
843
ship->file->points = a;
games/sail/sync.c
847
recv_qual(struct ship *ship, long a)
games/sail/sync.c
849
ship->specs->qual = a;
games/sail/sync.c
853
recv_ungrap(struct ship *ship, long a, long b)
games/sail/sync.c
855
struct snag *p = &ship->file->grap[a];
games/sail/sync.c
859
ship->file->ngrap -= p->sn_count;
games/sail/sync.c
862
ship->file->ngrap--;
games/sail/sync.c
869
recv_rigg(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
871
struct shipspecs *s = ship->specs;
games/sail/sync.c
880
recv_col(struct ship *ship, long a)
games/sail/sync.c
882
ship->file->col = a;
games/sail/sync.c
886
recv_dir(struct ship *ship, long a)
games/sail/sync.c
888
ship->file->dir = a;
games/sail/sync.c
892
recv_row(struct ship *ship, long a)
games/sail/sync.c
894
ship->file->row = a;
games/sail/sync.c
898
recv_signal(struct ship *ship, const char *astr)
games/sail/sync.c
902
Signal("$$: %s", ship, astr);
games/sail/sync.c
904
Signal("\a$$: %s", ship, astr);
games/sail/sync.c
909
recv_sink(struct ship *ship, long a)
games/sail/sync.c
911
if ((ship->file->sink = a) == 2)
games/sail/sync.c
912
ship->file->dir = 0;
games/sail/sync.c
916
recv_struck(struct ship *ship, long a)
games/sail/sync.c
918
ship->file->struck = a;
games/sail/sync.c
922
recv_ta(struct ship *ship, long a)
games/sail/sync.c
924
ship->specs->ta = a;
games/sail/sync.c
947
recv_fs(struct ship *ship, long a)
games/sail/sync.c
949
ship->file->FS = a;
games/sail/sync.c
953
recv_grap(struct ship *ship, long a)
games/sail/sync.c
955
struct snag *p = &ship->file->grap[a];
games/sail/sync.c
961
ship->file->ngrap++;
games/sail/sync.c
965
recv_rig1(struct ship *ship, long a)
games/sail/sync.c
967
ship->specs->rig1 = a;
games/sail/sync.c
971
recv_rig2(struct ship *ship, long a)
games/sail/sync.c
973
ship->specs->rig2 = a;
games/sail/sync.c
977
recv_rig3(struct ship *ship, long a)
games/sail/sync.c
979
ship->specs->rig3 = a;
games/sail/sync.c
983
recv_rig4(struct ship *ship, long a)
games/sail/sync.c
985
ship->specs->rig4 = a;
games/sail/sync.c
989
recv_begin(struct ship *ship)
games/sail/sync.c
991
strcpy(ship->file->captain, "begin");
games/sail/sync.c
996
recv_end(struct ship *ship)
games/sail/sync.c
998
*ship->file->captain = 0;
games/sail/sync.c
999
ship->file->points = 0;
games/trek/abandon.c
104
Ship.ship = QUEENE;
games/trek/abandon.c
78
if (Ship.ship == QUEENE) {
games/trek/help.c
153
Sect[dx][dy] = Ship.ship;
games/trek/initquad.c
94
Sect[Ship.sectx][Ship.secty] = Ship.ship;
games/trek/move.c
228
Sect[Ship.sectx][Ship.secty] = Ship.ship;
games/trek/score.c
117
if (Ship.ship != ENTERPRISE) {
games/trek/setup.c
127
Ship.ship = ENTERPRISE;
games/trek/shield.c
82
if (Ship.ship == QUEENE) {
games/trek/trek.h
237
char ship; /* current starship */
games/trek/win.c
78
s >= 1000 && Ship.ship == ENTERPRISE) {