]> git.mxchange.org Git - flightgear.git/log
flightgear.git
20 years agoUpdates.
ehofman [Tue, 1 Jun 2004 08:36:27 +0000 (08:36 +0000)]
Updates.

20 years agoDavid Culp:
ehofman [Sat, 29 May 2004 11:39:10 +0000 (11:39 +0000)]
David Culp:

Here's some new AI stuff.

1)  AI objects must now be defined in a scenario file, not in preferences.xml
or a *-set file.  (Of course this doesn't prevent objects from being created
dynamically, as with Durk's traffic manager).

2)  A new demo_scenario file is attached.  It creates 3 aircraft, a sailboat,
and a thunderstorm.

3)  Objects without flightplans live forever.

4)  FGAIShip::ProcessFlightplan() is not yet implemented.

5)  preferences.xml should now define only <enabled> and <scenario>

20 years agoRemove some left over debugging output.
curt [Fri, 28 May 2004 21:47:11 +0000 (21:47 +0000)]
Remove some left over debugging output.

20 years agoAllow a "threshold" value to determine which localizers to snap to the
curt [Fri, 28 May 2004 20:57:05 +0000 (20:57 +0000)]
Allow a "threshold" value to determine which localizers to snap to the
runway heading or not.

20 years agoFix a gxx 3.3 compiler problem.
ehofman [Fri, 28 May 2004 19:03:55 +0000 (19:03 +0000)]
Fix a gxx 3.3 compiler problem.

20 years agoCurt Olson:
curt [Fri, 28 May 2004 16:24:43 +0000 (16:24 +0000)]
Curt Olson:

These change add some code that at initialization time will snap all
localizers into perfect alignment with their runways.  It's my experience
that the DAFIF/FAA data reports runway and localizer headings to a level
of precision that is great for making charts, or adjusting your OBS, etc.
But the level of precision of this data can be far enough off to make you
visibly *un*aligned with the runway when the CDI needle is centered.

There are probably cases where the localizer isn't really perfectly
aligned with the runway, or intentionally misaligned to avoid obstacles
or terrain.  So I have made this configurable for those that trust the
data more than I do.  Just set "/sim/navdb/auto-align-localizers" to
true/false in the preferences file to turn this feature on or off in the
code.

20 years agoUse SGRawValueMethods rather than SGRawValueFunctions because that allows one to...
ehofman [Fri, 28 May 2004 08:46:33 +0000 (08:46 +0000)]
Use SGRawValueMethods rather than SGRawValueFunctions because that allows one to pass the 'this' pointer. Remove some debug code.

20 years agoAnd again ...
curt [Fri, 28 May 2004 05:33:10 +0000 (05:33 +0000)]
And again ...

20 years agoOne more ...
curt [Fri, 28 May 2004 05:31:11 +0000 (05:31 +0000)]
One more ...

20 years agoOops, and another similar one.
curt [Fri, 28 May 2004 05:29:04 +0000 (05:29 +0000)]
Oops, and another similar one.

20 years agoFix a compile error I missed in the first round.
curt [Fri, 28 May 2004 05:27:40 +0000 (05:27 +0000)]
Fix a compile error I missed in the first round.

20 years agoThis set of changes impliments the following:
curt [Fri, 28 May 2004 05:24:54 +0000 (05:24 +0000)]
This set of changes impliments the following:

- FG now directly supports Robin's native nav database file format.
- His latest data now separates out dme, gs, loc, and marker beacon
  transmitters rather than lumping them all into a single "ILS" record.
- These new data structure changes prompted me to do some code restructuring
  so that internally these different types of navaids are all kept as
  separate lists and searched and handled separately.
- This structural change had a cascading affect on any code that
  references or uses the nav databases.  I've gone and "touched" a lot of
  nav related code in a lot of places.
- As an added bonus, the new data (and code) adds DME bias so these will
  all now read as they do in real life.

