]> git.mxchange.org Git - flightgear.git/blob - src/FDM/UFO.hxx
0a16d455dc4b8c6fef905500c24e8697374a52dd
[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  - http://www.flightgear.org/~curt
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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 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 Elevator_Trim;
36     double Rudder;
37     SGPropertyNode *Speed_Max;
38
39 public:
40     FGUFO( double dt );
41     ~FGUFO();
42
43     // reset flight params to a specific position 
44     void init();
45
46     // update position based on inputs, positions, velocities, etc.
47     void update( double dt );
48
49 };
50
51
52 #endif // _UFO_HXX