]> git.mxchange.org Git - flightgear.git/blob - src/FDM/UFO.hxx
Fix a numeric_limits problem for older stdc++ libraries.
[flightgear.git] / src / FDM / UFO.hxx
1 // UFO.hxx -- interface to the "UFO" flight model
2 //
3 // Written by Curtis Olson, started October 1999.
4 // Slightly modified from MagicCarpet.hxx by Jonathan Polley, April 2002
5 //
6 // Copyright (C) 1999-2002  Curtis L. Olson  - curt@flightgear.org
7 //
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License as
10 // published by the Free Software Foundation; either version 2 of the
11 // License, or (at your option) any later version.
12 //
13 // This program is distributed in the hope that it will be useful, but
14 // WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 // General Public License for more details.
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 //
22
23
24 #ifndef _UFO_HXX
25 #define _UFO_HXX
26
27
28 #include "flight.hxx"
29
30
31 class FGUFO: public FGInterface {
32     double Throttle;
33     double Aileron;
34     double Elevator;
35     double Rudder;
36 public:
37     FGUFO( double dt );
38     ~FGUFO();
39
40     // reset flight params to a specific position 
41     void init();
42
43     // update position based on inputs, positions, velocities, etc.
44     void update( double dt );
45
46 };
47
48
49 #endif // _UFO_HXX