]> git.mxchange.org Git - flightgear.git/blobdiff - src/Aircraft/controls.hxx
Don't restore initial screen geometry because there is nothing in fg_os* to resize...
[flightgear.git] / src / Aircraft / controls.hxx
index 0d107b37340dc07f9a03664a9ec858528007382f..e9e5562c71b80e817c678d04580c648c640b581b 100644 (file)
@@ -16,7 +16,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
@@ -133,6 +133,7 @@ private:
     double mixture[MAX_ENGINES];
     double prop_advance[MAX_ENGINES];
     int magnetos[MAX_ENGINES];
+    int feed_tank[MAX_ENGINES];
     bool nitrous_injection[MAX_ENGINES];  // War Emergency Power
     double cowl_flaps_norm[MAX_ENGINES];
     bool feather[MAX_ENGINES];
@@ -307,6 +308,7 @@ public:
        return prop_advance[engine];
     }
     inline int get_magnetos(int engine) const { return magnetos[engine]; }
+    inline int get_feed_tank(int engine) const { return feed_tank[engine]; }
     inline bool get_nitrous_injection(int engine) const { 
         return nitrous_injection[engine];
     }
@@ -499,6 +501,7 @@ public:
     void move_prop_advance( int engine, double amt );
     void set_magnetos( int engine, int pos );
     void move_magnetos( int engine, int amt );
+    void set_feed_tank( int engine, int tank );
     void set_nitrous_injection( int engine, bool val );
     void set_cowl_flaps_norm( int engine, double pos );
     void move_cowl_flaps_norm( int engine, double amt );