139 {
140 #ifdef WEATHER_DATA_LOGGING
142 {
145 }
146 #endif
147
151
154
156
159
160 switch (type)
161 {
162
164 {
165 #ifdef WEATHER_DATA_LOGGING
167 #endif
168
170
171
175
176
177
179
180
182 {
184 }
185
187 {
190 }
191
193 {
196 }
197
198
200 {
205 }
207 {
212 }
214 {
219 }
220 else
221 {
226 }
227
230
233
234
235
237 {
239 #ifdef WEATHER_DATA_LOGGING
241 #endif
242
246 }
247
249 {
251 #ifdef WEATHER_DATA_LOGGING
253 #endif
254
258 }
259
261 {
263
267
268 #ifdef WEATHER_DATA_LOGGING
270 #endif
271
273 {
274 #ifdef WEATHER_DATA_LOGGING
277 #endif
278
281 }
282
283 #ifdef WEATHER_DATA_LOGGING
285 {
287 {
290 }
291 else
294 }
295 }
296 #endif
297 }
298
300
301
305
307
309 {
311 }
312
315
316 #ifdef WEATHER_DATA_LOGGING
323
325 {
327 FPrintln(
file,
"================================================================");
329 FPrintln(
file,
"================================================================");
337
341 {
343 }
344
352 }
353 #endif
354
355 return true;
356 }
357
359 {
361
366
368 {
371 return true;
372 }
373
375 {
377 {
381 }
382 else
383 {
387 }
388
391 return true;
392 }
393
394
396 {
398 {
402 }
404 {
408 }
410 {
414 }
415 else
416 {
420 }
421 }
422 else
423 {
425 {
429 }
431 {
435 }
437 {
441 }
442 else
443 {
447 }
448 }
449
451
453 return true;
454 }
455
457 {
459 {
461 }
462 else
463 {
465 }
466
468
469 return true;
470 }
471
473 {
476
477 return true;
478 }
479 }
480 return false;
481 }
DayZGame g_Game
Definition DayZGame.c:3815
EWeatherPhenomenon
Definition Weather.c:11
static void WeatherLog(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Definition Debug.c:209
override void CalculateWind(int newWeather, bool suddenChange, out float magnitude, out float direction)
Definition Enoch.c:483
proto native void SetStorm(float density, float threshold, float timeOut)
Sets the thunderstorm properties.
proto native void SetWindMaximumSpeed(float maxSpeed)
Sets the maximal wind speed in metre per second. Equivalent to setting WindMagnitude phenomenon(s) va...
proto native WindMagnitude GetWindMagnitude()
Returns a wind magnitude phenomenon object.
proto native void SetRainThresholds(float tMin, float tMax, float tTime)
Sets overcast threshold values for rain phenomena.
proto native Rain GetRain()
Returns a rain phenomenon object.
proto native WindDirection GetWindDirection()
Returns a wind direction phenomenon object.
proto native Fog GetFog()
Returns a fog phenomenon object.
int m_ClearWeatherChance
Definition WorldData.c:37
int m_LastWeather
Definition WorldData.c:48
float SUDDENCHANGE_TIME_MULTIPLIER
how many % of environment temperature can be lowered by clouds
Definition WorldData.c:13
int m_ChoosenWeather
Definition WorldData.c:47
int m_BadWeatherChance
weather related
Definition WorldData.c:36
float WIND_MAGNITUDE_TIME_MULTIPLIER
Definition WorldData.c:15
int m_StepValue
Definition WorldData.c:45
int m_Chance
Definition WorldData.c:46
float WIND_DIRECTION_TIME_MULTIPLIER
Definition WorldData.c:16
int m_SameWeatherCnt
Definition WorldData.c:44
float SUDDENCHANGE_LENGTH_MULTIPLIER
Definition WorldData.c:14
bool m_IsSuddenChange
Definition WorldData.c:38
FileMode
Definition EnSystem.c:383
proto void CloseFile(FileHandle file)
Close the File.
proto FileHandle OpenFile(string name, FileMode mode)
Opens File.
proto void FPrintln(FileHandle file, void var)
Write to file and add new line.
const int IDC_MAIN_QUIT
Definition constants.c:144