- Added Navaids/navdb.cxx and Navaids/navdb.hxx which provide a front
  end loaders for the nav data.
- Added Navaids/navrecord.hxx which is a new "generic" nav data record.
- Removed Navaids/ils.hxx, Navaids/ilslist.cxx, Navaids/ilslist.hxx,
  Navaids/mkrbeacons.cxx, and Navaids/mkrbeacons.hxx which are all now
  depricated.

20 years agoAdd the this pointer to the tied function calls. This makes it possible to make a...
ehofman [Thu, 27 May 2004 13:16:53 +0000 (13:16 +0000)]
Add the this pointer to the tied function calls. This makes it possible to make a distinction between the different aircraft models.

20 years agoMove navaids and fixes out of "global" name space into the FGGlobals
curt [Wed, 26 May 2004 18:15:19 +0000 (18:15 +0000)]
Move navaids and fixes out of "global" name space into the FGGlobals
structure.

20 years agoAdd simple icing state.
curt [Wed, 26 May 2004 18:13:34 +0000 (18:13 +0000)]
Add simple icing state.

20 years agoUpdate fix management code to read Robin's native fix.dat format.
curt [Wed, 26 May 2004 16:40:27 +0000 (16:40 +0000)]
Update fix management code to read Robin's native fix.dat format.

20 years agoDon't inline static functions.
ehofman [Tue, 25 May 2004 08:58:36 +0000 (08:58 +0000)]
Don't inline static functions.

20 years agoIn the situation where a class gets deleted, the _slef pointer is set to 0. Make...
ehofman [Mon, 24 May 2004 14:36:35 +0000 (14:36 +0000)]
In the situation where a class gets deleted, the _slef pointer is set to 0. Make sure we check for that situation before using it.

20 years agoDavid Culp:
ehofman [Fri, 21 May 2004 16:50:19 +0000 (16:50 +0000)]
David Culp:

1.  Removed aircraft roll on ground.
2.  Decreased descent pitch angle.
3.  Updated flightplans to include <on-ground>
4.  Fixed property indexing, so all AI aircraft have their own property branch

The default value of <on-ground> is false, so you only need to specify it when
on the ground.  For takeoff you need to specify <on-ground>true</on-ground>
for the first waypoint, and for the acceleration waypoint.  For landing you
need to specify it for the touchdown point and any taxi points.

One problem.  WARNING **** There is a bug in the way the property system
works, which causes a segfault, but I don't know if the problem is in the
property code, or in how I'm using it.  After an AI object terminates, if you
access the property tree through the property browser the sim will segfault.

20 years agoUpdates for the bump-mapped 2d cloud code.
ehofman [Fri, 21 May 2004 14:57:42 +0000 (14:57 +0000)]
Updates for the bump-mapped 2d cloud code.

20 years agoInitialize the bump-mapped 3d clouds to true.
ehofman [Thu, 20 May 2004 14:13:36 +0000 (14:13 +0000)]
Initialize the bump-mapped 3d clouds to true.

20 years agoAdd a property to be able to turn the bump-mapped cloud code on and off at runtime.
ehofman [Thu, 20 May 2004 13:27:40 +0000 (13:27 +0000)]
Add a property to be able to turn the bump-mapped cloud code on and off at runtime.

20 years agoOops, change type.
ehofman [Wed, 19 May 2004 14:10:31 +0000 (14:10 +0000)]
Oops, change type.

20 years agoAdd AI models enableing/disableing command line option and support code.
ehofman [Wed, 19 May 2004 13:55:49 +0000 (13:55 +0000)]
Add AI models enableing/disableing command line option and support code.

20 years agoReduce the update delay from 500 ms to 100 ms.
ehofman [Wed, 19 May 2004 08:12:21 +0000 (08:12 +0000)]
Reduce the update delay from 500 ms to 100 ms.

