]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/submodel.hxx
Improove FGTileMgr::scenery_available for small ranges.
[flightgear.git] / src / AIModel / submodel.hxx
index 177741e4b9617721124d09ed79553d9e9746fa5b..7ca046f9dc0789f8334c3a572634772d7635ea15 100644 (file)
@@ -19,9 +19,9 @@
 
 #include <Main/fg_props.hxx>
 
-SG_USING_STD(vector);
-SG_USING_STD(string);
-SG_USING_STD(list);
+using std::vector;
+using std::string;
+using std::list;
 
 class FGAIBase;
 
@@ -68,6 +68,7 @@ public:
         double             fuse_range;
         string             submodel;
         int                sub_id;
+        bool               force_stabilised;
         bool               ext_force;
         string             force_path;
     }   submodel;
@@ -117,9 +118,9 @@ private:
     float in[3];
     float out[3];
 
-    double Rx, Ry, Rz;
-    double Sx, Sy, Sz;
-    double Tx, Ty, Tz;
+    //double Rx, Ry, Rz;
+    //double Sx, Sy, Sz;
+    //double Tx, Ty, Tz;
 
     float cosRx, sinRx;
     float cosRy, sinRy;
@@ -173,7 +174,7 @@ private:
     IC_struct  IC;
 
     // A list of pointers to AI objects
-    typedef list <SGSharedPtr<FGAIBase> > sm_list_type;
+    typedef list <osg::ref_ptr<FGAIBase> > sm_list_type;
     typedef sm_list_type::iterator sm_list_iterator;
     typedef sm_list_type::const_iterator sm_list_const_iterator;