]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Hitch.hpp
Port over remaining Point3D usage to the more type and unit safe SG* classes.
[flightgear.git] / src / FDM / YASim / Hitch.hpp
index 053680516ebe1e4d4da6b2fcb217f497c5aad010..d97fa9ae9be0761cb2b78d47bf03a55df7025057 100755 (executable)
@@ -1,6 +1,8 @@
 #ifndef _HITCH_HPP
 #define _HITCH_HPP
-class SGPropertyNode;
+
+#include <Main/fg_props.hxx>
+
 namespace yasim {
 
 class Ground;
@@ -76,7 +78,7 @@ private:
     State* _state;
     float _dist;
     float _timeLagCorrectedDist;
-    SGPropertyNode *_towEndNode;
+    SGPropertyNode_ptr _towEndNode;
     const char *_towEndPropertyName;
     bool _towEndIsConnectedToProperty;
     bool _nodeIsMultiplayer;
@@ -102,10 +104,11 @@ private:
     float _mp_force[3];
     bool _mp_is_slave;
     bool _mp_open_last_state;
-    
+
     bool _displayed_len_lower_dist_message;
     bool _last_wish;
 
+    SGPropertyNode_ptr _node;
 };
 
 }; // namespace yasim