20 years agoFred found some iterated related problems. With a bit of luck this solves the segment...
ehofman [Wed, 19 May 2004 08:01:02 +0000 (08:01 +0000)]
Fred found some iterated related problems. With a bit of luck this solves the segmentation fault problem.

20 years agoSome small updates that hopefully solve the segmentation fault at the end of the...
ehofman [Tue, 18 May 2004 09:09:08 +0000 (09:09 +0000)]
Some small updates that hopefully solve the segmentation fault at the end of the flightplan.

20 years agoFix a bug with propeller gearing. The torque computations weren't
andy [Tue, 18 May 2004 01:46:36 +0000 (01:46 +0000)]
Fix a bug with propeller gearing.  The torque computations weren't
properly correcting for the gear ratio.  This is the source of the
problems Vivian and Jim were having with the Spitfire and Mustang.

20 years agoDavid Culp:
ehofman [Mon, 17 May 2004 08:45:33 +0000 (08:45 +0000)]
David Culp:

First, preferences.xml will define the scenario filename.

For now, the other way of defining ai objects still works, so the sailboat
stays in preferences.xml.  Later, I'll move the sailboat into the demo
scenario.  If no scenario filename is given, then no scenario will be
processed.

I changed the demo scenario to create two 737's, one takes off on runway 01L,
and the other takes off on runway 01R.  This will make a good demo for the ai
system.  One problem, if you takeoff on 28L/R right away, you might run into
the taking-off 737's, or be scared.

20 years agoDon't set values on "live" text objects to prevent confusion when a
andy [Sat, 15 May 2004 21:41:42 +0000 (21:41 +0000)]
Don't set values on "live" text objects to prevent confusion when a
dialog-apply happens.

20 years agoFix a bug where the interpreter could read a garbage buffer from the stack.
andy [Sat, 15 May 2004 21:40:58 +0000 (21:40 +0000)]
Fix a bug where the interpreter could read a garbage buffer from the stack.

20 years agoUse lower case letters instead.
ehofman [Sat, 15 May 2004 12:46:25 +0000 (12:46 +0000)]
Use lower case letters instead.

20 years agoDavid Culp:
ehofman [Sat, 15 May 2004 09:07:55 +0000 (09:07 +0000)]
David Culp:

Here's the newest AI stuff.

The AIManager at init() creates a new scenario.  Right now the
default_scenario is hard coded in, but eventually the AIManager should get
the scenario filename from preferences.xml.

The scenario defines which AI objects will be created.  Right now it only
creates AIAircraft, but this is easily extended.  The scenario also defines
which flightplan will be assigned to the airplane.  Scenario config files go
in data/Data/AI.

The Airplane gets a pointer to a FlightPlan object.  Each airplane should get
its own flightplan object, even if two airplanes have the same flight plan.
This is because  the flightplan maintains the iterator pointing to the
current waypoint, and two airplanes might be at different locations (for
instance if they were created at different times).  The flight plan files go
in data/Data/AI/FlightPlans.

When the airplane gets to the waypoint named "END" it vanishes.  The
AIAircraft destructor deletes its flight plan (if it has one).

The last waypoint is a place holder only.  I called mine
<WPT><NAME>"EOF"</NAME></WPT>.

20 years agoFix the slider to request a non-zero length, and make its width a
andy [Fri, 14 May 2004 17:16:35 +0000 (17:16 +0000)]
Fix the slider to request a non-zero length, and make its width a
little larger.

The text widget can now be meaningfully associated with a property; in
PUI, it's "value" isn't the same thing as its label, but we can hack
things to treat them symmetrically.

Commit an experimental "live" property that can be set on widgets to
cause them to update their values every frame.  This works great for
text widgets, as above.  Note that this synchronization is input-only:
no support is provided (or needed -- the GUI only changes when the
user does something) for writing those properties out every frame.

