]> git.mxchange.org Git - flightgear.git/commitdiff
Added initial support for native SGI compilers.
authorcurt <curt>
Fri, 26 Feb 1999 22:08:34 +0000 (22:08 +0000)
committercurt <curt>
Fri, 26 Feb 1999 22:08:34 +0000 (22:08 +0000)
23 files changed:
Airports/genapt.cxx
Airports/simple.cxx
Airports/simple.hxx
Astro/moon.cxx
Cockpit/hud.hxx
Cockpit/panel.cxx
Cockpit/panel.hxx
Main/GLUTkey.cxx
Main/GLUTmain.cxx
Main/fg_init.cxx
Main/fg_serial.cxx
Main/options.cxx
Main/options.hxx
Objects/fragment.cxx
Objects/fragment.hxx
Objects/material.cxx
Objects/obj.cxx
Scenery/tile.hxx
Scenery/tilecache.cxx
Scenery/tilemgr.cxx
Time/event.hxx
Time/fg_time.cxx
Time/sunpos.cxx

index 22ad167367c8488c789a00b88581ce8f2fe7f5f0..e1f26bb7f0b219fdd177255e215850d926782e2c 100644 (file)
 // (Log is kept at end of this file)
 
 
-#include <string>        // Standard C++ string library
-#include <vector>
-#include "Include/fg_stl_config.h"
+#include <Include/compiler.h>
 
-#ifdef NEEDNAMESPACESTD
-using namespace std;
-#endif
+#include STL_STRING
+#include <vector>
 
 #ifdef __BORLANDC__
 #  define exception c_exception
 #endif
 #include <math.h>
 
+#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
+#  include <strings.h>
+#endif
+
 #include <Debug/logstream.hxx>
 // #include <Include/fg_types.h>
 #include <Math/fg_geodesy.hxx>
@@ -49,6 +50,8 @@ using namespace std;
 
 #include "genapt.hxx"
 
+FG_USING_NAMESPACE(std);
+
 
 typedef vector < Point3D > container;
 typedef container::iterator iterator;
