bool haveUserSettings;
SGPropertyNode_ptr positionLon, positionLat, positionAlt;
+ SGPropertyNode_ptr viewLon, viewLat, viewAlt;
SGPropertyNode_ptr orientHeading, orientPitch, orientRoll;
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; }
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;
}