using namespace std;
#endif
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include <Debug/logstream.hxx>
// #include <Include/fg_types.h>
#include <Math/fg_geodesy.hxx>
// $Log$
+// Revision 1.11 1998/11/23 21:48:09 curt
+// Borland portability tweaks.
+//
// Revision 1.10 1998/11/07 19:07:06 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
using namespace std;
#endif
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+
#include <Scenery/tile.hxx>
// $Log$
+// Revision 1.2 1998/11/23 21:48:10 curt
+// Borland portability tweaks.
+//
// Revision 1.1 1998/09/14 02:14:01 curt
// Initial revision of genapt.[ch]xx for generating airport scenery.
//
#include "star.hxx"
#include <Debug/logstream.hxx>
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
/**************************************************************************
* void CelestialBody::updatePosition(fgTIME *t, Star *ourSun)
*
#endif
-#include <stdio.h>
-#include <math.h>
-
#include <Time/fg_time.hxx>
#include <Include/fg_constants.h>
* (Log is kept at end of this file)
**************************************************************************/
+
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include "jupiter.hxx"
/*************************************************************************
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
+
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include "mars.hxx"
/*************************************************************************
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
+
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include "mercury.hxx"
/*************************************************************************
#include <Debug/logstream.hxx>
#include <Objects/texload.h>
+
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
static GLuint moon_texid;
static GLubyte *moon_texbuf;
* (Log is kept at end of this file)
**************************************************************************/
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include "neptune.hxx"
/*************************************************************************
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
+
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include "saturn.hxx"
/*************************************************************************
# include <windows.h>
#endif
+
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include <GL/glut.h>
#include <XGL/xgl.h>
#include <Debug/logstream.hxx>
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
+
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include "star.hxx"
/*************************************************************************
# include <windows.h>
#endif
+
#include <math.h>
#include <stdio.h>
#include <string.h>
// $Log$
+// 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
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
+
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include "uranus.hxx"
/*************************************************************************
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
+
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include "venus.hxx"
/*************************************************************************
# include <windows.h>
#endif
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include <GL/glut.h>
#include <stdlib.h>
#include <string.h>
}
// $Log$
+// Revision 1.28 1998/11/23 21:48:59 curt
+// Borland portability tweaks.
+//
// Revision 1.27 1998/11/06 21:17:47 curt
// Converted to new logstream debugging facility. This allows release
// builds with no messages at all (and no performance impact) by using
#include <Debug/logstream.hxx>
#include <Flight/flight.hxx>
#include <Include/fg_constants.h>
+#include <Main/options.hxx>
#include <Misc/fgstream.hxx>
#include "fg_serial.hxx"
-#include "options.hxx"
-
-
-const int fgOPTIONS::FG_RADIUS_MIN;
-const int fgOPTIONS::FG_RADIUS_MAX;
-
inline double
atof( const string& str )
printf("\t--enable-textures: enable textures\n");
printf("\t--disable-wireframe: disable wireframe drawing mode\n");
printf("\t--enable-wireframe: enable wireframe drawing mode\n");
- printf("\t--geomtry=WWWxHHH: specify window geometry: 640x480, 800x600\n");
+ printf("\t--geometry=WWWxHHH: window geometry: 640x480, 800x600, etc.\n");
printf("\n");
printf("Scenery Options:\n");
// $Log$
+// Revision 1.31 1998/11/23 21:49:04 curt
+// Borland portability tweaks.
+//
// Revision 1.30 1998/11/16 14:00:02 curt
// Added pow() macro bug work around.
// Added support for starting FGFS at various resolutions.
#include <XGL/xgl.h>
#include <string>
-
-#ifdef NEEDNAMESPACESTD
-using namespace std;
-#endif
+#include <Include/compiler.h>
+FG_USING_STD(string);
#include "fg_serial.hxx"
FG_FOG_NICEST = 2
};
- static const int FG_RADIUS_MIN = 1;
- static const int FG_RADIUS_MAX = 4;
+ enum
+ {
+ FG_RADIUS_MIN = 1,
+ FG_RADIUS_MAX = 4
+ };
private:
// $Log$
+// Revision 1.23 1998/11/23 21:49:05 curt
+// Borland portability tweaks.
+//
// Revision 1.22 1998/11/20 01:02:38 curt
// Try to detect Mesa/Glide/Voodoo and chose the appropriate resolution.
//
// contains milliseconds
#endif
+#if defined( linux ) || defined( __FreeBSD__ )
+# define _G_NO_EXTERN_TEMPLATES
+#endif
+
#include "Include/fg_stl_config.h"
#include STL_ALGORITHM
#include STL_FUNCTIONAL
// $Log$
+// Revision 1.12 1998/11/23 21:49:07 curt
+// Borland portability tweaks.
+//
// Revision 1.11 1998/11/09 23:41:51 curt
// Log message clean ups.
//
#include <GL/glut.h>
#include <XGL/xgl.h>
+#ifdef __BORLANDC__
+# define exception c_exception
+#endif
+#include <math.h>
+
#include <string.h>
#include <Aircraft/aircraft.hxx>
// $Log$
+// Revision 1.21 1998/11/23 21:49:09 curt
+// Borland portability tweaks.
+//
// Revision 1.20 1998/11/06 21:18:27 curt
// Converted to new logstream debugging facility. This allows release
// builds with no messages at all (and no performance impact) by using
#include <math.h>
-#include "weather.hxx"
-
#include <Aircraft/aircraft.hxx>
#include <Debug/logstream.hxx>
#include <Math/fg_random.h>
+#include <Weather/weather.hxx>
// This is a record containing current weather info
// $Log$
+// Revision 1.3 1998/11/23 21:49:11 curt
+// Borland portability tweaks.
+//
// Revision 1.2 1998/11/06 21:18:29 curt
// Converted to new logstream debugging facility. This allows release
// builds with no messages at all (and no performance impact) by using