]> git.mxchange.org Git - flightgear.git/blobdiff - src/Model/modelmgr.hxx
Modified Files:
[flightgear.git] / src / Model / modelmgr.hxx
index 0bb286b5de81a8c2cd929c33f4deb1a59974b8b7..b26bc05e39215b0c626f40721e4f42aa4b7a432e 100644 (file)
@@ -18,7 +18,6 @@
 SG_USING_STD(vector);
 
 // Don't pull in headers, since we don't need them here.
-class ssgSelector;
 class SGPropertyNode;
 class SGModelPlacement;
 
@@ -48,12 +47,14 @@ public:
     Instance ();
     virtual ~Instance ();
     SGModelPlacement * model;
+    SGPropertyNode_ptr node;
     SGPropertyNode_ptr lon_deg_node;
     SGPropertyNode_ptr lat_deg_node;
     SGPropertyNode_ptr elev_ft_node;
     SGPropertyNode_ptr roll_deg_node;
     SGPropertyNode_ptr pitch_deg_node;
     SGPropertyNode_ptr heading_deg_node;
+    bool shadow;
   };
 
   FGModelMgr ();
@@ -86,9 +87,6 @@ public:
    */
   virtual void remove_instance (Instance * instance);
 
-  virtual void draw ();
-
-
 
 private:
   /**
@@ -99,6 +97,7 @@ private:
   public:
     Listener(FGModelMgr *mgr) : _mgr(mgr) {}
     virtual void childAdded (SGPropertyNode * parent, SGPropertyNode * child);
+    virtual void childRemoved (SGPropertyNode * parent, SGPropertyNode * child);
 
   private:
     FGModelMgr * _mgr;
@@ -109,8 +108,6 @@ private:
 
   vector<Instance *> _instances;
 
-  ssgSharedPtr<ssgSelector> _selector;
-
 };
 
 #endif // __MODELMGR_HXX