diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 12:31:23 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 12:31:23 +0200 |
commit | 4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e (patch) | |
tree | c792ebb3effbb2d45c05185c294f34fe17c97a0b /src/render/Weather.h | |
parent | more attractor fixes (diff) | |
download | re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar.gz re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar.bz2 re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar.lz re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar.xz re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar.zst re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Weather.h | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/src/render/Weather.h b/src/render/Weather.h index 4bf2fd8f..bd9b9603 100644 --- a/src/render/Weather.h +++ b/src/render/Weather.h @@ -1,21 +1,17 @@ enum { - WEATHER_SUNNY, + WEATHER_RANDOM = -1, + WEATHER_SUNNY = 0, WEATHER_CLOUDY, WEATHER_RAINY, - WEATHER_FOGGY + WEATHER_FOGGY, + WEATHER_EXTRA_SUNNY, + WEATHER_HURRICANE, + WEATHER_TOTAL }; class CWeather { public: - enum { - WEATHER_RANDOM = -1, - WEATHER_SUNNY = 0, - WEATHER_CLOUDY = 1, - WEATHER_RAINY = 2, - WEATHER_FOGGY = 3, - WEATHER_TOTAL = 4 - }; static int32 SoundHandle; static int32 WeatherTypeInList; @@ -38,13 +34,11 @@ public: static float InterpolationValue; static float WetRoads; static float Rainbow; + static float SunGlare; + static float WindClipped; + static float TrafficLightBrightness; static bool bScriptsForceRain; - static bool Stored_StateStored; - static float Stored_InterpolationValue; - static int16 Stored_OldWeatherType; - static int16 Stored_NewWeatherType; - static float Stored_Rain; static void RenderRainStreaks(void); static void Update(void); @@ -53,9 +47,9 @@ public: static void ReleaseWeather(); static void ForceWeather(int16); static void ForceWeatherNow(int16); - static void StoreWeatherState(); - static void RestoreWeatherState(); static void AddRain(); + static void AddHeatHaze(); + static void AddBeastie(); }; enum { |