1 void scen_create_random_weather(void *dest_file, void *scen_file, int month,
7 weather[0] = (init_cond == 1) ? 0 : 2;
8 if (month < 3 || month == 12) {
9 for (i = 0; i < turns; i++)
13 fprintf(dest_file, "weather»");
16 fprintf(dest_file, "%s",
17 weather[i] == 0 ? "fair" : weather[i] ==
18 1 ? "clouds" : weather[i] == 2 ? "rain" : "snow");
20 fprintf(dest_file, "°");