20 years agoBetter support for pausing/unpausing sound.
curt [Fri, 14 May 2004 15:51:43 +0000 (15:51 +0000)]
Better support for pausing/unpausing sound.
Add support for controlling global volume of FlightGear.

20 years agomain.cxx - small tweak to sound updating logic.
curt [Fri, 14 May 2004 15:50:28 +0000 (15:50 +0000)]
main.cxx - small tweak to sound updating logic.
options.cxx - change property name /sim/sound/audible to /sim/sound/pause

20 years agoCode at this level shouldn't care if the sound manager is paused or not.
curt [Fri, 14 May 2004 15:49:10 +0000 (15:49 +0000)]
Code at this level shouldn't care if the sound manager is paused or not.
Just forge ahead as if sound is playing, let the sound manger worry about
the details.

20 years agoAdd some floating point (exception) optimizations for IRIX machines.
ehofman [Fri, 14 May 2004 11:58:57 +0000 (11:58 +0000)]
Add some floating point (exception) optimizations for IRIX machines.

20 years agoAdd a tool to test the integrity of the animation files by Josh Babcock.
ehofman [Fri, 14 May 2004 11:54:06 +0000 (11:54 +0000)]
Add a tool to test the integrity of the animation files by Josh Babcock.

20 years agoAdd -framework AGL which is required after recent gui code changes.
curt [Fri, 14 May 2004 02:05:51 +0000 (02:05 +0000)]
Add -framework AGL which is required after recent gui code changes.

20 years agoOops, need config.h before pu.h or else the build will fail on
andy [Wed, 12 May 2004 20:51:47 +0000 (20:51 +0000)]
Oops, need config.h before pu.h or else the build will fail on
glut-less systems.

20 years agoGUI layout management and a few visual/eye-candy modifications. See
andy [Wed, 12 May 2004 15:36:07 +0000 (15:36 +0000)]
GUI layout management and a few visual/eye-candy modifications.  See
DOCS/README.layout in the base package for details, along with the
modified dialog files.

20 years agoClean up some sound buffer allocation/deallocation issues.
curt [Mon, 10 May 2004 21:24:30 +0000 (21:24 +0000)]
Clean up some sound buffer allocation/deallocation issues.

20 years agoFix from Melchior: It replaces the ridiculous 5 seconds by
andy [Thu, 6 May 2004 16:28:08 +0000 (16:28 +0000)]
Fix from Melchior: It replaces the ridiculous 5 seconds by
the 30 seconds that Maik had originally intended, according to the comment.
This is important for the pending sound and rotor disc changes (and of course
for realism).

20 years agoAdd a macintosh identifier for joystick axis numbering support.
ehofman [Thu, 6 May 2004 16:07:30 +0000 (16:07 +0000)]
Add a macintosh identifier for joystick axis numbering support.

20 years agoRoy Vegard Ovesen:
ehofman [Thu, 6 May 2004 09:29:26 +0000 (09:29 +0000)]
Roy Vegard Ovesen:
Fix the leg distance calculation to display nautical miles instead of meters.

It turns out that Simgear already has a range normalize function, so I use
that one instead.

20 years agoAdd /sim/initialised which is set to true when we're ready to go.
ehofman [Wed, 5 May 2004 09:01:21 +0000 (09:01 +0000)]
Add /sim/initialised which is set to true when we're ready to go.

20 years agoAdd calls to jsInit() which is a noop on all platforms but Mac.
curt [Tue, 4 May 2004 19:02:19 +0000 (19:02 +0000)]
Add calls to jsInit() which is a noop on all platforms but Mac.

20 years agoGUI windows are now draggable. This missing feature has annoyed me
andy [Mon, 3 May 2004 00:40:50 +0000 (00:40 +0000)]
GUI windows are now draggable.  This missing feature has annoyed me
for a while, it turned out to be pretty easy to implement.  Also, the
property picker is now non-modal, I presume the modality wasn't an
intentional feature.

