]> git.mxchange.org Git - flightgear.git/blobdiff - src/MultiPlayer/mpplayer.hxx
Portability fix - use SimGear when available
[flightgear.git] / src / MultiPlayer / mpplayer.hxx
index c43b6896731c148e426d334be065048cb61e1393..38165720798da403ef99f2a3680a0b71c0e3a075 100644 (file)
@@ -46,7 +46,6 @@
 #include <simgear/io/sg_socket_udp.hxx>
 #include <simgear/props/props.hxx>
 #include <time.h>
-#include <sys/time.h>
 
 #include STL_STRING
 SG_USING_STD(string);
@@ -93,7 +92,7 @@ public:
                      const double left_aileron, const double right_aileron, const double elevator, const double rudder,
                      //const double rpms[6],
                      const double rateH, const double rateR, const double rateP,
-                                        const double accN, const double accE, const double accD);
+                     const double accN, const double accE, const double accD);
     /** Sets a property for this player
     */
     void SetProperty(string property, SGPropertyNode::Type type, double val);
@@ -136,14 +135,14 @@ private:
     double  m_accE;             // ...
     double  m_accD;             // ...
     double  m_left_aileron;     // ...
-       double  m_right_aileron;     // ...
+    double  m_right_aileron;     // ...
     double  m_elevator;         // ...
     double  m_rudder;           // ...
     //double  m_rpms[6];          // ...
     double  m_rateH;            // ...
     double  m_rateR;            // ...
     double  m_rateP;            // ...
-       
+
     time_t  m_LastUpdate;       // last time update data received
     int     m_LastTime;         // last seconds according to the packet
     int     m_LastUTime;        // last microseconds according to the packet