Mercurial > hg > early-roguelike
comparison xrogue/rogue.c @ 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 | 1fbdefa82533 |
children | 0250220d8cdd |
comparison
equal
deleted
inserted
replaced
144:708bb2dea17c | 145:aac28331e71d |
---|---|
124 bool askme = TRUE; | 124 bool askme = TRUE; |
125 bool in_shell = FALSE; | 125 bool in_shell = FALSE; |
126 bool daytime = TRUE; | 126 bool daytime = TRUE; |
127 bool funfont = FALSE; | 127 bool funfont = FALSE; |
128 | 128 |
129 FILE *scorefi = NULL; | |
130 FILE *logfile = NULL; | |
131 | |
129 LEVTYPE levtype; /* what type of level am i'm on? */ | 132 LEVTYPE levtype; /* what type of level am i'm on? */ |
130 | 133 |
131 char *nothing = "Nothing seems to happen. "; | 134 char *nothing = "Nothing seems to happen. "; |
132 char *spacemsg = "--Press space to continue--"; | 135 char *spacemsg = "--Press space to continue--"; |
133 char *morestr = " --More--"; | 136 char *morestr = " --More--"; |