X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fheading_indicator_dg.hxx;h=5efa505f77af153d1d596cdaeea11f3f21eaeaba;hb=d15d2ad2703e0572e3b9a24d238d6089be1ec6b9;hp=d016ca45b8bf4704a1c0acdc9259d7822ec6915a;hpb=c5c895dae250898d667ae29641c51a550be7ee90;p=flightgear.git diff --git a/src/Instrumentation/heading_indicator_dg.hxx b/src/Instrumentation/heading_indicator_dg.hxx index d016ca45b..5efa505f7 100644 --- a/src/Instrumentation/heading_indicator_dg.hxx +++ b/src/Instrumentation/heading_indicator_dg.hxx @@ -40,6 +40,7 @@ public: virtual ~HeadingIndicatorDG (); virtual void init (); + virtual void reinit (); virtual void bind (); virtual void unbind (); virtual void update (double dt); @@ -47,11 +48,10 @@ public: private: Gyro _gyro; - double _last_heading_deg; + double _last_heading_deg, _last_indicated_heading_dg; - string name; + std::string name; int num; - //string vacuum_system; SGPropertyNode_ptr _offset_node; SGPropertyNode_ptr _heading_in_node;