]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/native_fdm.hxx
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / Network / native_fdm.hxx
index dba123766228f27539c0af18ca88a71e768b27c6..7d55b36385acda31551fc484db0371c9e8f2c58d 100644 (file)
@@ -27,6 +27,8 @@
 
 #include <simgear/compiler.h>
 
+#include <simgear/timing/timestamp.hxx>
+
 #include <FDM/flight.hxx>
 
 #include "protocol.hxx"
@@ -37,6 +39,7 @@ class FGNativeFDM : public FGProtocol, public FGInterface {
 
     FGNetFDM buf;
     int length;
+    SGTimeStamp last_time;
 
 public:
 
@@ -54,6 +57,15 @@ public:
 };
 
 
+// Helper functions which may be useful outside this class
+
+// Populate the FGNetFDM structure from the property tree.
+void FGProps2NetFDM( FGNetFDM *net, bool net_byte_order = true );
+
+// Update the property tree from the FGNetFDM structure.
+void FGNetFDM2Props( FGNetFDM *net, bool net_byte_order = true );
+
+
 #endif // _FG_NATIVE_FDM_HXX