- Write(W_CAPTAIN, ms, 1, (int)" ", 0, 0, 0);
- Write(W_PEOPLE, SHIP(0), 0, cc->people - 1, 0, 0, 0);
- if (done_curses) {
- screen();
- Signal("It looks like you've had it!",
- (struct ship *)0);
- switch (conditions) {
- case LEAVE_QUIT:
- break;
- case LEAVE_CAPTURED:
- Signal("Your ship was captured.",
- (struct ship *)0);
- break;
- case LEAVE_HURRICAN:
- Signal("Hurricane! All ships destroyed.",
- (struct ship *)0);
- break;
- case LEAVE_DRIVER:
- Signal("The driver died.", (struct ship *)0);
- break;
- default:
- Signal("A funny thing happened (%d).",
- (struct ship *)0, conditions);
- }
- } else {
- if (conditions == LEAVE_DRIVER)
- printf("The driver died.\n");
- else
- printf("leave: unknown code %d\n", conditions);
- }
- (void) fclose(syncfile);
- }
- if (done_curses) {
- lastline();
- nocrmode();
- echo();
- endwin();
+ makesignal(ms, "Captain %s relinquishing.", (struct ship *)0,
+ mf->captain);
+ Write(W_END, ms, 0, 0, 0, 0, 0);
+ Sync();