]> git.mxchange.org Git - flightgear.git/commit
James Turner:
authorehofman <ehofman>
Sun, 3 Aug 2008 14:34:42 +0000 (14:34 +0000)
committerehofman <ehofman>
Sun, 3 Aug 2008 14:34:42 +0000 (14:34 +0000)
commitc4a38e10ecff7312683379d450a0ae37af6508c6
treea99b81b1e6f2216812ae16daf208798ca7548505
parent66eef4dafc89d874995b98628fc1495cba5963ad
James Turner:
Attached patch + new file make FGNavRecord have a .cxx file, and a constructor w
hich allows all the parameters to be supplied. Along the way I also cleaned up t
he navrecord.hxx header, lots more header pollution has been killed.

Some long methods are no longer inline, but were all suspiciously long to meet c
ompiler inlining criteria (I'm not clear if the 'inline' keyword is advisory or
mandatory in this situation) - I don't expect this to affect performance in any
way whatsoever.

The constructor addition is to support some hacking I'm doing improving the star
tup performance of the navDB by lazily loading the data, and caching it in a mor
e efficient format than text. I'm submitting this change (and probably some othe
r small tweaks in the future) since they are worthwhile as cleanups regardless o
f how my current experiments work out.
src/Instrumentation/adf.cxx
src/Instrumentation/dclgps.cxx
src/Instrumentation/dclgps.hxx
src/Instrumentation/gps.cxx
src/Instrumentation/kr_87.cxx
src/Instrumentation/navradio.cxx
src/Navaids/Makefile.am
src/Navaids/navdb.cxx
src/Navaids/navrecord.cxx [new file with mode: 0644]
src/Navaids/navrecord.hxx