]> git.mxchange.org Git - flightgear.git/commit
Add fgInitNav() function so that navaids and fixes can be loaded
authordavid <david>
Fri, 21 Feb 2003 02:45:47 +0000 (02:45 +0000)
committerdavid <david>
Fri, 21 Feb 2003 02:45:47 +0000 (02:45 +0000)
commit22097a5272e3da17fc200e9e2d06ad84f78ed7fd
tree1f8f3e9e35512dde54b83fdc93b6546f5e862c3e
parent7d7a137d8660fa7a1137d31c5486560e3e112e7f
Add fgInitNav() function so that navaids and fixes can be loaded
earlier, before fgInitSubsystems().

Modify fgInitPos() so that the plane is not automatically aligned with
a runway when an airport is the reference point unless (a) a runway
was explicitly requested, or (b) the plane is on the ground with no
offset distance specified.  To set up the plane lined up on an
approach to a runway, use something like

  fgfs --airport=CYOW --runway=32 --altitude=300 --offset-distance=0.5

This way, it's possible to specify a starting position relative to an
airport without getting snapped onto a runway approach (unless you
want to be).
src/Main/fg_init.cxx