FG_ to SG_ namespace changes.
This commit is contained in:
parent
8497f9b1ac
commit
5958389026
80 changed files with 151 additions and 151 deletions
|
@ -39,7 +39,7 @@
|
|||
|
||||
#include "runways.hxx"
|
||||
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
|
||||
FGRunway::FGRunway() {
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#ifdef SG_HAVE_STD_INCLUDES
|
||||
# include <istream>
|
||||
#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
# include <iostream.h>
|
||||
#elif defined( __BORLANDC__ )
|
||||
# include <iostream>
|
||||
|
@ -54,11 +54,11 @@
|
|||
#include <mk4str.h>
|
||||
#undef NDEBUG
|
||||
|
||||
FG_USING_STD(string);
|
||||
FG_USING_STD(vector);
|
||||
SG_USING_STD(string);
|
||||
SG_USING_STD(vector);
|
||||
|
||||
#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
FG_USING_STD(istream);
|
||||
#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
SG_USING_STD(istream);
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
#include "simple.hxx"
|
||||
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
FGAirports::FGAirports( const string& file ) {
|
||||
// open the specified database readonly
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
#ifdef SG_HAVE_STD_INCLUDES
|
||||
# include <istream>
|
||||
#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
# include <iostream.h>
|
||||
#elif defined( __BORLANDC__ )
|
||||
# include <iostream>
|
||||
|
@ -60,11 +60,11 @@
|
|||
# undef NDEBUG
|
||||
#endif
|
||||
|
||||
FG_USING_STD(string);
|
||||
FG_USING_STD(set);
|
||||
SG_USING_STD(string);
|
||||
SG_USING_STD(set);
|
||||
|
||||
#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
FG_USING_STD(istream);
|
||||
#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
SG_USING_STD(istream);
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <FDM/flight.hxx>
|
||||
#include <Controls/controls.hxx>
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
// Defines
|
||||
|
|
|
@ -59,9 +59,9 @@
|
|||
|
||||
#include "hud_opts.hxx"
|
||||
|
||||
FG_USING_STD(deque);
|
||||
FG_USING_STD(vector);
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_STD(deque);
|
||||
SG_USING_STD(vector);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
|
||||
// some of Norman's crazy optimizations. :-)
|
||||
|
|
|
@ -49,8 +49,8 @@
|
|||
#include <Main/fgfs.hxx>
|
||||
|
||||
|
||||
FG_USING_STD(vector);
|
||||
FG_USING_STD(map);
|
||||
SG_USING_STD(vector);
|
||||
SG_USING_STD(map);
|
||||
|
||||
class FGPanelInstrument;
|
||||
|
||||
|
|
|
@ -43,11 +43,11 @@
|
|||
#include "steam.hxx"
|
||||
#include "panel_io.hxx"
|
||||
|
||||
#if !defined (FG_HAVE_NATIVE_SGI_COMPILERS)
|
||||
FG_USING_STD(istream);
|
||||
FG_USING_STD(ifstream);
|
||||
#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
|
||||
SG_USING_STD(istream);
|
||||
SG_USING_STD(ifstream);
|
||||
#endif
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
|
||||
#include "panel.hxx"
|
||||
|
||||
#if !defined (FG_HAVE_NATIVE_SGI_COMPILERS)
|
||||
FG_USING_STD(istream);
|
||||
#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
|
||||
SG_USING_STD(istream);
|
||||
#endif
|
||||
|
||||
extern FGPanel * fgReadPanel (istream &input);
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#if defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
#if defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
# include <iostream.h>
|
||||
#else
|
||||
# include <iostream>
|
||||
|
@ -36,7 +36,7 @@
|
|||
#include <Main/bfi.hxx>
|
||||
#include <NetworkOLK/features.hxx>
|
||||
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
#include "radiostack.hxx"
|
||||
#include "steam.hxx"
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <time.h>
|
||||
#include STL_STRING
|
||||
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
|
||||
#include "10520d.hxx"
|
||||
|
||||
FG_USING_STD(cout);
|
||||
FG_USING_STD(endl);
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// CODE
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
|
||||
#include "IO360.hxx"
|
||||
|
||||
FG_USING_STD(cout);
|
||||
SG_USING_STD(cout);
|
||||
|
||||
// Static utility functions
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
#include <fstream>
|
||||
#include <math.h>
|
||||
|
||||
FG_USING_STD(ofstream);
|
||||
SG_USING_STD(ofstream);
|
||||
|
||||
class FGNewEngine {
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ INCLUDES
|
|||
#ifdef FGFS
|
||||
# include <simgear/compiler.h>
|
||||
# include STL_STRING
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
#else
|
||||
# include <string>
|
||||
#endif
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
#include <FDM/LaRCsim/ls_constants.h>
|
||||
#include <FDM/LaRCsim/ls_geodesy.h>
|
||||
|
||||
FG_USING_STD(cout);
|
||||
FG_USING_STD(endl);
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
|
||||
LaRCsimIC::LaRCsimIC(void) {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "uiuc_parsefile.h"
|
||||
#include "uiuc_aircraft.h"
|
||||
|
||||
FG_USING_STD(istrstream);
|
||||
SG_USING_STD(istrstream);
|
||||
|
||||
int uiuc_1DdataFileReader( string file_name,
|
||||
double x[100],
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "uiuc_parsefile.h"
|
||||
#include "uiuc_aircraft.h"
|
||||
|
||||
FG_USING_STD(istrstream);
|
||||
SG_USING_STD(istrstream);
|
||||
|
||||
void uiuc_2DdataFileReader( string file_name,
|
||||
double x[100][100],
|
||||
|
|
|
@ -101,10 +101,10 @@
|
|||
|
||||
#include "uiuc_parsefile.h"
|
||||
|
||||
FG_USING_STD(map);
|
||||
FG_USING_STD(iostream);
|
||||
SG_USING_STD(map);
|
||||
SG_USING_STD(iostream);
|
||||
#if defined ( macintosh ) || defined ( _MSC_VER )
|
||||
FG_USING_STD(ofstream);
|
||||
SG_USING_STD(ofstream);
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
|
||||
#include "uiuc_engine.h"
|
||||
|
||||
FG_USING_STD(cerr);
|
||||
SG_USING_STD(cerr);
|
||||
|
||||
void uiuc_engine()
|
||||
{
|
||||
|
|
|
@ -102,12 +102,12 @@
|
|||
|
||||
#include "uiuc_menu.h"
|
||||
|
||||
FG_USING_STD(cerr);
|
||||
FG_USING_STD(cout);
|
||||
FG_USING_STD(endl);
|
||||
SG_USING_STD(cerr);
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
#ifndef _MSC_VER
|
||||
FG_USING_STD(exit);
|
||||
SG_USING_STD(exit);
|
||||
#endif
|
||||
|
||||
bool check_float(string &token)
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
#include <list>
|
||||
#include <fstream>
|
||||
|
||||
FG_USING_STD(list);
|
||||
FG_USING_STD(string);
|
||||
FG_USING_STD(getline);
|
||||
FG_USING_STD(ifstream);
|
||||
SG_USING_STD(list);
|
||||
SG_USING_STD(string);
|
||||
SG_USING_STD(getline);
|
||||
SG_USING_STD(ifstream);
|
||||
|
||||
#define DELIMITERS " \t"
|
||||
#define COMMENT "#"
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
#include "uiuc_recorder.h"
|
||||
|
||||
FG_USING_STD(endl); // -dw
|
||||
SG_USING_STD(endl); // -dw
|
||||
|
||||
void uiuc_recorder( double dt )
|
||||
{
|
||||
|
|
|
@ -78,11 +78,11 @@ for information.
|
|||
|
||||
#include "uiuc_warnings_errors.h"
|
||||
|
||||
FG_USING_STD (cerr);
|
||||
FG_USING_STD (endl);
|
||||
SG_USING_STD (cerr);
|
||||
SG_USING_STD (endl);
|
||||
|
||||
#ifndef _MSC_VER
|
||||
FG_USING_STD (exit);
|
||||
SG_USING_STD (exit);
|
||||
#endif
|
||||
|
||||
void uiuc_warnings_errors(int errorCode, string line)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
void uiuc_warnings_errors(int errorCode, string line);
|
||||
|
||||
|
|
|
@ -75,8 +75,8 @@
|
|||
#include "uiuc_betaprobe.h"
|
||||
#include <FDM/LaRCsim/ls_generic.h>
|
||||
|
||||
FG_USING_STD(cout);
|
||||
FG_USING_STD(endl);
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
extern "C" void uiuc_init_aeromodel ();
|
||||
extern "C" void uiuc_force_moment(double dt);
|
||||
|
|
|
@ -94,9 +94,9 @@
|
|||
|
||||
#include <Main/fgfs.hxx>
|
||||
|
||||
FG_USING_STD(list);
|
||||
FG_USING_STD(vector);
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(list);
|
||||
SG_USING_STD(vector);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
typedef double FG_VECTOR_3[3];
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
#include <iostream>
|
||||
#include <math.h>
|
||||
|
||||
FG_USING_STD(cout);
|
||||
FG_USING_STD(endl);
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// CODE
|
||||
|
|
|
@ -86,10 +86,10 @@
|
|||
#include "net_dlg.hxx"
|
||||
#include "sgVec3Slider.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
#ifndef FG_HAVE_NATIVE_SGI_COMPILERS
|
||||
FG_USING_STD(cout);
|
||||
#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
|
||||
SG_USING_STD(cout);
|
||||
#endif
|
||||
|
||||
// main.cxx hack, should come from an include someplace
|
||||
|
|
|
@ -78,10 +78,10 @@
|
|||
#include "gui.h"
|
||||
#include "gui_local.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
#ifndef FG_HAVE_NATIVE_SGI_COMPILERS
|
||||
FG_USING_STD(cout);
|
||||
#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
|
||||
SG_USING_STD(cout);
|
||||
#endif
|
||||
|
||||
/* --------------------------------------------------------------------
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
a.owns = 0;
|
||||
}
|
||||
|
||||
#ifdef _FG_MEMBER_TEMPLATES
|
||||
#ifdef _SG_MEMBER_TEMPLATES
|
||||
template <class T> auto_ptr(const auto_ptr<T>& a)
|
||||
: ptr(a.ptr), owns(a.owns) {
|
||||
a.owns = 0;
|
||||
|
@ -62,7 +62,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef _FG_MEMBER_TEMPLATES
|
||||
#ifdef _SG_MEMBER_TEMPLATES
|
||||
template <class T> auto_ptr& operator = (const auto_ptr<T>& a) {
|
||||
if (&a != this) {
|
||||
if (owns)
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
|
||||
#include "joystick.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
FG_USING_STD(cout);
|
||||
SG_USING_STD(string);
|
||||
SG_USING_STD(cout);
|
||||
|
||||
#ifdef WIN32
|
||||
static const int MAX_JOYSTICKS = 2;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#include "fg_init.hxx"
|
||||
#include "fg_props.hxx"
|
||||
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
|
||||
#include "bfi.hxx"
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
#include <GL/xmesa.h>
|
||||
#endif
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
extern const char *default_root;
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
#include "globals.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
// define the global I/O channel list
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
#include <Sound/soundmgr.hxx>
|
||||
#include "viewmgr.hxx"
|
||||
|
||||
FG_USING_STD( vector );
|
||||
FG_USING_STD( string );
|
||||
SG_USING_STD( vector );
|
||||
SG_USING_STD( string );
|
||||
|
||||
typedef vector<string> string_list;
|
||||
|
||||
|
|
|
@ -55,8 +55,8 @@ bool global_fullscreen = true;
|
|||
#include "fg_props.hxx"
|
||||
#include "options.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_STD(string);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
|
||||
#define NEW_DEFAULT_MODEL_HZ 120
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#include "viewer_lookat.hxx"
|
||||
#include "viewer_rph.hxx"
|
||||
|
||||
FG_USING_STD(vector);
|
||||
SG_USING_STD(vector);
|
||||
|
||||
|
||||
// Define a structure containing view information
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#ifdef SG_HAVE_STD_INCLUDES
|
||||
# include <istream>
|
||||
#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
# include <iostream.h>
|
||||
#elif defined( __BORLANDC__ )
|
||||
# include <iostream>
|
||||
|
@ -38,12 +38,12 @@
|
|||
# include <istream.h>
|
||||
#endif
|
||||
|
||||
#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
FG_USING_STD(istream);
|
||||
#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
SG_USING_STD(istream);
|
||||
#endif
|
||||
|
||||
#include STL_STRING
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
class FGFix {
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
|
||||
#include "fix.hxx"
|
||||
|
||||
FG_USING_STD(map);
|
||||
FG_USING_STD(vector);
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(map);
|
||||
SG_USING_STD(vector);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
class FGFixList {
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#ifdef SG_HAVE_STD_INCLUDES
|
||||
# include <istream>
|
||||
#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
# include <iostream.h>
|
||||
#elif defined( __BORLANDC__ )
|
||||
# include <iostream>
|
||||
|
@ -39,8 +39,8 @@
|
|||
# include <istream.h>
|
||||
#endif
|
||||
|
||||
#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
FG_USING_STD(istream);
|
||||
#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
SG_USING_STD(istream);
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
|
||||
#include "ils.hxx"
|
||||
|
||||
FG_USING_STD(map);
|
||||
FG_USING_STD(vector);
|
||||
SG_USING_STD(map);
|
||||
SG_USING_STD(vector);
|
||||
|
||||
|
||||
class FGILSList {
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
|
||||
#include "nav.hxx"
|
||||
|
||||
FG_USING_STD(map);
|
||||
FG_USING_STD(vector);
|
||||
SG_USING_STD(map);
|
||||
SG_USING_STD(vector);
|
||||
|
||||
|
||||
class FGBeacon {
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#ifdef SG_HAVE_STD_INCLUDES
|
||||
# include <istream>
|
||||
#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
# include <iostream.h>
|
||||
#elif defined( __BORLANDC__ )
|
||||
# include <iostream>
|
||||
|
@ -42,8 +42,8 @@
|
|||
# include <istream.h>
|
||||
#endif
|
||||
|
||||
#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
FG_USING_STD(istream);
|
||||
#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
SG_USING_STD(istream);
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
|
||||
#include "nav.hxx"
|
||||
|
||||
FG_USING_STD(map);
|
||||
FG_USING_STD(vector);
|
||||
SG_USING_STD(map);
|
||||
SG_USING_STD(vector);
|
||||
|
||||
|
||||
class FGNavList {
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include "protocol.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
class FGAtlas : public FGProtocol {
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include "protocol.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
class FGGarmin : public FGProtocol {
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include "protocol.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
class FGJoyClient : public FGProtocol {
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include "protocol.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
class FGNative : public FGProtocol {
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include "protocol.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
class FGNMEA : public FGProtocol {
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
|
||||
#include "props.hxx"
|
||||
|
||||
FG_USING_STD(cout);
|
||||
FG_USING_STD(istrstream);
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(istrstream);
|
||||
|
||||
FGProps::FGProps() {
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "protocol.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
const static int max_cmd_len = 256;
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
#include STL_STRING
|
||||
#include <vector>
|
||||
|
||||
FG_USING_STD(string);
|
||||
FG_USING_STD(vector);
|
||||
SG_USING_STD(string);
|
||||
SG_USING_STD(vector);
|
||||
|
||||
|
||||
#define FG_MAX_MSG_SIZE 16384
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include "protocol.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
class FGPVE : public FGProtocol {
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include "protocol.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
class FGRAY : public FGProtocol {
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "protocol.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
class FGRUL : public FGProtocol {
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#if defined( FG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
#if defined( SG_HAVE_NATIVE_SGI_COMPILERS )
|
||||
# include <iostream.h>
|
||||
#else
|
||||
# include <iostream>
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <simgear/math/sg_types.hxx>
|
||||
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
#include "features.hxx"
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <time.h>
|
||||
#include STL_STRING
|
||||
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
#include "matlib.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
// global material management class
|
||||
|
|
|
@ -51,10 +51,10 @@
|
|||
#include "newmat.hxx"
|
||||
|
||||
|
||||
FG_USING_STD(string);
|
||||
FG_USING_STD(map);
|
||||
FG_USING_STD(vector);
|
||||
FG_USING_STD(less);
|
||||
SG_USING_STD(string);
|
||||
SG_USING_STD(map);
|
||||
SG_USING_STD(vector);
|
||||
SG_USING_STD(less);
|
||||
|
||||
|
||||
// Material management class
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
#include STL_STRING // Standard C++ string library
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
// MSVC++ 6.0 kuldge - Need forward declaration of friends.
|
||||
|
|
|
@ -57,8 +57,8 @@
|
|||
#include "matlib.hxx"
|
||||
#include "obj.hxx"
|
||||
|
||||
FG_USING_STD(string);
|
||||
FG_USING_STD(vector);
|
||||
SG_USING_STD(string);
|
||||
SG_USING_STD(vector);
|
||||
|
||||
|
||||
typedef vector < int > int_list;
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
#include <Scenery/tileentry.hxx>
|
||||
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
// duplicated from the TerraGear tools
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <plib/ssg.h>
|
||||
|
||||
FG_USING_STD(vector);
|
||||
SG_USING_STD(vector);
|
||||
|
||||
|
||||
class FGHitRec {
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
#include "tileentry.hxx"
|
||||
#include "tilemgr.hxx" // temp, need to delete later
|
||||
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
// a cheesy hack (to be fixed later)
|
||||
extern ssgBranch *terrain;
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
#include "tileentry.hxx"
|
||||
|
||||
FG_USING_STD(map);
|
||||
SG_USING_STD(map);
|
||||
|
||||
|
||||
typedef map < long, FGTileEntry * > tile_map;
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
|
||||
#include "tileentry.hxx"
|
||||
|
||||
FG_USING_STD(for_each);
|
||||
FG_USING_STD(mem_fun_ref);
|
||||
SG_USING_STD(for_each);
|
||||
SG_USING_STD(mem_fun_ref);
|
||||
|
||||
|
||||
// Constructor
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
FG_USING_STD(string);
|
||||
FG_USING_STD(vector);
|
||||
SG_USING_STD(string);
|
||||
SG_USING_STD(vector);
|
||||
|
||||
|
||||
typedef vector < Point3D > point_list;
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
#include "hitlist.hxx"
|
||||
|
||||
FG_USING_STD(list);
|
||||
SG_USING_STD(list);
|
||||
|
||||
|
||||
#if defined(USE_MEM) || defined(WIN32)
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
#include <plib/sl.h>
|
||||
#include <plib/sm.h>
|
||||
|
||||
FG_USING_STD(map);
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(map);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
// manages everything we need to know for an individual sound sample
|
||||
|
|
|
@ -57,9 +57,9 @@
|
|||
|
||||
#include "event.hxx"
|
||||
|
||||
FG_USING_STD(for_each);
|
||||
FG_USING_STD(mem_fun);
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(for_each);
|
||||
SG_USING_STD(mem_fun);
|
||||
SG_USING_STD(string);
|
||||
|
||||
fgEVENT_MGR global_events;
|
||||
|
||||
|
|
|
@ -40,9 +40,9 @@
|
|||
#include STL_STRING
|
||||
|
||||
|
||||
FG_USING_STD(deque);
|
||||
FG_USING_STD(list);
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(deque);
|
||||
SG_USING_STD(list);
|
||||
SG_USING_STD(string);
|
||||
|
||||
|
||||
class fgEVENT
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#endif
|
||||
|
||||
#include <string>
|
||||
FG_USING_STD(string);
|
||||
SG_USING_STD(string);
|
||||
|
||||
#include <simgear/constants.h>
|
||||
#include <simgear/debug/logstream.hxx>
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
#ifdef SG_HAVE_STD_INCLUDES
|
||||
# include <ctime>
|
||||
# ifdef macintosh
|
||||
FG_USING_STD(time_t);
|
||||
SG_USING_STD(time_t);
|
||||
# endif
|
||||
#else
|
||||
# include <time.h>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
# include <cstdio>
|
||||
# include <ctime>
|
||||
# ifdef macintosh
|
||||
FG_USING_STD(time_t);
|
||||
SG_USING_STD(time_t);
|
||||
# endif
|
||||
#else
|
||||
# include <math.h>
|
||||
|
|
|
@ -71,9 +71,9 @@ HISTORY
|
|||
/****************************************************************************/
|
||||
/* DEFINES */
|
||||
/****************************************************************************/
|
||||
FG_USING_STD(vector);
|
||||
FG_USING_STD(string);
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_STD(vector);
|
||||
SG_USING_STD(string);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
/****************************************************************************/
|
||||
/* CLASS DECLARATION */
|
||||
|
|
|
@ -78,9 +78,9 @@ HISTORY
|
|||
#include "FGCloudItem.h"
|
||||
#include "FGSnowRain.h"
|
||||
|
||||
FG_USING_STD(vector);
|
||||
FG_USING_STD(map);
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_STD(vector);
|
||||
SG_USING_STD(map);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
/****************************************************************************/
|
||||
/* FOREWARD DEFINITIONS */
|
||||
|
|
|
@ -67,8 +67,8 @@ HISTORY
|
|||
#include "FGWeatherDefs.h"
|
||||
#include "FGPhysicalProperties.h"
|
||||
|
||||
FG_USING_STD(vector);
|
||||
FG_USING_NAMESPACE(std);
|
||||
SG_USING_STD(vector);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
/****************************************************************************/
|
||||
/* used for output: */
|
||||
|
|
|
@ -71,7 +71,7 @@ HISTORY
|
|||
/****************************************************************************/
|
||||
/* DEFINES */
|
||||
/****************************************************************************/
|
||||
FG_USING_STD(vector);
|
||||
SG_USING_STD(vector);
|
||||
|
||||
/****************************************************************************/
|
||||
/* CLASS DECLARATION */
|
||||
|
|
Loading…
Reference in a new issue