1 void scen_create_random_weather(void * dest_file, void * scen_file, int month,
4 float month_mod[13] = {
12 weather[0] = (init_cond == 1) ? 0 : 2;
13 if (month < 3 || month == 12) {
14 for (i = 0; i < turns; i++)
18 fprintf(dest_file, "weather»");
21 fprintf(dest_file, "%s",
22 weather[i] == 0 ? "fair" : weather[i] ==
23 1 ? "clouds" : weather[i] == 2 ? "rain" : "snow");
25 fprintf(dest_file, "°");