summaryrefslogtreecommitdiffstats
path: root/src/render/Weather.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-07 22:43:19 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-07 22:43:19 +0200
commitf7ac85e4925f6133f359385b9efb35c8d9d63a5a (patch)
tree3a7cd8b02f5ee590538f7ce1628966272ad14999 /src/render/Weather.h
parentfinished CCollision (diff)
downloadre3-f7ac85e4925f6133f359385b9efb35c8d9d63a5a.tar
re3-f7ac85e4925f6133f359385b9efb35c8d9d63a5a.tar.gz
re3-f7ac85e4925f6133f359385b9efb35c8d9d63a5a.tar.bz2
re3-f7ac85e4925f6133f359385b9efb35c8d9d63a5a.tar.lz
re3-f7ac85e4925f6133f359385b9efb35c8d9d63a5a.tar.xz
re3-f7ac85e4925f6133f359385b9efb35c8d9d63a5a.tar.zst
re3-f7ac85e4925f6133f359385b9efb35c8d9d63a5a.zip
Diffstat (limited to '')
-rw-r--r--src/render/Weather.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/render/Weather.h b/src/render/Weather.h
index 63def9b9..9e4ea378 100644
--- a/src/render/Weather.h
+++ b/src/render/Weather.h
@@ -8,6 +8,14 @@ enum {
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;
@@ -46,4 +54,18 @@ public:
static void ForceWeatherNow(int16);
static void StoreWeatherState();
static void RestoreWeatherState();
+ static void AddRain();
};
+
+enum {
+ NUM_RAIN_STREAKS = 35
+};
+
+struct tRainStreak
+{
+ CVector position;
+ CVector direction;
+ uint32 timer;
+};
+
+extern RwTexture* (&gpRainDropTex)[4]; \ No newline at end of file