]> 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 87beb5945493f0d5165db33f752e4e9f25315427..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,9 @@ public:
         double             fuse_range;
         string             submodel;
         int                sub_id;
+        bool               force_stabilised;
+        bool               ext_force;
+        string             force_path;
     }   submodel;
 
     typedef struct {
@@ -115,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;
@@ -171,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;