- added get_gear_down and set_gear_down (bool)
This commit is contained in:
parent
cf73bc2365
commit
450de25cc7
1 changed files with 3 additions and 0 deletions
|
@ -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; }
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue