rogue5: add savedir, logfile, bugfixes

This commit is contained in:
John "Elwin" Edwards 2010-05-24 20:16:15 +00:00
parent 3741c4867d
commit 53a15a3e2e
13 changed files with 2124 additions and 1397 deletions

View file

@ -42,6 +42,7 @@ int stat_msg = FALSE; /* Should status() print as a msg() */
int terse = FALSE; /* True if we should be short */
int to_death = FALSE; /* Fighting is to the death! */
int tombstone = TRUE; /* Print out tombstone at end */
int use_savedir = FALSE; /* True if using system savefile dir */
#ifdef MASTER
int wizard = FALSE; /* True if allows wizard commands */
#endif
@ -111,6 +112,7 @@ const int a_class[MAXARMORS] = { /* Armor class for each armor type */
int count = 0; /* Number of times to repeat command */
FILE *scoreboard = NULL; /* File descriptor for score file */
FILE *logfi = NULL; /* The log file */
int food_left; /* Amount of food in hero's stomach */
int lastscore = -1; /* Score before this turn */
int no_command = 0; /* Number of turns asleep */