20 years agoReverse the sense of manual propellers. Low numbers == fast
andy [Sat, 1 May 2004 15:18:27 +0000 (15:18 +0000)]
Reverse the sense of manual propellers.  Low numbers == fast
propeller, silly.

20 years agoOops, I broke engine starting.
andy [Sat, 1 May 2004 14:30:00 +0000 (14:30 +0000)]
Oops, I broke engine starting.

20 years agoRoy Vegard Ovesen:
ehofman [Sat, 1 May 2004 09:40:09 +0000 (09:40 +0000)]
Roy Vegard Ovesen:

I've added a vertical navigation capability to the GPS module. One can input
two waypoints, wp[0] and wp[1], with altitude. If the altitudes differ, then
the altitude deviation from a "straigth" line from wp[0] to wp[1] is
calculated. The true course and course deviation from wp[0] to wp[1] is also
calculated. All this can be found in the wp subdir where one also finds the
wp[0] and wp[1] subdirs.

All this has to be done through the property browser. Maybe I should make a
gui window for the GPS!

20 years agoIt can't be turned off, so force the running flag to true to avoid an
andy [Sat, 1 May 2004 04:59:09 +0000 (04:59 +0000)]
It can't be turned off, so force the running flag to true to avoid an
uninitialization stupidity.

20 years agoInitial checkin of a TurbineEngine implementation. This hasn't been
andy [Sat, 1 May 2004 00:26:33 +0000 (00:26 +0000)]
Initial checkin of a TurbineEngine implementation.  This hasn't been
tested at all yet, but it doesn't seem to have broken anything so it
should be safe.  See the README in the base package for docs.

20 years agoAttempt at a fix for the propeller torque problems in the
andy [Sat, 1 May 2004 00:25:56 +0000 (00:25 +0000)]
Attempt at a fix for the propeller torque problems in the
"slow/windmilling propeller" regime.  I'm happy with the foundations
of the solution, but this hasn't been complete tested yet.  The
solution behavior seems fine on the planes I tried.

20 years agoRefactoring in preparation to add a turbine engine to YASim. The
andy [Fri, 30 Apr 2004 19:06:29 +0000 (19:06 +0000)]
Refactoring in preparation to add a turbine engine to YASim.  The
PistonEngine class has grown an "Engine" superclass.  Some other stuff
moved around too, and I cleaned up some property naming while I was in
there.  This hasn't been tested very thorougly, hopefully I didn't
break anything.

20 years agoMSVC fix.
ehofman [Fri, 30 Apr 2004 08:44:59 +0000 (08:44 +0000)]
MSVC fix.

20 years agoRemove the references to fg_os.hxx since the UL_USE_XXX variable is located in the...
ehofman [Fri, 30 Apr 2004 08:44:35 +0000 (08:44 +0000)]
Remove the references to fg_os.hxx since the UL_USE_XXX variable is located in the config.h file since the changes for confgure.ac.

20 years agoChanges to get FlightGear (well, the src directory at least) to
andy [Fri, 30 Apr 2004 00:52:11 +0000 (00:52 +0000)]
Changes to get FlightGear (well, the src directory at least) to
configure and compile out-of-the-box on a MinGW target:

Use -lSDL instead of -lglut32 on windows builds when --enable-sdl
is set.

Link against alut.dll in addition to openal32.dll.

Replace BSD bcopy() with ANSI C memmove() in a few places.  This is
simpler than trying to abstract it out as a platform dependency in a
header file; bcopy() has never been standard.

The ENABLE_THREADS handling has changed to be set to 0 when threads
are not in use.  This breaks expressions like #ifdef ENABLE_THREADS.
Replace with a slightly more complicated expression.  It might have
been better to fix the configure.ac script, but I didn't know how and
this whole setting is likely to go away soon anyway.

The MinGW C runtime actually does include snprintf, so only MSVC
builds (and not all WIN32 ones) need _snprintf in JSBSim/FGState.cpp

