#include <sys/types.h> #include <sys/time.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <assert.h> #include <zlib.h> #include "merc.h" #include "recycle.h" #define WEATHER_SUNNY 0 #define WEATHER_PART_CLOUD 1 #define WEATHER_CLOUD 2 #define WEATHER_LIGHT_RAIN 3 #define WEATHER_RAIN 4 #define WEATHER_HEAVY_RAIN 5 #define WEATHER_STORM 6 #define WEATHER_SNOW 7 /* * The new weather/date/holiday system */ /* Days of the week */ char *days[7] = { "Morndas", "Tirdas", "Middas", "Turdas", "Fredas", "Loredas", "Sundas" }; /* Months of the year */ char *month[12] = { /* Winter */ "Sun's Dusk", "Evening Star", "Morning Star", /* Spring */ "Sun's Dawn", "First Seed", "Rain's Hand", /* Summer */ "Second Seed", "Mid Year", "Sun's Height", /* Fall */ "Last Seed", "Hearthfire", "Frostfall" };