@@ -235,7 +238,7 @@ fgAptGenerate(const string& path, fgTILE *tile)
        if ( token == "a" ) {
            // airport info record (start of airport)
 
-           if ( apt_id != "" ) {
+           if ( apt_id.length() > 0 ) {
                // we have just finished reading and airport record.
                // process the info
                gen_base(average, perimeter, tile);
@@ -274,7 +277,7 @@ fgAptGenerate(const string& path, fgTILE *tile)
        in >> skipcomment;
     }
 
-    if ( apt_id != "" ) {
+    if ( apt_id.length() > 0 ) {
        // we have just finished reading and airport record.
        // process the info
        size = perimeter.size();
@@ -290,6 +293,9 @@ fgAptGenerate(const string& path, fgTILE *tile)
 
 
 // $Log$
+// Revision 1.13  1999/02/26 22:08:34  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.12  1999/02/01 21:08:33  curt
 // Optimizations from Norman Vine.
 //
index bbe93f4c521b7bcace07bd134b842e2ba11ff762..eddc1c4ec5ba76da28ae482bdff41b611cce9796 100644 (file)
@@ -1,5 +1,5 @@
 //
-// airports.cxx -- a really simplistic class to manage airport ID,
+// simple.cxx -- a really simplistic class to manage airport ID,
 //                 lat, lon of the center of one of it's runways, and 
 //                 elevation in feet.
 //
 // (Log is kept at end of this file)
 
 
-#include <string>
+#include <Include/compiler.h>
 
 #include <Debug/logstream.hxx>
-#include <Main/options.hxx>
 #include <Misc/fgstream.hxx>
+#include <Main/options.hxx>
 
-#include "simple.hxx"
-
-#include "Include/fg_stl_config.h"
+#include STL_STRING
 #include STL_FUNCTIONAL
 #include STL_ALGORITHM
 
+#include "simple.hxx"
+
 
 fgAIRPORTS::fgAIRPORTS() {
 }
@@ -110,6 +110,9 @@ fgAIRPORTS::~fgAIRPORTS( void ) {
 
 
 // $Log$
+// Revision 1.10  1999/02/26 22:08:35  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.9  1998/11/06 21:17:34  curt
 // Converted to new logstream debugging facility.  This allows release
 // builds with no messages at all (and no performance impact) by using
index 96faba2c296fec92d4542b155ee3dd07a238e164..eae237ad2caa79d386c3d7ad79c4d4292e73123a 100644 (file)
@@ -1,5 +1,5 @@
 //
-// airports.hxx -- a really simplistic class to manage airport ID,
+// simple.hxx -- a really simplistic class to manage airport ID,
 //                 lat, lon of the center of one of it's runways, and 
 //                 elevation in feet.
 //
 #endif                                   
 
 
-#include <string>        // Standard C++ string library
+#include <Include/compiler.h>
+
+#include STL_STRING
 #include <set>
-#include "Include/fg_stl_config.h"
 
-#ifdef NEEDNAMESPACESTD
-using namespace std;
-#endif
+FG_USING_NAMESPACE(std);
 
 
 class fgAIRPORT {
@@ -105,6 +104,9 @@ public:
 
 
 // $Log$
+// Revision 1.6  1999/02/26 22:08:36  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.5  1998/11/02 18:25:34  curt
 // Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
 // Other misc. tweaks.
index 1c358dcf64a06f9b28770ea7393fc1af0c59d75e..9b0883ff2bbfd2eeb506d43ec58ac23dd4606e01 100644 (file)
  * (Log is kept at end of this file)
  **************************************************************************/
 
-#include <FDM/flight.hxx>
-
 #include <string.h>
-#include "moon.hxx"
+
 #include <Debug/logstream.hxx>
 #include <Objects/texload.h>
-
+#include <FDM/flight.hxx>
 
 #ifdef __BORLANDC__
 #  define exception c_exception
 #endif
 #include <math.h>
 
+#include "moon.hxx"
+
 static GLuint moon_texid;
 static GLubyte *moon_texbuf;
 
index f25358c4d0d4585a751ea842495da914121a1807..6992c3556fafb2455b0a1e15402bc4becf000984 100644 (file)
@@ -53,9 +53,7 @@
 
 #include <deque>        // STL double ended queue
 
-#ifdef NEEDNAMESPACESTD
-using namespace std;
-#endif
+FG_USING_NAMESPACE(std);
 
 #ifndef WIN32
   typedef struct {
@@ -524,6 +522,9 @@ void fgHUDSetTimeMode( Hptr hud, int time_of_day );
 #endif // _HUD_H
 
 // $Log$
+// Revision 1.18  1999/02/26 22:08:45  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.17  1999/02/01 21:33:28  curt
 // Renamed FlightGear/Simulator/Flight to FlightGear/Simulator/FDM since
 // Jon accepted my offer to do this and thought it was a good idea.
index 0456f1e2eec223c20c97f8e36177ae190318c4b0..c4ad13451a7c739f43add45aced66cd9c3ef3ebc 100644 (file)
@@ -557,7 +557,7 @@ void fgPanelUpdate ( void ) {
     var[0] = get_speed() * 1.4; // We have to multiply the airspeed by a 
                                 // factor, to simulate flying a Bonanza 
     var[1] = get_altitude();
-    var[2] = get_climb_rate(); 
+    var[2] = get_climb_rate() / 1000.0
     var[3] = get_throttleval();
     // v = &current_view;
     xglMatrixMode(GL_PROJECTION);
@@ -580,7 +580,7 @@ void fgPanelUpdate ( void ) {
     xglLoadIdentity();
     xglTranslatef(pointer[i].XPos, pointer[i].YPos, 0.0);
     xglRotatef(-pointer[i].tape[0], 0.0, 0.0, 1.0);
-    fgEraseArea(pointer[i].vertices, 20, (GLfloat)(pointer[i].teXpos),                          (GLfloat)(pointer[i].texYpos), (GLfloat)(pointer[i].XPos),                      (GLfloat)(pointer[i].YPos), 0);
+    fgEraseArea(pointer[i].vertices, 20, (GLfloat)(pointer[i].teXpos),                          (GLfloat)(pointer[i].texYpos), (GLfloat)(pointer[i].XPos),                      (GLfloat)(pointer[i].YPos), 0, 1);
     xglLoadIdentity();
     }
 
@@ -1112,6 +1112,9 @@ printf("         %f %f %f %f \n", mvmatrix[12], mvmatrix[13], mvmatrix[14], mvma
 }
 
 // $Log$
+// Revision 1.16  1999/02/26 22:08:46  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.15  1999/02/12 01:46:29  curt
 // Updates and fixes from Friedemann.
 //
index 91e785aca37a834c8a9bc543ce1e1ac523169876..1d1baa6b6ce64b2a60f28129b0c6b31c11340608 100644 (file)
@@ -106,7 +106,7 @@ void CreatePointer(Pointer *pointer);
 void UpdatePointer(Pointer *pointer);
 void fgEraseArea(GLfloat *array, int NumVerti, GLfloat texXPos,
                 GLfloat texYPos, GLfloat XPos, GLfloat YPos,
-                int Texid, float ScaleFactor = 1);
+                int Texid, float ScaleFactor);
 void fgUpdateTurnCoordinator(TurnCoordinator *turn); 
 void fgInitTurnCoordinator(TurnCoordinator *turn);
 void DrawScale(float XPos, float YPos, float InnerRadius, float OuterRadius,
@@ -120,6 +120,9 @@ void PrintMatrix( void);
 
 
 // $Log$
+// Revision 1.7  1999/02/26 22:08:47  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.6  1999/02/12 01:46:30  curt
 // Updates and fixes from Friedemann.
 //
index e04a1db54aa40963ff569e88103964bfe457789f..ab092198d9f944f679594021b4ebd285434198d6 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 
+#include <Debug/logstream.hxx>
 #include <Aircraft/aircraft.hxx>
 #include <Astro/solarsystem.hxx>
 #include <Astro/sky.hxx>
 #include <Autopilot/autopilot.hxx>
 #include <Cockpit/hud.hxx>
-#include <Debug/logstream.hxx>
 #include <GUI/gui.h>
 #include <Include/fg_constants.h>
 #include <Objects/material.hxx>
@@ -434,6 +434,9 @@ void GLUTspecialkey(int k, int x, int y) {
 
 
 // $Log$
+// Revision 1.42  1999/02/26 22:09:46  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.41  1999/02/12 23:22:43  curt
 // Allow auto-throttle adjustment while active.
 //
index d8d24ac9b2c3036b40798832f3595c4d310aa8da..bfa7c4a7cada1461aa151b09c734e4acbcedf7ad 100644 (file)
@@ -53,6 +53,7 @@
 #include <Include/fg_constants.h>  // for VERSION
 #include <Include/general.hxx>
 
+#include <Debug/logstream.hxx>
 #include <Aircraft/aircraft.hxx>
 #include <Astro/sky.hxx>
 #include <Astro/stars.hxx>
@@ -65,7 +66,6 @@
 
 #include <Autopilot/autopilot.hxx>
 #include <Cockpit/cockpit.hxx>
-#include <Debug/logstream.hxx>
 #include <GUI/gui.h>
 #include <Joystick/joystick.hxx>
 #include <Math/fg_geodesy.hxx>
@@ -1007,6 +1007,9 @@ int main( int argc, char **argv ) {
 
 
 // $Log$
+// Revision 1.86  1999/02/26 22:09:47  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.85  1999/02/05 21:29:08  curt
 // Modifications to incorporate Jon S. Berndts flight model code.
 //
index 012db04f7e5b7cae7e928685618bf45e6121e380..db93c6c098b5f5e28133bd95e59b25b361c668ef 100644 (file)
 #  define _G_NO_EXTERN_TEMPLATES
 #endif
 
-#include <string>
+#include <Include/compiler.h>
+
+#include STL_STRING
 
 #include <Include/fg_constants.h>
 
+#include <Debug/logstream.hxx>
 #include <Aircraft/aircraft.hxx>
 #include <Airports/simple.hxx>
 #include <Astro/sky.hxx>
@@ -48,7 +51,6 @@
 #include <Astro/solarsystem.hxx>
 #include <Autopilot/autopilot.hxx>
 #include <Cockpit/cockpit.hxx>
-#include <Debug/logstream.hxx>
 #include <Joystick/joystick.hxx>
 #include <Math/fg_geodesy.hxx>
 #include <Math/fg_random.h>
 #include "views.hxx"
 #include "fg_serial.hxx"
 
+FG_USING_STD(string);
+#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
+FG_USING_NAMESPACE(std);
+#endif
 
 extern const char *default_root;
 
@@ -392,6 +398,9 @@ int fgInitSubsystems( void )
 
 
 // $Log$
+// Revision 1.67  1999/02/26 22:09:48  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.66  1999/02/05 21:29:10  curt
 // Modifications to incorporate Jon S. Berndts flight model code.
 //
index 86f1586e8ed89f73222bd1ee8bf8c81a824420b3..d146b5b8ece5b9172adc9804c2d1e96aba2c097c 100644 (file)
 #include STL_STRING
 #include STL_IOSTREAM                                           
 #include <vector>                                                               
-#include "Include/fg_stl_config.h"                                              
 
-FG_USING_NAMESPACE(std);
-
-#include <Aircraft/aircraft.hxx>
 #include <Debug/logstream.hxx>
+#include <Aircraft/aircraft.hxx>
 #include <Include/fg_constants.h>
 #include <Serial/serial.hxx>
 #include <Time/fg_time.hxx>
@@ -47,6 +44,7 @@ FG_USING_NAMESPACE(std);
 
 #include "fg_serial.hxx"
 
+FG_USING_NAMESPACE(std);
 
 // support an arbitrary number of serial channels.  Each channel can
 // be assigned to an arbitrary port.  Bi-directional communication is
@@ -468,6 +466,9 @@ void fgSerialProcess() {
 
 
 // $Log$
+// Revision 1.12  1999/02/26 22:09:50  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.11  1999/02/05 21:29:11  curt
 // Modifications to incorporate Jon S. Berndts flight model code.
 //
index e63c13a958874dd312d2834fc9597f5f7677241c..6706cca8326ffa49e15d2b619a861d201d1fa802 100644 (file)
 #include <string>
 
 #include <Debug/logstream.hxx>
+#include <Misc/fgstream.hxx>
 #include <FDM/flight.hxx>
 #include <Include/fg_constants.h>
 #include <Main/options.hxx>
-#include <Misc/fgstream.hxx>
 
 #include "fg_serial.hxx"
 
@@ -631,6 +631,9 @@ fgOPTIONS::~fgOPTIONS( void ) {
 
 
 // $Log$
+// Revision 1.40  1999/02/26 22:09:51  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.39  1999/02/05 21:29:12  curt
 // Modifications to incorporate Jon S. Berndts flight model code.
 //
index 3c6a3849d4dff8527f93261df92428c7b8beada9..1a9d28e7da090c25f9134067054d09df166ea4c6 100644 (file)
 #include <XGL/xgl.h>
 
 #include STL_STRING
-FG_USING_STD(string);
-
 #include <vector>
-#include "Include/compiler.h"
+
 FG_USING_STD(vector);
 FG_USING_STD(string);
-// #include "fg_serial.hxx"
 
+#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
+FG_USING_NAMESPACE(std);
+#endif
 
 typedef vector < string > str_container;
 typedef str_container::iterator str_iterator;
@@ -245,6 +245,9 @@ extern fgOPTIONS current_options;
 
 
 // $Log$
+// Revision 1.28  1999/02/26 22:09:52  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.27  1999/02/05 21:29:13  curt
 // Modifications to incorporate Jon S. Berndts flight model code.
 //
index 2466dfd7690264775f6be7944f764b2f7174f2db..9af71d78f85dc21c8c46c923301c262b185ae6b4 100644 (file)
@@ -23,7 +23,6 @@
 
 
 #include <Include/fg_constants.h>
-// #include <Include/fg_types.h>
 #include <Math/mat3.h>
 #include <Math/point3d.hxx>
 #include <Scenery/tile.hxx>
@@ -324,6 +323,9 @@ int fgFRAGMENT::intersect( const Point3D& end0,
 }
 
 // $Log$
+// Revision 1.7  1999/02/26 22:09:56  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.6  1998/10/18 01:17:20  curt
 // Point3D tweaks.
 //
index 70f15ad8e28678cabfee164ceb183f0bc20ef1ff..a0f2cce1f43b0b63d0da845830e334d23931f300 100644 (file)
 #include <GL/glut.h>
 #include <XGL/xgl.h>
 
+#include <Include/compiler.h>
+
 #include <vector>
 
 #include <Bucket/bucketutils.h>
-// #include <Include/fg_types.h>
-#include "Include/fg_constants.h"
+#include <Include/fg_constants.h>
 #include <Math/mat3.h>
 #include <Math/point3d.hxx>
 
-#include <Include/compiler.h>
-//FG_USING_NAMESPACE(std);
 FG_USING_STD(vector);
 
+#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
+FG_USING_NAMESPACE(std);
+#endif
+
 // Maximum nodes per tile
 #define MAX_NODES 2000
 
@@ -179,6 +182,9 @@ operator == ( const fgFRAGMENT & lhs, const fgFRAGMENT & rhs ) {
 
 
 // $Log$
+// Revision 1.8  1999/02/26 22:09:57  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.7  1998/11/02 18:29:00  curt
 // Portability changes for the Borland compiler.
 //
index f5e5052362918cde9962ae2b2dfe60cb4c6cb642..f19499a1e9a53e4df442683632170bcf2ad49236 100644 (file)
 #include <GL/glut.h>
 #include <XGL/xgl.h>
 
+#include <Include/compiler.h>
+
 #include <string.h>
-#include <string>
+#include STL_STRING
 
-#include "Include/fg_stl_config.h"
 #include <Debug/logstream.hxx>
-#include <Main/options.hxx>
 #include <Misc/fgstream.hxx>
+#include <Main/options.hxx>
 #include <Main/views.hxx>
 #include <Scenery/tile.hxx>
 
 #include "fragment.hxx"
 #include "texload.h"
 
+FG_USING_STD(string);
+#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
+FG_USING_NAMESPACE(std);
+#endif
+
+
 
 // global material management class
 fgMATERIAL_MGR material_mgr;
@@ -361,6 +368,9 @@ fgMATERIAL_MGR::render_fragments()
 
 
 // $Log$
+// Revision 1.13  1999/02/26 22:09:58  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.12  1998/12/09 18:50:30  curt
 // Converted "class fgVIEW" to "class FGView" and updated to make data
 // members private and make required accessor functions.
index 64a79b1ef748a8fec68bbcc3e1ee0c0d0b5982c0..eb38398b940c99cbc19e6122e265fbc27e6fa0f5 100644 (file)
 #include <GL/glut.h>
 #include <XGL/xgl.h>
 
-#if defined ( __sun__ )
-extern "C" void *memmove(void *, const void *, size_t);
-extern "C" void *memset(void *, int, size_t);
-#endif
+// #if defined ( __sun__ )
+// extern "C" void *memmove(void *, const void *, size_t);
+// extern "C" void *memset(void *, int, size_t);
+// #endif
+
+#include <Include/compiler.h>
 
-#include <string>       // Standard C++ library
+#include STL_STRING
 #include <map>          // STL
 #include <ctype.h>      // isdigit()
 
-#ifdef NEEDNAMESPACESTD
-using namespace std;
-#endif
-
 #include <Debug/logstream.hxx>
+#include <Misc/fgstream.hxx>
 #include <Include/fg_constants.h>
-#include <Include/fg_zlib.h>
 #include <Main/options.hxx>
 #include <Math/mat3.h>
 #include <Math/fg_random.h>
 #include <Math/point3d.hxx>
 #include <Math/polar3d.hxx>
 #include <Misc/stopwatch.hxx>
-#include <Misc/fgstream.hxx>
 #include <Scenery/tile.hxx>
 
 #include "material.hxx"
 #include "obj.hxx"
 
+FG_USING_STD(string);
+#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
+FG_USING_NAMESPACE(std);
+#endif
 
 static double normals[MAX_NODES][3];
 
@@ -555,6 +556,9 @@ int fgObjLoad( const string& path, fgTILE *t) {
 
 
 // $Log$
+// Revision 1.11  1999/02/26 22:09:59  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.10  1998/11/06 21:18:18  curt
 // Converted to new logstream debugging facility.  This allows release
 // builds with no messages at all (and no performance impact) by using
index 32d749b7a07078734da492219ac52afefa2bcc25..14ea62861a4f5ab2c0071018224c12c7f30f6f6d 100644 (file)
 #include <GL/glut.h>
 #include <XGL/xgl.h>
 
-#include <vector>
-#include <string>
+#include <Include/compiler.h>
 
-#include "Include/compiler.h"
-FG_USING_STD(string);
-FG_USING_STD(vector);
+#include <vector>
+#include STL_STRING
 
 #include <Bucket/bucketutils.h>
 #include <Math/mat3.h>
 #include <Math/point3d.hxx>
 #include <Objects/fragment.hxx>
 
+FG_USING_STD(string);
+FG_USING_STD(vector);
+
+#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
+#include <strings.h>
+FG_USING_NAMESPACE(std);
+#endif
 
 // Scenery tile class
 class fgTILE {
@@ -157,6 +162,9 @@ private:
 
 
 // $Log$
+// Revision 1.24  1999/02/26 22:10:02  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.23  1999/02/02 20:13:41  curt
 // MSVC++ portability changes by Bernie Bright:
 //
index 83cdd74ed9c532ae759f92d0bccc1194c96b0574..21f93f7beb192294e5e829c6cabf78d554d9f03e 100644 (file)
@@ -33,9 +33,9 @@
 #include <GL/glut.h>
 #include <XGL/xgl.h>
 
+#include <Debug/logstream.hxx>
 #include <Airports/genapt.hxx>
 #include <Bucket/bucketutils.hxx>
-#include <Debug/logstream.hxx>
 #include <Main/options.hxx>
 #include <Main/views.hxx>
 #include <Objects/obj.hxx>
@@ -181,6 +181,9 @@ fgTILECACHE::~fgTILECACHE( void ) {
 
 
 // $Log$
+// Revision 1.22  1999/02/26 22:10:04  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.21  1998/12/09 18:50:32  curt
 // Converted "class fgVIEW" to "class FGView" and updated to make data
 // members private and make required accessor functions.
index 858966c04fa5d9219457a59b8e5726a9c7613f57..ba813f90027742fba05ec7797a7c22cd38f7b191 100644 (file)
@@ -35,8 +35,8 @@
 
 #include <Aircraft/aircraft.hxx>
 
-#include <Bucket/bucketutils.hxx>
 #include <Debug/logstream.hxx>
+#include <Bucket/bucketutils.hxx>
 #include <Include/fg_constants.h>
 #include <Main/options.hxx>
 #include <Main/views.hxx>
@@ -758,6 +758,9 @@ void fgTileMgrRender( void ) {
 
 
 // $Log$
+// Revision 1.54  1999/02/26 22:10:05  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.53  1999/02/05 21:29:16  curt
 // Modifications to incorporate Jon S. Berndts flight model code.
 //
index 2ef1a8844348c18c70c89ff7ae28c168dd28028b..d9e810210ef54d7990f450553d33febf5215ca62 100644 (file)
 #endif                                   
 
 
-#include "Include/compiler.h"
-#include "Include/fg_callback.hxx"
+#include <Include/compiler.h>
+#include <Include/fg_callback.hxx>
 
 #include <deque>        // STL double ended queue
 #include <list>         // STL list
-#include <string>
+#include STL_STRING
+
+#include "fg_time.hxx"
+#include "timestamp.hxx"
 
 FG_USING_STD(deque);
 FG_USING_STD(list);
 FG_USING_STD(string);
 
-#include "fg_time.hxx"
-#include "timestamp.hxx"
-
+#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
+FG_USING_NAMESPACE(std);
+#endif
 
 class fgEVENT
 {
@@ -166,6 +169,9 @@ extern fgEVENT_MGR global_events;
 
 
 // $Log$
+// Revision 1.17  1999/02/26 22:10:08  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.16  1999/01/09 13:37:43  curt
 // Convert fgTIMESTAMP to FGTimeStamp which holds usec instead of ms.
 //
index f7a1c6e40af2f0113bb70de2e6f446eb3ce26c04..ac6eb9f3264511334cf3186b64461f102a2b06b9 100644 (file)
@@ -27,7 +27,7 @@
 #  include <config.h>
 #endif
 
-#include "Include/compiler.h"
+#include <Include/compiler.h>
 
 #ifdef FG_HAVE_STD_INCLUDES
 #  include <cmath>
@@ -51,9 +51,9 @@
 #  include <sys/time.h>  // for get/setitimer, gettimeofday, struct timeval
 #endif
 
+#include <Debug/logstream.hxx>
 #include <Astro/sky.hxx>
 #include <Astro/solarsystem.hxx>
-#include <Debug/logstream.hxx>
 #include <FDM/flight.hxx>
 #include <Include/fg_constants.h>
 #include <Main/options.hxx>
@@ -399,6 +399,9 @@ void fgTimeUpdate(FGInterface *f, fgTIME *t) {
 
 
 // $Log$
+// Revision 1.32  1999/02/26 22:10:10  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.31  1999/02/05 21:29:18  curt
 // Modifications to incorporate Jon S. Berndts flight model code.
 //
index 0a29b35a39120c8937b34cc408446a911e908ccb..5dc34647cceffc805dfda41b8d47d12804f1e662 100644 (file)
@@ -39,7 +39,8 @@
 #  include <config.h>
 #endif
 
-#include "Include/compiler.h"
+#include <Include/compiler.h>
+
 #ifdef FG_HAVE_STD_INCLUDES
 #  include <cmath>
 #  include <cstdio>
 #  include <time.h>
 #endif
 
-
-//#include <Astro/orbits.hxx>
-#include <Astro/solarsystem.hxx>
 #include <Debug/logstream.hxx>
+#include <Astro/solarsystem.hxx>
 #include <Include/fg_constants.h>
 #include <Main/views.hxx>
 #include <Math/fg_geodesy.hxx>
@@ -435,6 +434,9 @@ void fgUpdateSunPos( void ) {
 
 
 // $Log$
+// Revision 1.20  1999/02/26 22:10:11  curt
+// Added initial support for native SGI compilers.
+//
 // Revision 1.19  1999/01/07 20:25:37  curt
 // Portability changes and updates from Bernie Bright.
 //