> One of the jobs of the ATC manager is to spread the ATC load by only updating a > maximum of one ATC station each frame, and it is assumed that the manager itself > will run at full simulation fidelity. Updating only once every 2 seconds would mean > a noticable lag between selecting a frequency and sound being rendered (assuming a > continuous transmission frequency like ATIS here) since the ATC manager also handles > frequency search. It's better that I fix the problem - although I'm quite happy for > it to be disabled by default like the AI manager until it's sorted.
Could the ATC manager be implemented as a low-priority thread which is woken up every so often (few seconds) to update the list of distances to the ground stations, and additionally if a frequency is changed? The realtime loop would then always have ready-to-use references to the currently selected stations. -Gerhard -- | voice: +43 (0)676 6253725 *** web: http://www.cosy.sbg.ac.at/~gwesp/ | | Passts auf, seid's vuasichdig, und lossds eich nix gfoin! | -- Dr. Kurt Ostbahn _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