Building on a platform with no glut at all exposed some spots where
plib/pu.h was being included without a toolkit setting (it defaults to
glut).  Include fg_os.hxx first.

And when still using glut, glut.h has a bizarre dependency on a
_WCHAR_T_DEFINED symbol.  It it's not defined, it tries to redefine
(!!) wchar_t to disasterous effect.

20 years agoUpdated to document the new 3d positional tags that are available for
curt [Thu, 29 Apr 2004 19:32:03 +0000 (19:32 +0000)]
Updated to document the new 3d positional tags that are available for
sound configurations.

20 years agoAdd a description on how to setup surround sound when using ALSA.
ehofman [Thu, 29 Apr 2004 19:18:48 +0000 (19:18 +0000)]
Add a description on how to setup surround sound when using ALSA.

20 years agoMake sure pu.h doesn't include glut by accident.
ehofman [Thu, 29 Apr 2004 09:36:27 +0000 (09:36 +0000)]
Make sure pu.h doesn't include glut by accident.

20 years agoReplace axe by axis. Make sure the right number of joystick buttons is used. The...
ehofman [Thu, 29 Apr 2004 09:10:06 +0000 (09:10 +0000)]
Replace axe by axis. Make sure the right number of joystick buttons is used. The number of defined buttons does not always equal the maximum number of allowed buttons.

20 years agoAdd default openal libs for cygwin.
curt [Wed, 28 Apr 2004 19:19:32 +0000 (19:19 +0000)]
Add default openal libs for cygwin.

20 years agoAdd an explanation for using Arts.
ehofman [Wed, 28 Apr 2004 09:30:15 +0000 (09:30 +0000)]
Add an explanation for using Arts.

20 years agoRevert the previous patch. The <target-platform> tag is not supported
ehofman [Wed, 28 Apr 2004 08:03:40 +0000 (08:03 +0000)]
Revert the previous patch. The <target-platform> tag is not supported
anymore. Instead Frederic Bouvier suggests to add a <number> tag to
the axis definition which accepts values for <windows> and <unix>
for now but which can be extended later on:

<axis>
 <desc>Rudder</desc>
 <number>
  <unix>2</unix>
  <windows>3</windows>
 </number>
 <binding>
  <command>property-scale</command>
  <property>/controls/flight/rudder</property>
  <offset type="double">0.0</offset>
  <factor type="double">1.0</factor>
  <power type="double">2.0</power>
 </binding>
</axis>

20 years agoSet a rapid fall off rate for interior cockpit sounds so they won't be heard
curt [Wed, 28 Apr 2004 03:57:50 +0000 (03:57 +0000)]
Set a rapid fall off rate for interior cockpit sounds so they won't be heard
from the tower view.

20 years agoMake several assumptions:
curt [Tue, 27 Apr 2004 20:49:00 +0000 (20:49 +0000)]
Make several assumptions:

1. The listener is always positioned at the origin.
2. All sounds eminate from the aircraft's model position.
3. Sound positions are relative to the listener location.

20 years agoAdd an example implementation for the NetFDM structure.
ehofman [Tue, 27 Apr 2004 08:55:04 +0000 (08:55 +0000)]
Add an example implementation for the NetFDM structure.

20 years agoMake it possible to define a <target-platform> tag in the joystick configuration...
ehofman [Tue, 27 Apr 2004 08:43:20 +0000 (08:43 +0000)]
Make it possible to define a <target-platform> tag in the joystick configuration file. This would make it possible to have different configuration files for Windows. Possible values are: Windows, UNIX or All. Not specifying the tag equals to 'All'.

20 years agoGet ATIS voice working again.
curt [Mon, 26 Apr 2004 22:02:30 +0000 (22:02 +0000)]
Get ATIS voice working again.

