]> git.mxchange.org Git - flightgear.git/blobdiff - src/Viewer/viewmgr.hxx
MapWidget: make use of the new POI system and display cities on the map.
[flightgear.git] / src / Viewer / viewmgr.hxx
index d094a3d65961eefea0a20739448571700011e510..0a7833ea0b1d267320ef00af339a3c6f981cab3a 100644 (file)
@@ -34,7 +34,6 @@
 
 // forward decls
 class FGViewer;
-class SGSoundMgr;
 typedef SGSharedPtr<FGViewer> FGViewerPtr;
 
 // Define a structure containing view information
@@ -119,6 +118,10 @@ private:
     int getView () const;
     void setView (int newview);
 
+    double getViewLon_deg() const;
+    double getViewLat_deg() const;
+    double getViewElev_ft() const;
+  
 // quaternion accessors, for debugging:
     double getCurrentViewOrientation_w() const;
     double getCurrentViewOrientation_x() const;
@@ -133,8 +136,6 @@ private:
     double getCurrentViewFrame_y() const;
     double getCurrentViewFrame_z() const;
 
-    bool stationary () const;
-
     // copies current offset settings to current-view path...
     void copyToCurrent ();
     
@@ -148,8 +149,8 @@ private:
     int current;
     SGQuatd current_view_orientation, current_view_or_offset;
 
-    SGSoundMgr *smgr;
-
+    SGPropertyNode_ptr current_x_offs, current_y_offs, current_z_offs;
+    SGPropertyNode_ptr target_x_offs, target_y_offs, target_z_offs;
 };
 
 // This takes the conventional aviation XYZ body system