52 lines
1.9 KiB
C
52 lines
1.9 KiB
C
/*******************************************************************************
|
|
|
|
Header: FGDefs.h
|
|
Author: Jon S. Berndt
|
|
Date started: 02/01/99
|
|
|
|
------------- Copyright (C) 1999 Jon S. Berndt (jsb@hal-pc.org) -------------
|
|
|
|
This program is free software; you can redistribute it and/or modify it under
|
|
the terms of the GNU General Public License as published by the Free Software
|
|
Foundation; either version 2 of the License, or (at your option) any later
|
|
version.
|
|
|
|
This program is distributed in the hope that it will be useful, but WITHOUT
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
details.
|
|
|
|
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., 59 Temple
|
|
Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
Further information about the GNU General Public License can also be found on
|
|
the world wide web at http://www.gnu.org.
|
|
|
|
HISTORY
|
|
--------------------------------------------------------------------------------
|
|
02/01/99 JSB Created
|
|
|
|
********************************************************************************
|
|
SENTRY
|
|
*******************************************************************************/
|
|
|
|
#ifndef FGDEFS_H
|
|
#define FGDEFS_H
|
|
|
|
#define MAX_ENGINES 10
|
|
#define MAX_TANKS 30
|
|
#define GRAVITY 32.174
|
|
#define EARTHRAD 20898908.00 // feet
|
|
#define OMEGAEARTH 7.2685E-3 // rad/sec
|
|
#define EARTHRADSQRD 437882827922500.0
|
|
#define ONESECOND 4.848136811E-6
|
|
#define ECCENT 0.996647186
|
|
#define ECCENTSQRD 0.99330561
|
|
#define INVECCENTSQRD 1.0067395
|
|
#define INVECCENTSQRDM1 0.0067395
|
|
#define EPS 0.081819221
|
|
|
|
|
|
/******************************************************************************/
|
|
#endif
|