X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FViewer%2Fviewmgr.hxx;h=0a7833ea0b1d267320ef00af339a3c6f981cab3a;hb=6bf47cd248ed388e6a4dd3ffa2d00977b00b62fb;hp=d094a3d65961eefea0a20739448571700011e510;hpb=89b41395d861a49ad543af166c0bd41c14dd0d2b;p=flightgear.git diff --git a/src/Viewer/viewmgr.hxx b/src/Viewer/viewmgr.hxx index d094a3d65..0a7833ea0 100644 --- a/src/Viewer/viewmgr.hxx +++ b/src/Viewer/viewmgr.hxx @@ -34,7 +34,6 @@ // forward decls class FGViewer; -class SGSoundMgr; typedef SGSharedPtr 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