1 /*******************************************************************************
7 ------------- Copyright (C) 1999 Jon S. Berndt (jsb@hal-pc.org) -------------
9 This program is free software; you can redistribute it and/or modify it under
10 the terms of the GNU General Public License as published by the Free Software
11 Foundation; either version 2 of the License, or (at your option) any later
14 This program is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19 You should have received a copy of the GNU General Public License along with
20 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
21 Place - Suite 330, Boston, MA 02111-1307, USA.
23 Further information about the GNU General Public License can also be found on
24 the world wide web at http://www.gnu.org.
27 --------------------------------------------------------------------------------
30 ********************************************************************************
32 *******************************************************************************/
37 #define MAX_ENGINES 10
39 #define GRAVITY 32.174
40 #define EARTHRAD 20898908.00 // feet
41 #define OMEGAEARTH 7.2685E-3 // rad/sec
42 #define EARTHRADSQRD 437882827922500.0
43 #define ONESECOND 4.848136811E-6
44 #define ECCENT 0.996647186
45 #define ECCENTSQRD 0.99330561
46 #define INVECCENTSQRD 1.0067395
47 #define INVECCENTSQRDM1 0.0067395
48 #define EPS 0.081819221
49 #define Reng 1716 //Specific Gas Constant,ft^2/(sec^2*R)
50 #define SHRATIO 1.4 //Specific Heat Ratio
51 #define RADTODEG 57.29578
52 #define DEGTORAD 1.745329E-2
53 #define KTSTOFPS 1.68781
54 #define FPSTOKTS 0.592484
55 #define NEEDED_CFG_VERSION 1.30
57 #define HPTOFTLBSSEC 550
58 #define METERS_TO_FEET 3.2808
65 #define FG_ALPHADOT 32
67 #define FG_BETADOT 128
68 #define FG_PITCHRATE 256
69 #define FG_ROLLRATE 512
70 #define FG_YAWRATE 1024
72 #define FG_ALTITUDE 4096
73 #define FG_BI2VEL 8192
74 #define FG_CI2VEL 16384
75 #define FG_ELEVATOR_POS 32768L
76 #define FG_AILERON_POS 65536L
77 #define FG_RUDDER_POS 131072L
78 #define FG_SPDBRAKE_POS 262144L
79 #define FG_SPOILERS_POS 524288L
80 #define FG_FLAPS_POS 1048576L
81 #define FG_ELEVATOR_CMD 2097152L
82 #define FG_AILERON_CMD 4194304L
83 #define FG_RUDDER_CMD 8388608L
84 #define FG_SPDBRAKE_CMD 16777216L
85 #define FG_SPOILERS_CMD 33554432L
86 #define FG_FLAPS_CMD 67108864L
87 #define FG_SPARE3 134217728L
88 #define FG_SPARE4 268435456L
89 #define FG_SPARE5 536870912L
90 #define FG_SPARE6 1073741824L
92 /******************************************************************************/