summaryrefslogtreecommitdiff
path: root/indra/newview/llenvadapters.h
diff options
context:
space:
mode:
authorGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-02-28 21:46:30 +0000
committerGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-02-28 21:46:30 +0000
commit72270213f5eebd019b10bdd6ec15020ba3d2ecf5 (patch)
treebe92c250563eedb720940b32cf42e328a49ea6b6 /indra/newview/llenvadapters.h
parent31017934581437836e847d8fcb5a76489f3baf50 (diff)
Add 3p package for adv atmospherics to autobuild.
Mark legacy atmospherics code with ifdefs. Fix up legacy uplift to include new atmospherics settings.
Diffstat (limited to 'indra/newview/llenvadapters.h')
-rw-r--r--indra/newview/llenvadapters.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/indra/newview/llenvadapters.h b/indra/newview/llenvadapters.h
index 8b93bbbe9f..c48311863e 100644
--- a/indra/newview/llenvadapters.h
+++ b/indra/newview/llenvadapters.h
@@ -31,6 +31,7 @@
#include "v3color.h"
#include "v4math.h"
#include "llsettingsbase.h"
+#include "llsettingssky.h"
class WLColorControl
{
@@ -364,25 +365,27 @@ public:
WLFloatControl mWLGamma;
/// Atmospherics
+#if SUPPORT_LEGACY_ATMOSPHERICS
+ WLColorControl mAmbient;
WLColorControl mBlueHorizon;
WLFloatControl mHazeDensity;
WLColorControl mBlueDensity;
WLFloatControl mDensityMult;
+ WLFloatControl mDistanceMult;
WLFloatControl mHazeHorizon;
WLFloatControl mMaxAlt;
+#endif
/// Lighting
WLColorControl mLightnorm;
- WLColorControl mSunlight;
- WLColorControl mAmbient;
+ WLColorControl mSunlight;
WLColorControl mGlow;
/// Clouds
WLColorControl mCloudColor;
WLColorControl mCloudMain;
WLFloatControl mCloudCoverage;
- WLColorControl mCloudDetail;
- WLFloatControl mDistanceMult;
+ WLColorControl mCloudDetail;
WLFloatControl mCloudScale;
};