1
0
Fork 0
flightgear/src
curt c81fbb937a David Luff:
Firstly, the search of a given runway number was coming out wrong if the
reverse of the one actually in the database was given, resulting in the AI
plane going to the wrong runway.  This was caused by the fact that if the
reverse runway number to the one wanted was matched then revrwyno was
assigned to rwy.rwy_no, whereas actually it was the original runwayno that
should have been assigned.

Secondly, whilst instrumenting the search with couts to see what was going
wrong, I noticed that one runway would come up loads of times.  It turns
out that this is because taxiways and the next airport line were loaded in
as the last runway, with only the type changed, in the constructor.  Thus
the total number of runway entries for all except the last airport equalled
(no-of-runways + no-of-taxiways +  1).  I've changed a couple of lines to
fix this.

[Curt: this was partially fixed last week, but now it should be completely
fixed.  Thanks Dave!]
2003-09-02 19:12:11 +00:00
..
Aircraft Back out the patch that made fgLoadAircraft a static function 2003-08-11 17:34:16 +00:00
Airports David Luff: 2003-09-02 19:12:11 +00:00
ATC Redo the runway database scheme to use a flat/ascii file and load the entire 2003-08-29 04:11:23 +00:00
Autopilot Fix a devide by zero bug"src/Autopilot/newauto.cxx 2003-07-22 08:13:10 +00:00
Cockpit Disable depth buffer writes for 2D insturments. This should prevent z-buffer fighting 2003-08-16 11:35:04 +00:00
Controls Initialize a couple values before using them. 2003-05-13 11:35:35 +00:00
Environment Add support for moving cloud layers 2003-08-19 13:06:51 +00:00
FDM New automake, new problems. Add $base_LIBS for programs since $LIBS isn't substituted automatically anymore 2003-08-29 09:03:49 +00:00
GUI Change GLUT_H to FG_GLUT_H to prevent a naming clash with freeglut. 2003-08-21 09:12:12 +00:00
Include Change GLUT_H to FG_GLUT_H to prevent a naming clash with freeglut. 2003-08-21 09:12:12 +00:00
Input Change GLUT_H to FG_GLUT_H to prevent a naming clash with freeglut. 2003-08-21 09:12:12 +00:00
Instrumentation Annunciators cannot work if electrical system is not serviceable. 2003-08-01 00:22:14 +00:00
Main Add a --ceiling=FT_AGL[:THICKNESS_AGL] option to create a default 2003-09-01 22:58:19 +00:00
Model Roll out last change for now. It kills the mag compass on the default 2003-09-01 22:03:46 +00:00
MultiPlayer Changes to track updates to SimGear. 2003-05-15 21:35:51 +00:00
Navaids New automake, new problems. Add $base_LIBS for programs since $LIBS isn't substituted automatically anymore 2003-08-29 09:03:49 +00:00
Network Minor tweak. 2003-08-28 20:52:05 +00:00
NetworkOLK Change GLUT_H to FG_GLUT_H to prevent a naming clash with freeglut. 2003-08-21 09:12:12 +00:00
Objects Move low level "tg" object loader code over to SimGear. 2003-05-28 21:01:55 +00:00
Replay Add support for communicating a flap motor failure. 2003-08-01 19:37:20 +00:00
Scenery Use the glPointParameter function pointer rather than the function itself 2003-08-29 16:50:20 +00:00
Scripting Compiler squawked because a typed function had no return, create a dummy value 2003-08-11 19:33:49 +00:00
Sound Fix some compiler warnings. 2003-08-11 19:31:50 +00:00
Systems Eliminate divide-by-zero error. AI should spin down gradually again. 2003-07-22 02:05:50 +00:00
Time Average sunlight and ambient light instead of multiplying it 2003-08-29 22:13:05 +00:00
WeatherCM This is step "1" of probably "many" in the process of separating out the 2003-05-06 23:54:17 +00:00
.cvsignore -Removed .cvsignore from itself, since .cvsignore is now in the CVS 2001-12-12 04:15:23 +00:00
Makefile.am Curt: 2003-07-17 18:24:17 +00:00