aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Maps/Map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Maps/Map.h')
-rw-r--r--src/server/game/Maps/Map.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/server/game/Maps/Map.h b/src/server/game/Maps/Map.h
index ce876623d61..2bfee2d8ca0 100644
--- a/src/server/game/Maps/Map.h
+++ b/src/server/game/Maps/Map.h
@@ -264,11 +264,13 @@ struct ZoneDynamicInfo
ZoneDynamicInfo();
uint32 MusicId;
+
std::unique_ptr<Weather> DefaultWeather;
WeatherState WeatherId;
- float WeatherGrade;
+ float Intensity;
+
uint32 OverrideLightId;
- uint32 LightFadeInTime;
+ uint32 TransitionMilliseconds;
};
#pragma pack(pop)
@@ -606,8 +608,8 @@ class TC_GAME_API Map : public GridRefManager<NGridType>
void SetZoneMusic(uint32 zoneId, uint32 musicId);
Weather* GetOrGenerateZoneDefaultWeather(uint32 zoneId);
- void SetZoneWeather(uint32 zoneId, WeatherState weatherId, float weatherGrade);
- void SetZoneOverrideLight(uint32 zoneId, uint32 lightId, uint32 fadeInTime);
+ void SetZoneWeather(uint32 zoneId, WeatherState weatherId, float intensity);
+ void SetZoneOverrideLight(uint32 zoneId, uint32 overrideLightId, uint32 transitionMilliseconds);
void UpdateAreaDependentAuras();