]> git.mxchange.org Git - flightgear.git/commit
Read groundnet node information from the scenery, and (optionally) write it to a...
authorDurk Talsma <durk@localhost.(none)>
Sat, 3 Sep 2011 09:26:17 +0000 (11:26 +0200)
committerDurk Talsma <durk@localhost.(none)>
Sat, 3 Sep 2011 09:26:17 +0000 (11:26 +0200)
commite65f53b571794fc4c4f3746699f4e2e47f08e808
treedaf1ddf6961247aaca5874edcc4d73b22764231b
parent7ae9122f4e714e1a4ac7ccd0cabd629b10b917c0
Read groundnet node information from the scenery, and (optionally) write it to a cache file. Note that this mechanism should be extended, so that the cache files will be updated whenever the terrain files are changing. The current patch also uncovers a bug, in the sense that the groundnetwork destructor is never called. Presumably this is due to the way airports are allocated in flightgear. Because the ground networks are never saved, I am periodically saving the cache files; but this behavior should probably be changed later on.

The current patch incorporates work contributed by Adrian Musceac.
src/ATC/trafficcontrol.cxx
src/ATC/trafficcontrol.hxx
src/Airports/gnnode.cxx
src/Airports/gnnode.hxx
src/Airports/groundnetwork.cxx
src/Airports/groundnetwork.hxx
src/Airports/simple.cxx