/* The weather, and what it does to walkers and vans. */ #ifndef WEATHER_H #define WEATHER_H #include #include "records.h" struct conditions { char weather[FIELD]; int walk; /* Metres a minute, on foot. */ int van; /* Metres a minute, by van. */ }; /* The weather on a day. The almanac gives the climate of each month and a seed; * the day decides the rest. */ const char *weather(struct day day); struct conditions conditions(struct day day); /* Use another almanac seed, instead of the recorded one. For the solver. */ void set_almanac(uint64_t seed); #endif