1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2 /* hack.rip.c - version 1.0.2 */
23 " _________)/\\\\_//(\\/(/\\)/\\//\\/|_)_______\n",
28 register char **dp = rip;
34 (void) strcpy(buf, plname);
37 (void) sprintf(buf, "%ld AU", u.ugold);
39 (void) sprintf(buf, "killed by%s",
40 !strncmp(killer, "the ", 4) ? "" :
41 !strcmp(killer, "starvation") ? "" :
42 index(vowels, *killer) ? " an" : " a");
44 (void) strcpy(buf, killer);
45 if(strlen(buf) > 16) {
48 for(i = 0; i <= 16; i++)
49 if(buf[i] == ' ') i0 = i, i1 = i+1;
56 (void) sprintf(buf, "%4d", getyear());
58 for(y=8; *dp; y++,dp++){
62 while(dpx[x] == ' ') x++;
64 while(dpx[x] && dpx[x] != ' '){
65 extern int done_stopprint;
69 (void) putchar(dpx[x++]);
76 center(line, text) int line; char *text; {
77 register char *ip,*op;
79 op = &rip[line][28 - ((strlen(text)+1)/2)];
80 while(*ip) *op++ = *ip++;