comparison rogue4/extern.c @ 26:ea7372f5d314

rogue4: add logging all games
author edwarj4
date Thu, 26 Nov 2009 03:02:13 +0000
parents 7ef854484e08
children ee250e3646fd
comparison
equal deleted inserted replaced
25:00e90f1bffd6 26:ea7372f5d314
99 int quiet = 0; /* Number of quiet turns */ 99 int quiet = 0; /* Number of quiet turns */
100 int food_left; /* Amount of food in hero's stomach */ 100 int food_left; /* Amount of food in hero's stomach */
101 int group = 2; /* Current group number */ 101 int group = 2; /* Current group number */
102 int hungry_state = 0; /* How hungry is he */ 102 int hungry_state = 0; /* How hungry is he */
103 int fd; /* File descriptor for score file */ 103 int fd; /* File descriptor for score file */
104 int lfd; /* File descriptor for log file */
104 int a_chances[MAXARMORS] = { /* Chance for each armor type */ 105 int a_chances[MAXARMORS] = { /* Chance for each armor type */
105 20, 106 20,
106 35, 107 35,
107 50, 108 50,
108 63, 109 63,