//
#include <simgear/misc/sg_path.hxx>
+
#include <Main/globals.hxx>
+#include <Main/fg_props.hxx>
#include "xmlloader.hxx"
#include "dynamicloader.hxx"
XMLLoader::~XMLLoader() {}
string XMLLoader::expandICAODirs(const string in){
- cerr << "Expanding " << in << endl;
+ //cerr << "Expanding " << in << endl;
if (in.size() == 4) {
char buffer[11];
snprintf(buffer, 11, "%c/%c/%c", in[0], in[1], in[2]);
- cerr << "result: " << buffer << endl;
+ //cerr << "result: " << buffer << endl;
return string(buffer);
} else {
return in;
try {
readXML(parkpath.str(), visitor);
d->init();
- }
- catch (const sg_exception &e) {
+ }
+ catch (const sg_exception &e) {
+ }
+ return;
}
- return;
- }
- }
+ }
+ }
}
}