-/* $NetBSD: gamesupport.c,v 1.9 2005/02/15 12:58:21 jsm Exp $ */
+/* $NetBSD: gamesupport.c,v 1.10 2009/05/25 23:08:45 dholland Exp $ */
/*
* gamesupport.c - auxiliary routines for support of Phantasia
#include <curses.h>
void
-changestats(ingameflag)
- phbool ingameflag;
+changestats(phbool ingameflag)
{
static char flag[2] = /* for printing values of bools */
{'F', 'T'};
}
void
-monstlist()
+monstlist(void)
{
int count = 0; /* count in file */
}
void
-scorelist()
+scorelist(void)
{
struct scoreboard sbuf; /* for reading entries */
FILE *fp; /* to open the file */
}
void
-activelist()
+activelist(void)
{
fseek(Playersfp, 0L, SEEK_SET);
printf("Current characters on file are:\n\n");
}
void
-purgeoldplayers()
+purgeoldplayers(void)
{
int today; /* day of year for today */
int daysold; /* how many days since the character has been
}
void
-enterscore()
+enterscore(void)
{
struct scoreboard sbuf; /* buffer to read in scoreboard entries */
FILE *fp; /* to open scoreboard file */