On Sunday 25 November 2007 11:13, Melchior FRANZ wrote:
> * Melchior FRANZ -- Sunday 25 November 2007:
> > But I don't like that the very much un-dynamic parking
> > information isn't in the Airports/ dir, where it belongs, and that
> > this somehow drags AI/Traffic into the game.
>
> What about this: we create in $FG_ROOT/Airports/ a subdir with
> airport files which contain all the data from apt.dat that don't
> need to be in memory all the time for all airports on Earth.
> So, a file  $FG_ROOT/Airports/Data/K/KSFO.xml would contain,
> for example, startup positions, frequencies (in addition to
> those we need in memory), etc. This would be a proper
> <PropertyList> XML file and at startup or after teleporting
> to a different airport it could just be loaded into the
> property tree under /sim/airport/. Creating those files could
> be done by a simple script.
>

Sounds good to me. But while we're at it, wouldn't it be better to update and 
extend the parking.xml files into <PropertyList> XML, and move those to 
$FG_ROOT/Airports/Data, like you suggested? Possibly including radio 
frequencies, and may other information. Note that I don't object against such 
a change. In my previous message, I just wanted to note that I had my reasons 
to start the way I did, but that doesn't mean that particular format is 
carved in stone for years to come. 

My overarching concern with having two sets of data, one for user aircraft and 
one for AI, is that that would duplicate these data and thus not only add to 
the the size of the data dir, but also increase the burden of synchronizing 
the two. (The AI system needs to become aware of the user aircraft and it's 
intentions, and sharing data is necessary for that IMHO).

Cheers,
Durk

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to