va_end(ap);
}
-void
-/* VARARGS1 */
-addprintf(char *str, int a, int b, int c, int d, int e, int f, int g, int h)
-{
- char junkbuf[STRSIZE];
-
- (void) sprintf (junkbuf, str, a, b, c, d, e, f, g, h);
- (void) addstr (junkbuf);
-}
-void
-/* VARARGS1 */
-addprintf1(char *str, char *a, int b, int c, int d, int e, int f, int g, int h)
-{
- char junkbuf[STRSIZE];
-
- (void) sprintf (junkbuf, str, a, b, c, d, e, f, g, h);
- (void) addstr (junkbuf);
-}
-
-void
-/* VARARGS1 */
-addprintf2(char *str, char *a, int b, int c, int d, char *e, char *f, int g, int h)
-{
- char junkbuf[STRSIZE];
-
- (void) sprintf (junkbuf, str, a, b, c, d, e, f, g, h);
- (void) addstr (junkbuf);
-}
-
/*
Print a single cell in condensed format.
*/
void close_disp (void);
void pos_str (int row, int col, char *str, ...);
void pos_str1 (int row, int col, char *str, ...);
-void addprintf (char *str, int a, int b, int c, int d, int e, int f, int g, int h);
-void addprintf1 (char *str, char *a, int b, int c, int d, int e, int f, int g, int h);
-void addprintf2 (char *str, char *a, int b, int c, int d, char *e, char *f, int g, int h);
int direction();
void init_game (void); /* game routines */
userp = cont_tab[user_cont].cityp[useri];
} while (userp == compp);
- addprintf ("Your city is at %d.", loc_disp(userp->loc),0,0,0,0,0,0,0);
+ topmsg(1, "Your city is at %d.", loc_disp(userp->loc));
delay (); /* let user see output before we set_prod */
/* update city and map */