version 1.2 | | version 1.3 |
---|
| | |
| | |
/* from common/time.c */ | | /* from common/time.c */ |
extern void get_tod(timeofday_t *tod); | | extern void get_tod(timeofday_t *tod); |
| | |
| | /* weather stuff */ |
| | |
| | #define POLAR_BASE_TEMP 0 /* C */ |
| | #define EQUATOR_BASE_TEMP 25 /* C */ |
| | #define SEASONAL_ADJUST 10 /* polar distance */ |
| | #define GULF_STREAM_WIDTH 3 /* width of gulf stream */ |
| | #define GULF_STREAM_BASE_SPEED 40 /* base speed of gulf stream */ |
| | |
| | /* don't muck with these unless you are sure you know what they do */ |
| | #define PRESSURE_ITERATIONS 30 |
| | #define PRESSURE_AREA 180 |
| | #define PRESSURE_ROUNDING_FACTOR 2 |
| | #define PRESSURE_ROUNDING_ITER 1 |
| | #define PRESSURE_SPIKES 3 |
| | #define PRESSURE_MAX 1040 |
| | #define PRESSURE_MIN 960 |
| | |
| | /* editing the below might require actual changes to code */ |
| | #define WEATHERMAPTILESX 100 |
| | #define WEATHERMAPTILESY 100 |
| | |
| | /* sky conditions */ |
| | #define SKY_CLEAR 0 |
| | #define SKY_LIGHTCLOUD 1 |
| | #define SKY_OVERCAST 2 |
| | #define SKY_LIGHT_RAIN 3 |
| | #define SKY_RAIN 4 /* rain -> storm has lightning */ |
| | #define SKY_HEAVY_RAIN 5 |
| | #define SKY_HURRICANE 6 |
| | /* wierd weather 7-12 */ |
| | #define SKY_FOG 7 |
| | #define SKY_HAIL 8 |
| | /* snow */ |
| | #define SKY_LIGHT_SNOW 13 /* add 10 to rain to get snow */ |
| | #define SKY_SNOW 14 |
| | #define SKY_HEAVY_SNOW 15 |
| | #define SKY_BLIZZARD 16 |
| | |
#endif /* _TOD_H_ */ | | #endif /* _TOD_H_ */ |