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.
This commit is contained in:
parent
ea4244de91
commit
e3620a3781
14 changed files with 105 additions and 14 deletions
|
|
@ -64,6 +64,7 @@ int pray_time = 0;
|
|||
int spell_power = 0;
|
||||
int turns = 0; /* Number of turns player has taken */
|
||||
int quest_item = 0; /* Item player is looking for */
|
||||
int scorefd = -1; /* File descriptor for the scorefile */
|
||||
char nfloors = -1; /* Number of floors in this dungeon */
|
||||
char curpurch[LINELEN*2]; /* name of item ready to buy */
|
||||
char PLAYER = VPLAYER; /* what the player looks like */
|
||||
|
|
@ -123,6 +124,7 @@ char *spacemsg = "--Press space to continue--";
|
|||
char *morestr = "-- More --";
|
||||
char *retstr = "[Press return to continue]";
|
||||
|
||||
FILE *logfile = NULL;
|
||||
|
||||
/*
|
||||
* NOTE: the ordering of the points in this array is critical. They MUST
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue