CBoat and friends

This commit is contained in:
aap
2020-07-01 18:03:39 +02:00
parent 389123cff3
commit 2141247e08
12 changed files with 883 additions and 313 deletions

View File

@ -98,5 +98,6 @@ public:
};
extern bool clearWaterDrop;
extern int32 numWaterDropOnScreen;
VALIDATE_SIZE(CParticle, 0x58);

View File

@ -279,7 +279,7 @@ void CWeather::Update(void)
}
Wind = InterpolationValue * Windiness[NewWeatherType] + (1.0f - InterpolationValue) * Windiness[OldWeatherType];
WindClipped = Max(1.0f, Wind);
WindClipped = Min(1.0f, Wind);
if (CClock::GetHours() == 20)
TrafficLightBrightness = CClock::GetMinutes() / 60.0f;