ulteq
04d3a31b5b
Fixed a typo
2015-04-27 12:34:21 +02:00
ulteq
3c91f6abe3
Added ace/module settings for ace_weather:
...
*enableServerController // weather propagation on the server
*useACEWeather // disable ace weather
*syncRain
*syncWind
*syncMisc
2015-04-27 12:28:56 +02:00
ulteq
b3bf44fa1e
Code cleanup
2015-04-24 10:58:55 +02:00
ulteq
b3f4bf306d
Moved the global weather controls into preInit
2015-04-24 10:46:33 +02:00
ulteq
062aeae6e6
Fixed several bugs in the rain simulation:
...
*Added missing rain initialization based on overcast value
*Added proper fade out when the overcast changes from >=0.7 to <0.7
*Removed duplicate code
2015-04-24 10:25:31 +02:00
ulteq
50546646fa
Added missing rain_period_count reset to 0
2015-04-24 10:05:13 +02:00
ulteq
5a90ef6207
Added global variables (syncRain, syncWind, syncMisc) which give some control over the weather module:
...
*Removed duplicate debug output
2015-04-24 10:03:48 +02:00
ulteq
ddf62b6db4
Added missing privates
2015-04-23 16:08:02 +02:00
ulteq
be595d9c9e
Made the wind speed change less often during good weather
2015-04-23 11:54:24 +02:00
ulteq
09ff217e93
Improved the init process
2015-04-22 21:16:01 +02:00
ulteq
a9726d2b60
Simplified the wind direction change calculation
2015-04-22 19:46:27 +02:00
ulteq
ac5d593271
Switched to an improved version of the old getWind function
2015-04-22 12:56:07 +02:00
ulteq
428baefc2c
Added random temperatureShift, badWeatherShift, humidityShift
2015-04-21 20:41:50 +02:00
ulteq
af4fdda477
Continued work on the new wind system:
...
* Moved the wind data into CfgWorlds.hpp
* Modified the contents of ACE_WIND_PARAMS
* new getWind function for the clients
* new wind init based on the real world weather data
2015-04-21 20:20:05 +02:00
ulteq
89e33dc177
Refactored the weather module:
...
* No changes in functionality
2015-04-20 13:54:22 +02:00
esteldunedain
54daa02aa4
Weather: headers + privates
2015-04-17 01:44:38 -03:00
Nicolás Badano
bba99d64f7
weather: added temperature simulation and air density
2015-01-21 00:14:51 -03:00
Nicolás Badano
b3d14987bc
weather: sync misc. parameters: lightnings, rainbow, fog
2015-01-21 00:00:06 -03:00
Nicolás Badano
64649fa781
weather: tabs to spaces
2015-01-20 23:58:19 -03:00
Nicolás Badano
2f12fca967
Wind: remove debug prints
2015-01-20 23:19:57 -03:00
Nicolás Badano
a29e08ed3c
Ensure the transition time for rain is never 0
2015-01-20 23:18:17 -03:00
Nicolás Badano
4a29f6a3c3
Set wind and rain syncing. Change ACE_wind from macro to global variable
2015-01-20 23:17:09 -03:00
Nicolás Badano
71bd34234b
weather: initial port of ACE2 features. variables names changed to use macros.
2015-01-20 20:18:40 -03:00