]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.hxx
Make HTTPClient a proper subsystem.
[flightgear.git] / src / Main / globals.hxx
index 40c2b697ee838bd34a260668c55cbaf8e0466cc9..97f07307adb119231396c4679f160d5b5d9b4284 100644 (file)
@@ -148,6 +148,7 @@ private:
     bool haveUserSettings;
 
     SGPropertyNode_ptr positionLon, positionLat, positionAlt;
+    SGPropertyNode_ptr viewLon, viewLat, viewAlt;
     SGPropertyNode_ptr orientHeading, orientPitch, orientRoll;
 public:
 
@@ -210,7 +211,7 @@ public:
      *  2. All aircraft directories if branch starts with Aircraft/
      *  3. fg_data directory
      */
-    SGPath resolve_ressource_path(const std::string& branch) const;
+    SGPath resolve_resource_path(const std::string& branch) const;
 
     inline const std::string &get_browser () const { return browser; }
     void set_browser (const std::string &b) { browser = b; }
@@ -249,10 +250,14 @@ public:
 
     SGGeod get_aircraft_position() const;
 
-    SGVec3d get_aircraft_positon_cart() const;
+    SGVec3d get_aircraft_position_cart() const;
 
     void get_aircraft_orientation(double& heading, double& pitch, double& roll);
   
+    SGGeod get_view_position() const;
+  
+    SGVec3d get_view_position_cart() const;
+  
     inline string_list *get_channel_options_list () {
        return channel_options_list;
     }