e35fffa035
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. |
||
---|---|---|
.. | ||
apt_dlg.cxx | ||
apt_dlg.hxx | ||
gui.cxx | ||
gui.h | ||
gui_local.cxx | ||
gui_local.hxx | ||
Makefile.am | ||
mouse.cxx | ||
net_dlg.cxx | ||
net_dlg.hxx | ||
prop_picker.cxx | ||
prop_picker.hxx | ||
sgVec3Slider.cxx | ||
sgVec3Slider.hxx | ||
trackball.c | ||
trackball.h |