]> git.mxchange.org Git - flightgear.git/blobdiff - src/Time/light.hxx
Fix shared library build for metar executable
[flightgear.git] / src / Time / light.hxx
index f3ecb32e16bf5f8f8c30c23ca2435ca6c36e38f3..a7be74786792882f5af0bd63fceaf1657c9153e9 100644 (file)
@@ -97,14 +97,23 @@ private:
     SGVec4f _adj_fog_color;
     SGVec4f _adj_sky_color;
 
+    // input parameters affected by the weather system
+    float _saturation;
+    float _scattering;
+    float _overcast;
+
     double _dt_total;
 
     void update_sky_color ();
     void update_adj_fog_color ();
 
+    void updateSunPos();
+    
     // properties for chrome light; not a tie because I want to fire
     // property listeners when the values change.
     SGPropertyNode_ptr _chromeProps[4];
+  
+    SGPropertyNode_ptr _sunAngleRad;
 public:
 
     FGLight ();
@@ -129,7 +138,6 @@ public:
     inline const SGVec4f& adj_fog_color () const { return _adj_fog_color; }
     inline const SGVec4f& adj_sky_color () const { return _adj_sky_color; }
 
-
     // Sun related functions
 
     inline double get_sun_angle () const { return _sun_angle; }