diff arogue7/rogue.h @ 145:aac28331e71d

Advanced Rogue family: fix the "score" option. Changing the score file (when permitted) now works again, closing the old score file and opening the new one.
author John "Elwin" Edwards
date Wed, 20 May 2015 08:42:17 -0400
parents 1a64fd0bfea6
children 3e1146666ae5
line wrap: on
line diff
--- a/arogue7/rogue.h	Mon May 18 10:53:22 2015 -0400
+++ b/arogue7/rogue.h	Wed May 20 08:42:17 2015 -0400
@@ -1227,6 +1227,7 @@
 extern int spell_power;			/* Spell power left at this level */
 extern int turns;			/* Number of turns player has taken */
 extern int quest_item;			/* Item hero is looking for */
+extern int scorefd;			/* File descriptor for score file */
 extern int cur_relic[];			/* Current relics */
 extern char take;			/* Thing the rogue is taking */
 extern char prbuf[];			/* Buffer for sprintfs */
@@ -1286,6 +1287,7 @@
 extern char *spacemsg;
 extern char *morestr;
 extern char *retstr;
+extern FILE *logfile;
 extern LEVTYPE levtype;
 extern void (*add_abil[NUMABILITIES])(); /* Functions to change abilities */
 extern void (*res_abil[NUMABILITIES])(); /* Functions to change abilities */