20 years agoHook in the fgOSExit() function.
curt [Sun, 25 Apr 2004 02:17:03 +0000 (02:17 +0000)]
Hook in the fgOSExit() function.

20 years agoRegister an atexit() function so we can delete the global constructor.
curt [Sun, 25 Apr 2004 02:06:55 +0000 (02:06 +0000)]
Register an atexit() function so we can delete the global constructor.
This also gives us a proper hook if we want to clean up SDL (Andy?)

20 years agoAdd correct openal libs for MacOS.
curt [Sun, 25 Apr 2004 01:41:32 +0000 (01:41 +0000)]
Add correct openal libs for MacOS.

20 years agoFrederic Bouvier discovered a buffer overflow in the airport select dialog.
ehofman [Sat, 24 Apr 2004 21:25:54 +0000 (21:25 +0000)]
Frederic Bouvier discovered a buffer overflow in the airport select dialog.

20 years agoChanges to go along with small interface changes in simgear/sound/libsgsound
curt [Sat, 24 Apr 2004 19:28:12 +0000 (19:28 +0000)]
Changes to go along with small interface changes in simgear/sound/libsgsound
(which is now written on top of OpenAL.)

20 years agoFix a property name that was missed in an earlier change.
curt [Tue, 20 Apr 2004 22:54:44 +0000 (22:54 +0000)]
Fix a property name that was missed in an earlier change.

20 years agoStub in controls for second engine master bat/alt switches.
curt [Tue, 20 Apr 2004 22:54:20 +0000 (22:54 +0000)]
Stub in controls for second engine master bat/alt switches.

20 years agoChange the message passing structure just a bit in order to remove a possible
curt [Tue, 20 Apr 2004 22:53:38 +0000 (22:53 +0000)]
Change the message passing structure just a bit in order to remove a possible
time dependency ambiguity on the remote end.

20 years agoFix an MSVC compile error.
curt [Mon, 19 Apr 2004 02:24:22 +0000 (02:24 +0000)]
Fix an MSVC compile error.

20 years agoSmall rewrite of waypoints parsing fix to move global list to the globals.hxx
curt [Sun, 18 Apr 2004 18:01:10 +0000 (18:01 +0000)]
Small rewrite of waypoints parsing fix to move global list to the globals.hxx
file.

20 years agoRoy Vegard Ovesen:
curt [Fri, 16 Apr 2004 22:12:26 +0000 (22:12 +0000)]
Roy Vegard Ovesen:

I've added a tracking bug to the gps. This is of course very similar to a
heading bug for a DG. I don't know if this is the common name, but I feel
that for a gps the name tracking bug is more accurate than heading bug. A
true bug error and a magnetic bug error is calculated and shifted into the
-180 to 180 range so that they can be used by autopilots.

I've also fixed a property name that crept in when I had to change back to
indicated-***. Back then I accidentally changed the desired course name to
"indicated-course". The property that is supposed to be the input for the
desired course should naturally be named something like "desired-course", and
definitely _not_ "indicated-course". If this name change breaks anything it
should be fixed in the other end.

I've also commented out a lot of #includes that I don't think is needed. I'm
on Suse 9.0 now, and it builds fine here, but this might be a problem for
different platforms    I guess we have to cross our fingers.

20 years agoAvoid an autoconf warning about using a "reserved" word in a variable name.
curt [Fri, 16 Apr 2004 18:53:36 +0000 (18:53 +0000)]
Avoid an autoconf warning about using a "reserved" word in a variable name.

20 years agoDefault to threads enabled. They can still be disabled by passing
curt [Fri, 16 Apr 2004 18:51:30 +0000 (18:51 +0000)]
Default to threads enabled.  They can still be disabled by passing
--with-threads=no to the configure script.

20 years agoDurk Talsma:
curt [Thu, 15 Apr 2004 22:09:46 +0000 (22:09 +0000)]
Durk Talsma:

Enclosed you find a tar ball of the two files I changed to get the
--waypoint and --flight-plan command line option to work again.

