From 5cfb0ef1ec76c5631992373d68880d5b43de5e96 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 2 Nov 1998 18:25:29 +0000 Subject: [PATCH] Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers) Other misc. tweaks. --- fg_limits.h | 70 ---------------------------------------- fg_types.h | 93 ----------------------------------------------------- 2 files changed, 163 deletions(-) delete mode 100644 fg_limits.h delete mode 100644 fg_types.h diff --git a/fg_limits.h b/fg_limits.h deleted file mode 100644 index 509dbbcf2..000000000 --- a/fg_limits.h +++ /dev/null @@ -1,70 +0,0 @@ -/************************************************************************** - * limits.h -- program wide limits - * - * Written by Curtis Olson, started May 1997. - * - * Copyright (C) 1997 Curtis L. Olson - curt@infoplane.com - * - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * $Id$ - * (Log is kept at end of this file) - **************************************************************************/ - - -#ifndef _FG_LIMITS_H -#define _FG_LIMITS_H - - -/* Maximum number of engines for a single aircraft */ -#define FG_MAX_ENGINES 10 - -#define MAXPATH 80 // Arbitrary limit on path names to make - // a limit on pathways supported. - -#endif /* _FG_LIMITS_H */ - - -/* $Log$ -/* Revision 1.3 1998/06/27 16:51:15 curt -/* #define _FG_LIMITS_H instead of _LIMITS_H -/* - * Revision 1.2 1998/02/12 21:59:43 curt - * Incorporated code changes contributed by Charlie Hotchkiss - * - * - * Revision 1.1 1998/01/27 00:46:51 curt - * prepended "fg_" on the front of these to avoid potential conflicts with - * system include files. - * - * Revision 1.2 1998/01/22 02:59:35 curt - * Changed #ifdef FILE_H to #ifdef _FILE_H - * - * Revision 1.1 1997/12/15 21:02:16 curt - * Moved to .../FlightGear/Src/Include/ - * - * Revision 1.4 1997/07/23 21:52:11 curt - * Put comments around the text after an #endif for increased portability. - * - * Revision 1.3 1997/05/31 19:16:24 curt - * Elevator trim added. - * - * Revision 1.2 1997/05/27 17:48:10 curt - * Added GNU copyright. - * - * Revision 1.1 1997/05/16 16:08:00 curt - * Initial revision. - * - */ diff --git a/fg_types.h b/fg_types.h deleted file mode 100644 index 6b389a037..000000000 --- a/fg_types.h +++ /dev/null @@ -1,93 +0,0 @@ -/************************************************************************** - * types.h -- various data structure definitions - * - * Written by Curtis Olson, started July 1997. - * - * Copyright (C) 1997 Curtis L. Olson - curt@infoplane.com - * - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * $Id$ - * (Log is kept at end of this file) - **************************************************************************/ - - -#ifndef _FG_TYPES_H -#define _FG_TYPES_H - - -/* A simple 3d cartesian point */ -typedef struct { - union { - double x; - double lon; - }; - union { - double y; - double lat; - }; - union { - double z; - double radius; - }; -} fgPoint3d; - - -/* A simple 3d polar point */ -typedef struct { - double lon, lat, radius; -} fgPolarPoint3dOld; - - -/* A simple geodetic point */ -typedef struct { - double lon, lat, elev; -} fgGeodeticPoint3d; - - -#endif /* _FG_TYPES_H */ - - -/* $Log$ -/* Revision 1.4 1998/07/08 14:36:29 curt -/* Changed name of EQUATORIAL_RADIUS_KM and RESQ_KM to "M" since they were -/* in meters anyways. -/* -/* Unified fgCartesianPoint3d and fgPolarPoint3d in a single struct called -/* fgPoint3d. -/* - * Revision 1.3 1998/05/02 01:48:39 curt - * typedef-ified fgCartesianPoint3d - * - * Revision 1.2 1998/04/08 23:35:33 curt - * Tweaks to Gnu automake/autoconf system. - * - * Revision 1.1 1998/01/27 00:46:51 curt - * prepended "fg_" on the front of these to avoid potential conflicts with - * system include files. - * - * Revision 1.2 1998/01/22 02:59:36 curt - * Changed #ifdef FILE_H to #ifdef _FILE_H - * - * Revision 1.1 1997/12/15 21:02:17 curt - * Moved to .../FlightGear/Src/Include/ - * - * Revision 1.2 1997/07/23 21:52:12 curt - * Put comments around the text after an #endif for increased portability. - * - * Revision 1.1 1997/07/07 21:03:30 curt - * Initial revision. - * - */