]>
Commit | Line | Data |
---|---|---|
bd3239d2 MF |
1 | void scen_create_random_weather(void *dest_file, void *scen_file, int month, |
2 | int turns) | |
3 | { | |
4 | int i; | |
5 | int init_cond = 0; | |
6 | int weather[turns]; | |
7 | weather[0] = (init_cond == 1) ? 0 : 2; | |
8 | if (month < 3 || month == 12) { | |
9 | for (i = 0; i < turns; i++) | |
10 | if (weather[i] == 2) | |
11 | weather[i]++; | |
12 | } | |
13 |