//
// Copyright (C) 2000 Curtis L. Olson - curt@flightgear.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 library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Library 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
+// This library 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.
+// Library 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+// You should have received a copy of the GNU Library General Public
+// License along with this library; if not, write to the
+// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
//
// $Id$
-#ifndef _SUPPORTGEAR_CONSTANTS_H
-#define _SUPPORTGEAR_CONSTANTS_H
+#ifndef _SG_CONSTANTS_H
+#define _SG_CONSTANTS_H
#ifdef HAVE_CONFIG_H
#define RESQ_FT 437882827922500. // ft
#define RESQ_M 40680645877797.1344 // meter
+#if 0
// Value of earth flattening parameter from ref [8]
//
// Note: FP = f
// E = 1-f
// EPS = sqrt(1-(1-f)^2)
//
-
+
#define FP 0.003352813178
#define E 0.996647186
#define EPS 0.081819221
#define MJD0 2415020.0
#define J2000 (2451545.0 - MJD0)
#define SIDRATE .9972695677
-
+#endif
// Conversions
#define FG_EPSILON 0.0000001
-#endif // _SUPPORTGEAR_CONSTANTS_H
+// Highest binobj format version we know how to read/write. This starts at
+// 0 and can go up to 65535
+#define SG_BINOBJ_VERSION 5
+// for backwards compatibility
+#define SG_SCENERY_FILE_FORMAT "0.4"
+
+
+#endif // _SG_CONSTANTS_H