|
|
@ -54,12 +54,6 @@ namespace MWRender
|
|
|
|
|
|
|
|
|
|
|
|
void setEnabled(bool enabled);
|
|
|
|
void setEnabled(bool enabled);
|
|
|
|
|
|
|
|
|
|
|
|
void setHour(double hour);
|
|
|
|
|
|
|
|
///< will be called even when sky is disabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void setDate(int day, int month);
|
|
|
|
|
|
|
|
///< will be called even when sky is disabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int getMasserPhase() const;
|
|
|
|
int getMasserPhase() const;
|
|
|
|
///< 0 new moon, 1 waxing or waning cresecent, 2 waxing or waning half,
|
|
|
|
///< 0 new moon, 1 waxing or waning cresecent, 2 waxing or waning half,
|
|
|
|
/// 3 waxing or waning gibbous, 4 full moon
|
|
|
|
/// 3 waxing or waning gibbous, 4 full moon
|
|
|
@ -85,8 +79,6 @@ namespace MWRender
|
|
|
|
|
|
|
|
|
|
|
|
float getPrecipitationAlpha() const;
|
|
|
|
float getPrecipitationAlpha() const;
|
|
|
|
|
|
|
|
|
|
|
|
void setRainSpeed(float speed);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void setStormParticleDirection(const osg::Vec3f& direction);
|
|
|
|
void setStormParticleDirection(const osg::Vec3f& direction);
|
|
|
|
|
|
|
|
|
|
|
|
void setSunDirection(const osg::Vec3f& direction);
|
|
|
|
void setSunDirection(const osg::Vec3f& direction);
|
|
|
@ -165,14 +157,9 @@ namespace MWRender
|
|
|
|
|
|
|
|
|
|
|
|
bool mIsStorm;
|
|
|
|
bool mIsStorm;
|
|
|
|
|
|
|
|
|
|
|
|
int mDay;
|
|
|
|
|
|
|
|
int mMonth;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool mTimescaleClouds;
|
|
|
|
bool mTimescaleClouds;
|
|
|
|
float mCloudAnimationTimer;
|
|
|
|
float mCloudAnimationTimer;
|
|
|
|
|
|
|
|
|
|
|
|
float mRainTimer;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// particle system rotation is independent of cloud rotation internally
|
|
|
|
// particle system rotation is independent of cloud rotation internally
|
|
|
|
osg::Vec3f mStormParticleDirection;
|
|
|
|
osg::Vec3f mStormParticleDirection;
|
|
|
|
osg::Vec3f mStormDirection;
|
|
|
|
osg::Vec3f mStormDirection;
|
|
|
@ -190,9 +177,6 @@ namespace MWRender
|
|
|
|
|
|
|
|
|
|
|
|
VFS::Path::Normalized mCurrentParticleEffect;
|
|
|
|
VFS::Path::Normalized mCurrentParticleEffect;
|
|
|
|
|
|
|
|
|
|
|
|
float mRemainingTransitionTime;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool mRainEnabled;
|
|
|
|
|
|
|
|
std::string mRainEffect;
|
|
|
|
std::string mRainEffect;
|
|
|
|
float mRainSpeed;
|
|
|
|
float mRainSpeed;
|
|
|
|
float mRainDiameter;
|
|
|
|
float mRainDiameter;
|
|
|
@ -206,7 +190,6 @@ namespace MWRender
|
|
|
|
float mBaseWindSpeed;
|
|
|
|
float mBaseWindSpeed;
|
|
|
|
|
|
|
|
|
|
|
|
bool mEnabled;
|
|
|
|
bool mEnabled;
|
|
|
|
bool mSunEnabled;
|
|
|
|
|
|
|
|
bool mSunglareEnabled;
|
|
|
|
bool mSunglareEnabled;
|
|
|
|
|
|
|
|
|
|
|
|
float mPrecipitationAlpha;
|
|
|
|
float mPrecipitationAlpha;
|
|
|
|