]> git.mxchange.org Git - flightgear.git/commit
move generation of lon/lat string representations here from cockpit.cxx.
authormfranz <mfranz>
Sat, 17 Jun 2006 16:33:00 +0000 (16:33 +0000)
committermfranz <mfranz>
Sat, 17 Jun 2006 16:33:00 +0000 (16:33 +0000)
commitaf0ad80b51fb1a95b89dc989dff0bb1580102072
tree9dc1e6831c81a8e972532c653235f73891c00e43
parent890fa81c7e079a8227436e5f91df73fc99212828
move generation of lon/lat string representations here from cockpit.cxx.
Thanks to tied functions, this is only executed when the node is read. This
will be done by the old & new HUD code, the latter of which won't have a
special lon/lat mode at all. Instead it will be regular labels that point
to these properties for displaying lon/lat.
   I would have liked to avoid the duplication of code (lon and lat being
basically the same thing), and to avoid using static buffers and all, but
... if anyone wants to make it prettier, go ahead.
   The format is controlled by /sim/lon-lat-format (will be changed if I
find a better place).
src/Main/fg_props.cxx