comparison rogue3/main.c @ 16:a731f515575e

rogue3: add the option of logging all games to a text file
author edwarj4
date Tue, 10 Nov 2009 22:38:46 +0000
parents 949d558c2162
children d67cac79f0f1
comparison
equal deleted inserted replaced
15:7ef854484e08 16:a731f515575e
21 int num_checks = 0; /* times we've gone over in checkout() */ 21 int num_checks = 0; /* times we've gone over in checkout() */
22 WINDOW *cw; /* Window that the player sees */ 22 WINDOW *cw; /* Window that the player sees */
23 WINDOW *hw; /* Used for the help command */ 23 WINDOW *hw; /* Used for the help command */
24 WINDOW *mw; /* Used to store mosnters */ 24 WINDOW *mw; /* Used to store mosnters */
25 FILE *scoreboard = NULL; 25 FILE *scoreboard = NULL;
26 FILE *logf = NULL;
26 27
27 main(argc, argv, envp) 28 main(argc, argv, envp)
28 char **argv; 29 char **argv;
29 char **envp; 30 char **envp;
30 { 31 {