]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/viewmgr.hxx
Support scenery reloading (needs simgear update).
[flightgear.git] / src / Main / viewmgr.hxx
index c296b71559b50e2018d585e3272c58d52f1ebcb3..c14347e26921205a34da761f59b30d9ad94bc443 100644 (file)
@@ -69,14 +69,12 @@ public:
       
     // setters
     void clear();
-    inline void set_view( const int v ) { current = v; }
+
     void add_view( FGViewer * v );
     
-    // copies current offset settings to current-view path...
-    void copyToCurrent ();
-
 private:
-
+    void do_bind();
+    
     list<const char*> tied_props;
 
     double axis_long;
@@ -136,6 +134,10 @@ private:
 
     bool stationary () const;
 
+    // copies current offset settings to current-view path...
+    void copyToCurrent ();
+    
+    bool inited;
     SGPropertyNode_ptr view_number;
     vector<SGPropertyNode_ptr> config_list;
     typedef std::vector<FGViewerPtr> viewer_list;