20 years agoUpdated to point to new scenery repository (not fully populated but will
curt [Thu, 15 Apr 2004 03:40:39 +0000 (03:40 +0000)]
Updated to point to new scenery repository (not fully populated but will
be in the next week or so.)

20 years agoUnits bug.
andy [Wed, 14 Apr 2004 17:05:33 +0000 (17:05 +0000)]
Units bug.

20 years agoFrederic Bouvier:
ehofman [Wed, 14 Apr 2004 07:59:50 +0000 (07:59 +0000)]
Frederic Bouvier:

my code was accidentally drawing the cockpit twice
in view 0. This patch should fix the problem of
lights not seen through canopies or prop discs.

It was also drawing the lights ( ground and rw )
after the clouds, so they were not obscured by
them.

20 years agoAdd a pressure rate helper function for Roy's KAP140 autopilot model.
curt [Mon, 12 Apr 2004 19:17:47 +0000 (19:17 +0000)]
Add a pressure rate helper function for Roy's KAP140 autopilot model.

20 years agoFix a seg fault that could be caused if all no AI models were in existance. Ssg...
daveluff [Sun, 11 Apr 2004 15:20:36 +0000 (15:20 +0000)]
Fix a seg fault that could be caused if all no AI models were in existance.  Ssg could then free the memory pointed to by our pointer behind our back, causing it to crash when next approaching a controlled airport requiring an AI model.  Fix is to hold one ref to each model in the AIMgr at all times.

20 years agoNumeric keypad handling
andy [Fri, 9 Apr 2004 15:57:16 +0000 (15:57 +0000)]
Numeric keypad handling

20 years agoDon't ask for 32 bit depth buffer. Some cards do only 24, leaving 8
andy [Fri, 9 Apr 2004 14:52:03 +0000 (14:52 +0000)]
Don't ask for 32 bit depth buffer.  Some cards do only 24, leaving 8
for the alpha channel.

20 years agoFirst attempt to make it possible to use either SDL or glut at compile time.
ehofman [Wed, 7 Apr 2004 14:42:41 +0000 (14:42 +0000)]
First attempt to make it possible to use either SDL or glut at compile time.

20 years agoFix more brain damage with keyboard handling. I think everything is
andy [Tue, 6 Apr 2004 23:47:56 +0000 (23:47 +0000)]
Fix more brain damage with keyboard handling.  I think everything is
working now.

20 years agoFix brain damage in previous fix.
andy [Tue, 6 Apr 2004 22:17:25 +0000 (22:17 +0000)]
Fix brain damage in previous fix.

20 years agoFix bug where key releases got reported as presses.
andy [Tue, 6 Apr 2004 21:55:49 +0000 (21:55 +0000)]
Fix bug where key releases got reported as presses.

20 years agoAPI changes to get fullscreen mode working with SDL. It can't switch
andy [Tue, 6 Apr 2004 14:28:22 +0000 (14:28 +0000)]
API changes to get fullscreen mode working with SDL.  It can't switch
modes after creating the window, so it needs a flag in
fgOSOpenWindow().

20 years agoWindows fix.
ehofman [Tue, 6 Apr 2004 14:25:33 +0000 (14:25 +0000)]
Windows fix.

20 years agoAdded mouse cursor definitions stolen from the X11 cursor font (via a
andy [Tue, 6 Apr 2004 04:06:11 +0000 (04:06 +0000)]
Added mouse cursor definitions stolen from the X11 cursor font (via a
pointer from Melchior to a font editor that could read .pcf and
generate image files)

20 years agoOops. A change to an upstream header seems to have remove glu.h, which
andy [Tue, 6 Apr 2004 03:51:11 +0000 (03:51 +0000)]
Oops.  A change to an upstream header seems to have remove glu.h, which
these files require.  Dunno why my build didn't pick up the transitive
dependency.