From: curt Date: Mon, 23 Jul 2001 20:31:40 +0000 (+0000) Subject: - added get_gear_down and set_gear_down (bool) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=450de25cc7c231dae82ae22d641a631f2e0b4b8c;p=flightgear.git - added get_gear_down and set_gear_down (bool) --- diff --git a/src/Controls/controls.hxx b/src/Controls/controls.hxx index 414a11458..c90bcb304 100644 --- a/src/Controls/controls.hxx +++ b/src/Controls/controls.hxx @@ -66,6 +66,7 @@ private: double prop_advance[MAX_ENGINES]; double brake[MAX_WHEELS]; bool throttle_idle; + bool gear_down; SGPropertyNode * auto_coordination; @@ -100,6 +101,7 @@ public: return prop_advance[engine]; } inline double get_brake(int wheel) const { return brake[wheel]; } + inline bool get_gear_down() const { return gear_down; } // Update functions inline void set_aileron( double pos ) { @@ -264,6 +266,7 @@ public: } } } + inline void set_gear_down( bool gear ) { gear_down = gear; } };