OpenMW
|
Defines a single weather setting (according to INI) More...
#include <weather.hpp>
Public Member Functions | |
Weather (const std::string &name, const Fallback::Map &fallback, float stormWindSpeed, float rainSpeed, const std::string &particleEffect) | |
float | transitionDelta () const |
float | cloudBlendFactor (const float transitionRatio) const |
float | calculateThunder (const float transitionRatio, const float elapsedSeconds, const bool isPaused) |
Public Attributes | |
std::string | mCloudTexture |
TimeOfDayInterpolator< osg::Vec4f > | mSkyColor |
TimeOfDayInterpolator< osg::Vec4f > | mFogColor |
TimeOfDayInterpolator< osg::Vec4f > | mAmbientColor |
TimeOfDayInterpolator< osg::Vec4f > | mSunColor |
TimeOfDayInterpolator< float > | mLandFogDepth |
osg::Vec4f | mSunDiscSunsetColor |
float | mWindSpeed |
float | mCloudSpeed |
float | mGlareView |
std::string | mAmbientLoopSoundID |
bool | mIsStorm |
float | mRainSpeed |
float | mRainFrequency |
std::string | mParticleEffect |
std::string | mRainEffect |
Private Member Functions | |
void | flashDecrement (const float elapsedSeconds) |
float | thunderChance (const float transitionRatio, const float elapsedSeconds) const |
void | lightningAndThunder (void) |
Private Attributes | |
float | mTransitionDelta |
float | mCloudsMaximumPercent |
float | mThunderFrequency |
float | mThunderThreshold |
std::string | mThunderSoundID [4] |
float | mFlashDecrement |
float | mFlashBrightness |
Defines a single weather setting (according to INI)
Weather::Weather | ( | const std::string & | name, |
const Fallback::Map & | fallback, | ||
float | stormWindSpeed, | ||
float | rainSpeed, | ||
const std::string & | particleEffect | ||
) |
float Weather::calculateThunder | ( | const float | transitionRatio, |
const float | elapsedSeconds, | ||
const bool | isPaused | ||
) |
float Weather::cloudBlendFactor | ( | const float | transitionRatio | ) | const |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
float Weather::transitionDelta | ( | ) | const |
TimeOfDayInterpolator<osg::Vec4f> MWWorld::Weather::mAmbientColor |
std::string MWWorld::Weather::mAmbientLoopSoundID |
|
private |
float MWWorld::Weather::mCloudSpeed |
std::string MWWorld::Weather::mCloudTexture |
|
private |
|
private |
TimeOfDayInterpolator<osg::Vec4f> MWWorld::Weather::mFogColor |
float MWWorld::Weather::mGlareView |
bool MWWorld::Weather::mIsStorm |
TimeOfDayInterpolator<float> MWWorld::Weather::mLandFogDepth |
std::string MWWorld::Weather::mParticleEffect |
std::string MWWorld::Weather::mRainEffect |
float MWWorld::Weather::mRainFrequency |
float MWWorld::Weather::mRainSpeed |
TimeOfDayInterpolator<osg::Vec4f> MWWorld::Weather::mSkyColor |
TimeOfDayInterpolator<osg::Vec4f> MWWorld::Weather::mSunColor |
osg::Vec4f MWWorld::Weather::mSunDiscSunsetColor |
|
private |
|
private |
|
private |
|
private |
float MWWorld::Weather::mWindSpeed |