comparison arogue5/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 a5433ba4cabf
children 68a63ddfbe14
comparison
equal deleted inserted replaced
144:708bb2dea17c 145:aac28331e71d
1048 extern int trap_tries; /* Number of attempts to set traps */ 1048 extern int trap_tries; /* Number of attempts to set traps */
1049 extern int pray_time; /* Number of prayer points/exp level */ 1049 extern int pray_time; /* Number of prayer points/exp level */
1050 extern int spell_power; /* Spell power left at this level */ 1050 extern int spell_power; /* Spell power left at this level */
1051 extern int turns; /* Number of turns player has taken */ 1051 extern int turns; /* Number of turns player has taken */
1052 extern int quest_item; /* Item hero is looking for */ 1052 extern int quest_item; /* Item hero is looking for */
1053 extern int scorefd; /* File descriptor for the scorefile */
1053 extern int cur_relic[]; /* Current relics */ 1054 extern int cur_relic[]; /* Current relics */
1054 extern char take; /* Thing the rogue is taking */ 1055 extern char take; /* Thing the rogue is taking */
1055 extern char prbuf[]; /* Buffer for sprintfs */ 1056 extern char prbuf[]; /* Buffer for sprintfs */
1056 extern char outbuf[]; /* Output buffer for stdout */ 1057 extern char outbuf[]; /* Output buffer for stdout */
1057 extern char runch; /* Direction player is running */ 1058 extern char runch; /* Direction player is running */
1119 extern char *sylls[NSYLLS]; 1120 extern char *sylls[NSYLLS];
1120 extern char *stones[NSTONES]; 1121 extern char *stones[NSTONES];
1121 extern char *metal[NMETAL]; 1122 extern char *metal[NMETAL];
1122 extern char *wood[NWOOD]; 1123 extern char *wood[NWOOD];
1123 extern coord ch_ret; 1124 extern coord ch_ret;
1125 extern FILE *logfile;