Mercurial > hg > early-roguelike
comparison xrogue/main.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 | 7faf4568c295 |
| children | 301ed6992c2e |
comparison
equal
deleted
inserted
replaced
| 144:708bb2dea17c | 145:aac28331e71d |
|---|---|
| 24 | 24 |
| 25 #include "mach_dep.h" | 25 #include "mach_dep.h" |
| 26 #include "network.h" | 26 #include "network.h" |
| 27 #include "rogue.h" | 27 #include "rogue.h" |
| 28 | 28 |
| 29 FILE *scorefi = NULL; | |
| 30 FILE *logfile = NULL; | |
| 31 void open_records(void); | 29 void open_records(void); |
| 32 | 30 |
| 33 main(argc, argv, envp) | 31 main(argc, argv, envp) |
| 34 char **argv; | 32 char **argv; |
| 35 char **envp; | 33 char **envp; |
