]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/flight.hxx
Use tiedPropertyLists instead of manually matched tie/untie calls.
[flightgear.git] / src / FDM / flight.hxx
index 35ae2550a900924e25987fb9c63ccd008fe12829..9c312f33dcd280b21cfd0ead54e16737c72b1314 100644 (file)
@@ -82,6 +82,7 @@
 #include <simgear/compiler.h>
 #include <simgear/constants.h>
 #include <simgear/structure/subsystem_mgr.hxx>
+#include <simgear/props/tiedpropertylist.hxx>
 #include <FDM/groundcache.hxx>
 
 using std::list;
@@ -127,7 +128,7 @@ private:
     bool inited;
 
     // Have we bound to the property system
-    bool bound; 
+    bool bound;
 
     // periodic update management variable.  This is a scheme to run
     // the fdm with a fixed delta-t.  We control how many iteration of
@@ -187,6 +188,8 @@ private:
     double altitude_agl;
     double track;
 
+    simgear::TiedPropertyList _tiedProperties;
+
     // the ground cache object itself.
     FGGroundCache ground_cache;