]> git.mxchange.org Git - flightgear.git/commit
David Luff writes:
authorcurt <curt>
Mon, 19 Nov 2001 23:53:36 +0000 (23:53 +0000)
committercurt <curt>
Mon, 19 Nov 2001 23:53:36 +0000 (23:53 +0000)
commite35fffa035f101cf33ed7c87485cc73241de98a5
tree86da419116a41ef2fcb172f1d928abb021ffa7a8
parent36de63366b1b7de5581d477f65a41ec414e5c33e
David Luff writes:

Heres an update to the ATIS stuff.  In brief:

The possible buffer overflow in the display with wind should
hopefully be fixed.

Temperature is taken from the global temperature property instead
of being hardwired.

The display class now includes an implementation of the member
function to change the repeating message.

The message callsign is no longer hardwired.  The first message
from each station is generated with a random callsign.
Subsequent messages from the same station have the callsign
incremented every hour.  A map of airport-id vs. last callsign and
transmission time is kept for each station that has transmitted for
the duration of the FlightGear session.  The logic might be flaky if
FlightGear is run for more than 24 hours at a stretch between
visiting the same ATIS station though!  (ie I don't check the day.)
This map is kept in the atislist class.  This might not be the best
long-term place for it (in an ATC class of some sort might be
better), but it works for now.
aclocal.m4
src/ATC/ATCdisplay.cxx
src/ATC/ATCdisplay.hxx
src/ATC/atis.cxx
src/ATC/atislist.cxx
src/ATC/atislist.hxx
src/Cockpit/radiostack.cxx
src/GUI/mouse.cxx
src/Include/config.h.in