Mercurial > hg > early-roguelike
diff srogue/global.c @ 184:7c059ec2a2c7
Merge Super-Rogue fixes into the MSVC testing branch.
author | John "Elwin" Edwards |
---|---|
date | Sun, 02 Aug 2015 12:25:44 -0400 |
parents | 78fa1d0e5d25 |
children | d3968e9cb98d |
line wrap: on
line diff
--- a/srogue/global.c Sat Aug 01 21:23:55 2015 -0400 +++ b/srogue/global.c Sun Aug 02 12:25:44 2015 -0400 @@ -54,6 +54,7 @@ int hungry_state = F_OKAY; /* How hungry is he */ int foodlev = 1; /* how fast he eats food */ int ringfood = 0; /* rings affect on food consumption */ +int scorefd = -1; /* Scoreboard file descriptor */ char take; /* Thing the rogue is taking */ char runch; /* Direction player is running */ char curpurch[15]; /* name of item ready to buy */ @@ -101,6 +102,8 @@ char callit[] = { "Call it: " }; char starlist[] = { " (* for a list)" }; +FILE *logfile = NULL; + struct coord oldpos; /* Pos before last look() call */ struct coord delta; /* Change indicated to get_dir() */ struct coord stairs; /* where the stairs are put */