/* ** Command & Conquer Generals Zero Hour(tm) ** Copyright 2025 Electronic Arts Inc. ** ** This program is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation, either version 3 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program. If not, see . */ // FILE: Snow.h ///////////////////////////////////////////////////////// #pragma once #ifndef _SNOW_H_ #define _SNOW_H_ #include "Lib/BaseType.h" #include "Common/SubsystemInterface.h" #include "Common/Overridable.h" #include "Common/Override.h" #include "WWMATH/Vector3.h" #include "WWMATH/Vector4.h" //------------------------------------------------------------------------------------------------- /** This structure keeps the transparency and vertex settings, which are the same regardless of the time of day. They can be overridden on a per-map basis. */ //------------------------------------------------------------------------------------------------- class WeatherSetting : public Overridable { MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE( WeatherSetting, "WeatherSetting" ) public: AsciiString m_snowTexture; Real m_snowFrequencyScaleX; /// TheWeatherSetting; class SnowManager : public SubsystemInterface { public : enum{ SNOW_NOISE_X=64, //dimensions table holding noise function used for initial snow positions. SNOW_NOISE_Y=64, //dimensions table holding noise function used for initial snow positions. }; SnowManager(void); ~SnowManager(void); virtual void init( void ); virtual void reset( void ); virtual void updateIniSettings (void); void setVisible(Bool showWeather); ///