David Megginson wrote: > Since we have the YASim FDM in the FlightGear source tree, it makes > sense to add Andy's four config files to the base package. Right > now, YASim looks for the config files in $FG_ROOT/Aircraft; that's > probably going to be a bit confusing, since the JSBSim models are in > subdirectories in the same location. How about > $FG_ROOT/Aircraft-yasim/, parallel with $FG_ROOT/Aircraft-uiuc?
Works for me. That's what I would have picked anyway. I just thought it would be kinda presumptuous to start adding directories to the base package. :) The following patch to YASim.cxx changes the directory search path, and all will be well. Andy --- YASim.cxx 2001/12/06 06:34:31 1.33 +++ YASim.cxx 2001/12/06 18:31:50 @@ -107,7 +107,7 @@ // Build a filename and parse it SGPath f(globals->get_fg_root()); - f.append("Aircraft"); + f.append("Aircraft-yasim"); f.append(fgGetString("/sim/aircraft")); f.concat(".xml"); readXML(f.str(), *_fdm); -- Andrew J. Ross NextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com "Men go crazy in conflagrations. They only get better one by one." - Sting (misquoted) _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel