modelName = model; // Set the class modelName attribute
-# ifdef macintosh
- separator = ";";
-# endif
-
if( AircraftPath.empty() || EnginePath.empty() || SystemsPath.empty()) {
cerr << "Error: attempted to load aircraft with undefined ";
cerr << "aircraft, engine, and system paths" << endl;
9.0/5.0*(temperature->getDoubleValue()+273.15) );
Atmosphere->SetExPressure(pressure->getDoubleValue()*70.726566);
Atmosphere->SetExDensity(density->getDoubleValue());
+ Atmosphere->SetTurbType(FGAtmosphere::ttCulp);
Atmosphere->SetTurbGain(turbulence_gain->getDoubleValue());
Atmosphere->SetTurbRate(turbulence_rate->getDoubleValue());
int n;
string sep = "/";
-# ifdef macintosh
- sep = ";";
-# endif
-
if( useStoredPath ) {
init_file_name = fdmex->GetFullAircraftPath() + sep + rstfile + ".xml";
} else {
FGfdmSocket::~FGfdmSocket()
{
- #ifndef macintosh
if (sckt) shutdown(sckt,2);
if (sckt_in) shutdown(sckt_in,2);
- #endif
#ifdef __BORLANDC__
WSACleanup();
Element *temp_element, *axis_element, *function_element;
string separator = "/";
-#ifdef macintosh
- separator = ";";
-#endif
fname = element->GetAttributeValue("file");
if (!fname.empty()) {
Debug(2);
string separator = "/";
-#ifdef macintosh
- separator = ";";
-#endif
fname = element->GetAttributeValue("file");
if (!fname.empty()) {
Components=0;
string separator = "/";
-#ifdef macintosh
- separator = ";";
-#endif
// ToDo: The handling of name and file attributes could be improved, here,
// considering that a name can be in the external file, as well.
ifstream system_file;
string separator = "/";
-# ifdef macintosh
- separator = ";";
-# endif
fullpath = systemPath + separator;
localpath = aircraftPath + separator + "Systems" + separator;
ifstream* system_file = new ifstream();
string separator = "/";
-# ifdef macintosh
- separator = ";";
-# endif
fullpath = systemPath + separator;
localpath = aircraftPath + separator + "Systems" + separator;
Element *property_element;
string separator = "/";
-# ifdef macintosh
- separator = ";";
-# endif
if (!DirectivesFile.empty()) { // A directives filename from the command line overrides
output_file_name = DirectivesFile; // one found in the config file.
ifstream engine_file;
string separator = "/";
-# ifdef macintosh
- separator = ";";
-# endif
fullpath = enginePath + separator;
localpath = aircraftPath + separator + "Engines" + separator;
ifstream* engine_file = new ifstream();
string separator = "/";
-# ifdef macintosh
- separator = ";";
-# endif
fullpath = enginePath + separator;
localpath = aircraftPath + separator + "Engines" + separator;
FGColumnVector3 location, orientation;
string separator = "/";
-# ifdef macintosh
- separator = ";";
-# endif
-
fullpath = enginePath + separator;
localpath = aircraftPath + separator + "Engines" + separator;
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>
#include <simgear/compiler.h>
-#if defined( __MWERKS__ )
-// -dw- optimizer chokes (big-time) trying to optimize humongous
-// loop/switch statements
-#pragma optimization_level 0
-#endif
#include <cstdlib>
#include <string>