mirror of
https://github.com/td512/re3.git
synced 2026-03-05 15:57:33 +00:00
Merge branch 'miami' into lcs
# Conflicts: # src/control/Script.cpp # src/control/Script4.cpp # src/render/Weather.cpp # src/render/Weather.h # src/vehicles/Automobile.cpp
This commit is contained in:
@@ -59,7 +59,7 @@ float CWeather::Stored_Rain;
|
||||
|
||||
tRainStreak Streaks[NUM_RAIN_STREAKS];
|
||||
|
||||
const int16 WeatherTypesList[] = {
|
||||
int16 WeatherTypesList[] = {
|
||||
WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY,
|
||||
WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY,
|
||||
WEATHER_SUNNY, WEATHER_SUNNY, WEATHER_SUNNY, WEATHER_EXTRA_SUNNY,
|
||||
@@ -78,7 +78,7 @@ const int16 WeatherTypesList[] = {
|
||||
WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY
|
||||
};
|
||||
|
||||
const int16 WeatherTypesList_WithHurricanes[] = {
|
||||
int16 WeatherTypesList_WithHurricanes[] = {
|
||||
WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY,
|
||||
WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY, WEATHER_EXTRA_SUNNY,
|
||||
WEATHER_SUNNY, WEATHER_SUNNY, WEATHER_SUNNY, WEATHER_EXTRA_SUNNY,
|
||||
@@ -674,3 +674,18 @@ void CWeather::RestoreWeatherState()
|
||||
NewWeatherType = Stored_NewWeatherType;
|
||||
OldWeatherType = Stored_OldWeatherType;
|
||||
}
|
||||
|
||||
#ifdef SECUROM
|
||||
void CWeather::ForceHurricaneWeather()
|
||||
{
|
||||
for (int i = 0; i < ARRAY_SIZE(WeatherTypesList_WithHurricanes); i++)
|
||||
{
|
||||
WeatherTypesList[i] = WEATHER_HURRICANE;
|
||||
WeatherTypesList_WithHurricanes[i] = WEATHER_HURRICANE;
|
||||
}
|
||||
|
||||
CWeather::OldWeatherType = WEATHER_HURRICANE;
|
||||
CWeather::NewWeatherType = WEATHER_HURRICANE;
|
||||
CWeather::ForcedWeatherType = WEATHER_HURRICANE;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user