]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.hxx
Added code to put aircraft at the end of the runway closest to the desired
[flightgear.git] / src / Main / globals.hxx
index 9c2f59902bd8935de4a8aeaf8053b29c7926206b..ebe8a8262bab841edee1c01f680ae96075e2a917 100644 (file)
@@ -26,6 +26,7 @@
 
 
 #include <simgear/ephemeris/ephemeris.hxx>
+#include <simgear/magvar/magvar.hxx>
 #include <simgear/timing/sg_time.hxx>
 
 
@@ -50,6 +51,9 @@ private:
     // Sky structures
     SGEphemeris *ephem;
 
+    // Magnetic Variation
+    SGMagVar *mag;
+
 public:
 
     FGGlobals();
@@ -71,6 +75,9 @@ public:
 
     inline SGEphemeris *get_ephem() const { return ephem; }
     inline void set_ephem( SGEphemeris *e ) { ephem = e; }
+
+    inline SGMagVar *get_mag() const { return mag; }
+    inline void set_mag( SGMagVar *m ) { mag = m; }
 };