# 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>
#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 "fg_init.hxx"
#include "options.hxx"
#include "views.hxx"
+#include "fg_serial.hxx"
+FG_USING_STD(string);
extern const char *default_root;
// Set initial position and orientation
int fgInitPosition( void ) {
string id;
- FGState *f;
+ FGInterface *f;
f = current_aircraft.fdm_state;
// Returns non-zero if a problem encountered.
int fgInitSubsystems( void )
{
- FGState *f; // assigned later
+ FGInterface *f; // assigned later
fgLIGHT *l = &cur_light_params;
fgTIME *t = &cur_time_params;
FGView *v = ¤t_view;
- Point3D geod_pos, tmp_abs_view_pos;
FG_LOG( FG_GENERAL, FG_INFO, "Initialize Subsystems");
FG_LOG( FG_GENERAL, FG_INFO, "========== ==========");
// $Log$
+// Revision 1.68 1999/03/02 01:03:15 curt
+// Tweaks for building with native SGI compilers.
+//
+// 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.
+//
+// Revision 1.65 1999/02/02 20:13:36 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.64 1999/02/01 21:15:43 curt
+// Removed unused variables.
+//
// Revision 1.63 1999/01/27 04:49:19 curt
// Game mode fixes from Norman Vine.
// Initial altitude setting tweaks and fixes (especially for when starting