]> git.mxchange.org Git - flightgear.git/commit
Improved selection of active runway (currently AI traffic only).
authordurk <durk>
Sat, 4 Mar 2006 08:49:36 +0000 (08:49 +0000)
committerdurk <durk>
Sat, 4 Mar 2006 08:49:36 +0000 (08:49 +0000)
commitb9752635a9360e577f43d978702adf2656199ea6
tree46e89dc9cde1b3872e0d975f51a028c174e56f0b
parentebc9e71916bc71872a783867f9bfb0daed22f02d
Improved selection of active runway (currently AI traffic only).
The original code selected the most preferable runway combination,
regardless of which combination was currently active. This patch
builds in some additional resistance against change, by keeping
track of which runways are already in use, and forces a change
in active runways only when new (wheather/time of day) conditions
force it to do so, resulting in much more consistent runway assignment.
behavior.
src/Airports/dynamics.cxx
src/Airports/dynamics.hxx
src/Airports/runwayprefs.cxx
src/Airports/runwayprefs.hxx