rogue3: add the option of logging all games to a text file

This commit is contained in:
John "Elwin" Edwards 2009-11-10 22:38:46 +00:00
parent 437daf6c31
commit bd3b2e4e53
5 changed files with 86 additions and 1 deletions

View file

@ -443,6 +443,7 @@ extern int inpack; /* Number of things in pack */
extern int jump; /* Show running as series of jumps */
extern int lastscore; /* Score before this turn */
extern int level; /* What level rogue is on */
extern FILE * logf;
extern char lvl_mons[27];
extern struct linked_list * lvl_obj; /* List of objects on this level */
extern int max_hp; /* Player's max hit points */
@ -597,6 +598,7 @@ void killed(struct linked_list *item, int pr);
char * killname(int monst);
void lengthen(void (*func)(), int xtime);
void light(coord *cp);
void log(int amount, int flags, int monst);
void look(int wakeup);
void miss(char *er, char *ee);
void missile(int ydelta, int xdelta);