Lines Matching defs:astr
100 static void recv_captain(struct ship *ship, const char *astr);
111 static void recv_move(struct ship *ship, const char *astr);
122 static void recv_signal(struct ship *ship, const char *astr);
322 char *astr;
391 astr = p;
397 astr = NULL;
399 if (sync_update(type, SHIP(shipnum), astr, a, b, c, d) < 0)
426 sync_update(int type, struct ship *ship, const char *astr,
430 case W_CAPTAIN: recv_captain(ship, astr); break;
441 case W_MOVE: recv_move(ship, astr); break;
452 case W_SIGNAL: recv_signal(ship, astr); break;
480 send_captain(struct ship *ship, const char *astr)
482 Writestr(W_CAPTAIN, ship, astr);
546 send_move(struct ship *ship, const char *astr)
548 Writestr(W_MOVE, ship, astr);
612 send_signal(struct ship *ship, const char *astr)
614 Writestr(W_SIGNAL, ship, astr);
713 recv_captain(struct ship *ship, const char *astr)
715 strlcpy(ship->file->captain, astr, sizeof ship->file->captain);
803 recv_move(struct ship *ship, const char *astr)
805 strlcpy(ship->file->movebuf, astr, sizeof ship->file->movebuf);
898 recv_signal(struct ship *ship, const char *astr)
902 Signal("$$: %s", ship, astr);
904 Signal("\a$$: %s", ship, astr);