1
0
Fork 0
flightgear/src
ehofman fe020badf0 James Turner:
By way of example, here's a patch to make the position init code (in fg_init.cxx) cleaner, partly thanks to the FGPositioned changes. It reduces the file size by 200 lines - virtually all of which was copy-and-paste. Once the remaining class (FGAirport) is converted to inherit FGPositioned, all the future patches should be like this - touching one or a few files at most.

This factors the start-offset logic out into a helper, which also does the final property setting (which has to happen on both the /preset and 'real' values). Using the accessors in FGPositioned, and the offset helper, a couple of cases become trivial (fix and nav) and others become much simpler.
2008-09-13 08:06:15 +00:00
..
AIModel James Turner: 2008-09-11 08:38:09 +00:00
Aircraft James Turner: 2008-07-29 08:27:48 +00:00
Airports James Turner: 2008-09-11 08:38:09 +00:00
ATC James Turner: Improved runway management code: 2008-08-14 18:13:39 +00:00
ATCDCL James Turner: 2008-09-11 08:38:09 +00:00
Autopilot James Turner: 2008-09-10 08:54:49 +00:00
Cockpit James Turner: 2008-09-11 08:38:09 +00:00
Environment set wind vector for particle systems 2008-09-11 10:29:18 +00:00
FDM "make dist" fixes. 2008-08-28 21:20:21 +00:00
GUI Czaba Halasz: 2008-08-21 20:14:26 +00:00
Include Updates to match prerelease version number. 2008-08-28 21:20:49 +00:00
Input CameraGroup class for managing multiple cameras. 2008-08-01 15:57:29 +00:00
Instrumentation James Turner: 2008-09-12 08:46:15 +00:00
Main James Turner: 2008-09-13 08:06:15 +00:00
Model - remove the SG_GLxxxx_H #defines, since OSG provides its own versions 2008-07-27 16:25:13 +00:00
MultiPlayer James Turner: Improved runway management code: 2008-08-14 18:13:39 +00:00
Navaids James Turner: 2008-09-12 08:46:15 +00:00
Network Allow generic file protocol to terminate fg after a number of repetitions. 2008-08-07 22:24:47 +00:00
Scenery CameraGroup class for managing multiple cameras. 2008-08-01 15:57:29 +00:00
Scripting James Turner: 2008-09-11 08:38:09 +00:00
Sound Don't update twice.. 2008-09-05 11:48:08 +00:00
Systems header cleanups 2008-07-31 12:04:32 +00:00
Time Remove unneeded inclusions of windows.h, GL.h and GLU.H 2008-07-27 15:18:34 +00:00
Traffic James Turner: 2008-07-29 08:27:48 +00:00
.cvsignore -Removed .cvsignore from itself, since .cvsignore is now in the CVS 2001-12-12 04:15:23 +00:00
Makefile.am Initial attempt to establish a better integration between AI and ATC code. 2008-07-13 12:51:06 +00:00