// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
// $Id$
-// (Log is kept at end of this file)
//*************************************************************************/
}
-// $Log$
-// Revision 1.1 1999/04/05 21:32:48 curt
-// Initial revision
-//
-// Revision 1.27 1999/02/05 21:28:52 curt
-// Modifications to incorporate Jon S. Berndts flight model code.
-//
-// Revision 1.26 1999/02/02 20:13:30 curt
-// MSVC++ portability changes by Bernie Bright:
-//
-// Lib/Serial/serial.[ch]xx: Initial Windows support - incomplete.
-// Simulator/Astro/stars.cxx: typo? included <stdio> instead of <cstdio>
-// Simulator/Cockpit/hud.cxx: Added Standard headers
-// Simulator/Cockpit/panel.cxx: Redefinition of default parameter
-// Simulator/Flight/flight.cxx: Replaced cout with FG_LOG. Deleted <stdio.h>
-// Simulator/Main/fg_init.cxx:
-// Simulator/Main/GLUTmain.cxx:
-// Simulator/Main/options.hxx: Shuffled <fg_serial.hxx> dependency
-// Simulator/Objects/material.hxx:
-// Simulator/Time/timestamp.hxx: VC++ friend kludge
-// Simulator/Scenery/tile.[ch]xx: Fixed using std::X declarations
-// Simulator/Main/views.hxx: Added a constant
-//
-// Revision 1.25 1998/12/09 18:50:15 curt
-// Converted "class fgVIEW" to "class FGView" and updated to make data
-// members private and make required accessor functions.
-//
-// Revision 1.24 1998/12/05 15:54:04 curt
-// Renamed class fgFLIGHT to class FGState as per request by JSB.
-//
-// Revision 1.23 1998/11/23 21:48:28 curt
-// Borland portability tweaks.
-//
-// Revision 1.22 1998/11/07 19:07:07 curt
-// Enable release builds using the --without-logging option to the configure
-// script. Also a couple log message cleanups, plus some C to C++ comment
-// conversion.
-//
-// Revision 1.21 1998/11/06 21:17:42 curt
-// Converted to new logstream debugging facility. This allows release
-// builds with no messages at all (and no performance impact) by using
-// the -DFG_NDEBUG flag.
-//
-// Revision 1.20 1998/11/06 14:47:02 curt
-// Changes to track Bernie's updates to fgstream.
-//
-// Revision 1.19 1998/10/16 23:27:21 curt
-// C++-ifying.
-//
-// Revision 1.18 1998/10/16 00:52:20 curt
-// Converted to Point3D class.
-//
-// Revision 1.17 1998/09/24 15:36:19 curt
-// Converted to c++ style comments.
-//
-// Revision 1.16 1998/09/24 15:25:24 curt
-// Miscellaneous tweaks.
-//
-//
-// Revision 1.15 1998/09/17 18:25:12 curt
-// Fixed output message.
-//
-// Revision 1.14 1998/09/15 04:26:22 curt
-// New textured moon and rewritten/restructured Astro code contributed by Durk
-// Talsma.
-//
-// Revision 1.13 1998/09/01 19:03:04 curt
-// Changes contributed by Bernie Bright <bbright@c031.aone.net.au>
-// - The new classes in libmisc.tgz define a stream interface into zlib.
-// I've put these in a new directory, Lib/Misc. Feel free to rename it
-// to something more appropriate. However you'll have to change the
-// include directives in all the other files. Additionally you'll have
-// add the library to Lib/Makefile.am and Simulator/Main/Makefile.am.
-//
-// The StopWatch class in Lib/Misc requires a HAVE_GETRUSAGE autoconf
-// test so I've included the required changes in config.tgz.
-//
-// There are a fair few changes to Simulator/Objects as I've moved
-// things around. Loading tiles is quicker but thats not where the delay
-// is. Tile loading takes a few tenths of a second per file on a P200
-// but it seems to be the post-processing that leads to a noticeable
-// blip in framerate. I suppose its time to start profiling to see where
-// the delays are.
-//
-// I've included a brief description of each archives contents.
-//
-// Lib/Misc/
-// zfstream.cxx
-// zfstream.hxx
-// C++ stream interface into zlib.
-// Taken from zlib-1.1.3/contrib/iostream/.
-// Minor mods for STL compatibility.
-// There's no copyright associated with these so I assume they're
-// covered by zlib's.
-//
-// fgstream.cxx
-// fgstream.hxx
-// FlightGear input stream using gz_ifstream. Tries to open the
-// given filename. If that fails then filename is examined and a
-// ".gz" suffix is removed or appended and that file is opened.
-//
-// stopwatch.hxx
-// A simple timer for benchmarking. Not used in production code.
-// Taken from the Blitz++ project. Covered by GPL.
-//
-// strutils.cxx
-// strutils.hxx
-// Some simple string manipulation routines.
-//
-// Simulator/Airports/
-// Load airports database using fgstream.
-// Changed fgAIRPORTS to use set<> instead of map<>.
-// Added bool fgAIRPORTS::search() as a neater way doing the lookup.
-// Returns true if found.
-//
-// Simulator/Astro/
-// Modified fgStarsInit() to load stars database using fgstream.
-//
-// Simulator/Objects/
-// Modified fgObjLoad() to use fgstream.
-// Modified fgMATERIAL_MGR::load_lib() to use fgstream.
-// Many changes to fgMATERIAL.
-// Some changes to fgFRAGMENT but I forget what!
-//
-// Revision 1.12 1998/08/27 17:02:01 curt
-// Contributions from Bernie Bright <bbright@c031.aone.net.au>
-// - use strings for fg_root and airport_id and added methods to return
-// them as strings,
-// - inlined all access methods,
-// - made the parsing functions private methods,
-// - deleted some unused functions.
-// - propogated some of these changes out a bit further.
-//
-// Revision 1.11 1998/08/25 20:53:29 curt
-// Shuffled $FG_ROOT file layout.
-//
-// Revision 1.10 1998/08/10 20:33:09 curt
-// Rewrote star loading and rendering to:
-// 1. significantly improve load speed
-// 2. transition from no stars to stars through eight stages.
-//
-// Revision 1.9 1998/08/06 12:45:20 curt
-// Modified to bring in stars in 8 increments based on magnitude, not number
-// of stars.
-//
-// Revision 1.8 1998/07/13 21:00:10 curt
-// Wrote access functions for current fgOPTIONS.
-//
-// Revision 1.7 1998/05/29 20:35:42 curt
-// Added zlib support for reading in compressed data files.
-//
-// Revision 1.6 1998/05/13 18:25:35 curt
-// Root path info moved to fgOPTIONS.
-//
-// Revision 1.5 1998/04/28 01:19:03 curt
-// Type-ified fgTIME and fgVIEW
-//
-// Revision 1.4 1998/04/26 05:10:02 curt
-// "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
-//
-// Revision 1.3 1998/04/25 22:06:26 curt
-// Edited cvs log messages in source files ... bad bad bad!
-//
-// Revision 1.2 1998/04/24 00:45:03 curt
-// Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
-// Fixed a bug when generating sky colors.
-//
-// Revision 1.1 1998/04/22 13:21:34 curt
-// C++ - ifing the code a bit.
-//
-// Revision 1.11 1998/04/18 04:13:58 curt
-// Moved fg_debug.c to it's own library.
-//
-// Revision 1.10 1998/04/03 21:52:51 curt
-// Converting to Gnu autoconf system.
-//
-// Revision 1.9 1998/03/14 00:27:12 curt
-// Updated fgGENERAL to a "type" of struct.
-//
-// Revision 1.8 1998/02/12 21:59:38 curt
-// Incorporated code changes contributed by Charlie Hotchkiss
-// <chotchkiss@namg.us.anritsu.com>
-//
-// Revision 1.7 1998/02/09 15:07:48 curt
-// Minor tweaks.
-//
-// Revision 1.6 1998/02/02 20:53:23 curt
-// To version 0.29
-//
-// Revision 1.5 1998/01/27 18:35:53 curt
-// Minor tweaks.
-//
-// Revision 1.4 1998/01/27 00:47:49 curt
-// Incorporated Paul Bleisch's <pbleisch@acm.org> new debug message
-// system and commandline/config file processing code.
-//
-// Revision 1.3 1998/01/19 19:26:59 curt
-// Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-// This should simplify things tremendously.
-//
-// Revision 1.2 1998/01/19 18:40:18 curt
-// Tons of little changes to clean up the code and to remove fatal errors
-// when building with the c++ compiler.
-//
-// Revision 1.1 1998/01/07 03:16:20 curt
-// Moved from .../Src/Scenery/ to .../Src/Astro/
-//
-// Revision 1.24 1997/12/30 22:22:39 curt
-// Further integration of event manager.
-//
-// Revision 1.23 1997/12/30 20:47:53 curt
-// Integrated new event manager with subsystem initializations.
-//
-// Revision 1.22 1997/12/30 16:36:53 curt
-// Merged in Durk's changes ...
-//
-// Revision 1.21 1997/12/19 23:35:00 curt
-// Lot's of tweaking with sky rendering and lighting.
-//
-// Revision 1.20 1997/12/15 23:55:03 curt
-// Add xgl wrappers for debugging.
-// Generate terrain normals on the fly.
-//
-// Revision 1.19 1997/12/12 19:53:00 curt
-// Working on lightling and material properties.
-//
-// Revision 1.18 1997/12/10 22:37:52 curt
-// Prepended "fg" on the name of all global structures that didn't have it yet.
-// i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
-//
-// Revision 1.17 1997/12/09 04:25:33 curt
-// Working on adding a global lighting params structure.
-//
-// Revision 1.16 1997/11/25 19:25:38 curt
-// Changes to integrate Durk's moon/sun code updates + clean up.
-//
-// Revision 1.15 1997/10/30 12:38:45 curt
-// Working on new scenery subsystem.
-//
-// Revision 1.14 1997/10/28 21:00:22 curt
-// Changing to new terrain format.
-//
-// Revision 1.13 1997/10/25 03:18:28 curt
-// Incorporated sun, moon, and planet position and rendering code contributed
-// by Durk Talsma.
-//
-// Revision 1.12 1997/09/23 00:29:43 curt
-// Tweaks to get things to compile with gcc-win32.
-//
-// Revision 1.11 1997/09/22 14:44:21 curt
-// Continuing to try to align stars correctly.
-//
-// Revision 1.10 1997/09/20 03:34:32 curt
-// Still trying to get those durned stars aligned properly.
-//
-// Revision 1.9 1997/09/18 16:20:09 curt
-// At dusk/dawn add/remove stars in stages.
-//
-// Revision 1.8 1997/09/16 22:14:52 curt
-// Tweaked time of day lighting equations. Don't draw stars during the day.
-//
-// Revision 1.7 1997/09/16 15:50:31 curt
-// Working on star alignment and time issues.
-//
-// Revision 1.6 1997/09/05 14:17:31 curt
-// More tweaking with stars.
-//
-// Revision 1.5 1997/09/05 01:35:59 curt
-// Working on getting stars right.
-//
-// Revision 1.4 1997/09/04 02:17:38 curt
-// Shufflin' stuff.
-//
-// Revision 1.3 1997/08/29 17:55:28 curt
-// Worked on properly aligning the stars.
-//
-// Revision 1.2 1997/08/27 21:32:30 curt
-// Restructured view calculation code. Added stars.
-//
-// Revision 1.1 1997/08/27 03:34:48 curt
-// Initial revision.
-
-