]> git.mxchange.org Git - flightgear.git/commit
Add formatted KDI572/574 properties
authorTorsten Dreyer <torsten@ŧ3r.de>
Wed, 11 Feb 2015 07:33:45 +0000 (08:33 +0100)
committerTorsten Dreyer <torsten@ŧ3r.de>
Wed, 11 Feb 2015 07:35:31 +0000 (08:35 +0100)
commitb42841ccd260402acf05c236bcf98a9e81c0c5e9
tree98ea7cec38809105fd43e5e6d4ea4b99aba98edb
parent8c38cf5740eb75992e3d8444c2c631942cf0569d
Add formatted KDI572/574 properties

Syd Adams:
I've added an update to dme.cxx /dme.hxx.
It adds a formatted KDI572-574/nm , min and kt string properties meant
for text animations for these instruments.Existing instruments will funtion
as usual, no breaks. The purpose here is to eliminate yet another nasal
workaround which usually needs to repeat some of what the code already does.
The 3 properties are empty when the dme is off (no need to check for power),
dashes when powered up but no source , out of range ,etc.
The are formatted to the KDI-572/573/574 limits ...
0-99.9/100-389 for distance to station,
0-99 minutes for time to station,
groundspeed 0-999 kt.
src/Instrumentation/dme.cxx
src/Instrumentation/dme.hxx