]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/options.hxx
Renamed fg_types.hxx -> sg_types.hxx
[flightgear.git] / src / Main / options.hxx
index 09e2d87b5056377e02dd03758509e454e88d2524..569a1f231245e77c01ffc5d0cf161a844194ef03 100644 (file)
@@ -46,7 +46,7 @@
 extern bool global_fullscreen;
 #endif
 
-#include <simgear/math/fg_types.hxx>
+#include <simgear/math/sg_types.hxx>
 #include <simgear/timing/sg_time.hxx>
 
 #include STL_STRING
@@ -128,6 +128,9 @@ private:
     // The flight gear "root" directory
     string fg_root;
 
+    // The scenery "root" directory
+    string fg_scenery;
+
     // Starting position and orientation
     string airport_id;  // ID of initial starting airport
     double lon;         // starting longitude in degrees (west = -)
@@ -224,6 +227,7 @@ public:
 
     // Query functions
     inline string get_fg_root() const { return fg_root; }
+    inline string get_fg_scenery() const { return fg_scenery; }
     inline string get_airport_id() const { return airport_id; }
     inline double get_lon() const { return lon; }
     inline double get_lat() const { return lat; }
@@ -294,6 +298,7 @@ public:
 
     // Update functions
     inline void set_fg_root (const string value) { fg_root = value; }
+    inline void set_fg_scenery (const string value) { fg_scenery = value; }
     inline void set_airport_id( const string id ) { airport_id = id; }
     inline void set_lon (double value) { lon = value; }
     inline void set_lat (double value) { lat = value; }