mirror of
https://github.com/halpz/re3.git
synced 2025-07-25 14:32:47 +00:00
add the bad crack "features" behind SECUROM define
This commit is contained in:
@ -54,7 +54,7 @@ bool CWeather::bScriptsForceRain;
|
||||
|
||||
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,
|
||||
@ -73,7 +73,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,
|
||||
@ -647,3 +647,18 @@ void CWeather::RenderRainStreaks(void)
|
||||
TempBufferVerticesStored = 0;
|
||||
TempBufferIndicesStored = 0;
|
||||
}
|
||||
|
||||
#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
|
||||
|
@ -55,6 +55,8 @@ public:
|
||||
static void AddRain();
|
||||
static void AddHeatHaze();
|
||||
static void AddBeastie();
|
||||
|
||||
static void ForceHurricaneWeather();
|
||||
};
|
||||
|
||||
enum {
|
||||
|
Reference in New Issue
Block a user