X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Foptions.hxx;h=569a1f231245e77c01ffc5d0cf161a844194ef03;hb=2c595081560143927271b55f458a877d92df1503;hp=09e2d87b5056377e02dd03758509e454e88d2524;hpb=342554fadb990680ac23eb04b8dbffe36b5e2d73;p=flightgear.git diff --git a/src/Main/options.hxx b/src/Main/options.hxx index 09e2d87b5..569a1f231 100644 --- a/src/Main/options.hxx +++ b/src/Main/options.hxx @@ -46,7 +46,7 @@ extern bool global_fullscreen; #endif -#include +#include #include #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; }