]> git.mxchange.org Git - flightgear.git/log
flightgear.git
21 years agoImprove spindown when the gyro fails.
david [Sat, 25 Jan 2003 21:48:35 +0000 (21:48 +0000)]
Improve spindown when the gyro fails.

21 years agoAdded support for the slip-skid ball.
david [Sat, 25 Jan 2003 21:13:13 +0000 (21:13 +0000)]
Added support for the slip-skid ball.

21 years agoRefactored some of the navlist code and removed the built in "fail to find"
curt [Sat, 25 Jan 2003 20:45:39 +0000 (20:45 +0000)]
Refactored some of the navlist code and removed the built in "fail to find"
if the station is too far away.  Instead, simply return the closest station.
All the code that searches navaids does it's own range checking anyway.
This will make the navlist query functions a bit more useful for other
types of functionality where you may need to lookup a station without
consideration of range (i.e. presetting your position relative to a navaid.)

21 years agoAdded a Gyro helper class to factor out some common code for managing
david [Sat, 25 Jan 2003 19:49:27 +0000 (19:49 +0000)]
Added a Gyro helper class to factor out some common code for managing
a spinning gyro.

Changed FGInstrumentMgr to inherit from FGSubsystemGroup, greatly
simplifying the (already simple) class.  I should probably rename this
to FGInstrumentGroup or something similar, but not today.

Added the gyroscopic turn indicator (part of the TC).

21 years agoRemove redundant rate properties recently added.
david [Sat, 25 Jan 2003 19:47:35 +0000 (19:47 +0000)]
Remove redundant rate properties recently added.

21 years agoPublish properties for accelerations and rates.
david [Sat, 25 Jan 2003 17:25:30 +0000 (17:25 +0000)]
Publish properties for accelerations and rates.

21 years agoInitial revision.
curt [Fri, 24 Jan 2003 18:12:04 +0000 (18:12 +0000)]
Initial revision.

21 years agoLatest JSBSim updates, including use of new "JSBSim" namespace
tony [Fri, 24 Jan 2003 12:55:28 +0000 (12:55 +0000)]
Latest JSBSim updates, including use of new "JSBSim" namespace

21 years agoChanged 'exit' command to quit immediately, rather than displaying a
david [Fri, 24 Jan 2003 03:08:23 +0000 (03:08 +0000)]
Changed 'exit' command to quit immediately, rather than displaying a
built-in dialog (use an XML dialog instead).

Added an fgExit() function to simplify exit and cleanup.

21 years agoRemove old-preset-* commands; replaced with a general, XML presets
david [Fri, 24 Jan 2003 02:49:30 +0000 (02:49 +0000)]
Remove old-preset-* commands; replaced with a general, XML presets
dialog.

21 years agoNo longer recursively search $FG_ROOT/gui/dialogs/ for configuration
david [Fri, 24 Jan 2003 02:43:52 +0000 (02:43 +0000)]
No longer recursively search $FG_ROOT/gui/dialogs/ for configuration
files; all of them must be at the top level.

Do not attempt to parse a configuration file unless it ends with
".xml".

21 years agoFreeBSD pthread fix.
curt [Thu, 23 Jan 2003 15:17:41 +0000 (15:17 +0000)]
FreeBSD pthread fix.

21 years agoAdd a "signed" distance to the GS transmitter. When you are in the approach
curt [Wed, 22 Jan 2003 01:24:32 +0000 (01:24 +0000)]
Add a "signed" distance to the GS transmitter.  When you are in the approach
hemisphere the distance is positive, if you are in the departure hemisphere
the distance is negature.  (Possible use for graphing approach distance
vs. glide slope or cdi.)

21 years agoUpdated Jon Berndt's entry.
curt [Wed, 22 Jan 2003 01:22:48 +0000 (01:22 +0000)]
Updated Jon Berndt's entry.

21 years agoRemove another deprecated command, and fix things up so that dialogs
david [Tue, 21 Jan 2003 15:44:21 +0000 (15:44 +0000)]
Remove another deprecated command, and fix things up so that dialogs
reload properly on a reinit.

21 years agoAdded support for reinit(), to reload the configuration files without
david [Tue, 21 Jan 2003 02:09:27 +0000 (02:09 +0000)]
Added support for reinit(), to reload the configuration files without
having to restart FlightGear.  This should speed up GUI design and
debugging quite a bit.

21 years agoFixed iteration bug in destructor.
david [Tue, 21 Jan 2003 02:08:56 +0000 (02:08 +0000)]
Fixed iteration bug in destructor.

21 years agoRemoved need to specify 'type' property at the top level; it's always
david [Tue, 21 Jan 2003 02:08:41 +0000 (02:08 +0000)]
Removed need to specify 'type' property at the top level; it's always
a dialog.

21 years agoMake fgLoadProps more flexible, to read from $FG_ROOT or the current
david [Tue, 21 Jan 2003 02:08:00 +0000 (02:08 +0000)]
Make fgLoadProps more flexible, to read from $FG_ROOT or the current
directory.

21 years agoAdded reinit, suspend, and resume commands.
david [Tue, 21 Jan 2003 02:07:29 +0000 (02:07 +0000)]
Added reinit, suspend, and resume commands.

21 years agoBasic information for creating menus and dialogs in FlightGear.
david [Mon, 20 Jan 2003 20:00:56 +0000 (20:00 +0000)]
Basic information for creating menus and dialogs in FlightGear.

21 years agoChange GUI method names.
david [Mon, 20 Jan 2003 16:03:48 +0000 (16:03 +0000)]
Change GUI method names.

Do not delete GUI objects directly; let the GUI manager do it instead.

Simplify some code for readability.

21 years agoRename some methods to be more intuitive, add a close method for the
david [Mon, 20 Jan 2003 16:03:09 +0000 (16:03 +0000)]
Rename some methods to be more intuitive, add a close method for the
active dialog, and add lots of documentation.

21 years agoFix memory leaks (PUI doesn't make copies of lists, so we have to make
david [Mon, 20 Jan 2003 16:02:26 +0000 (16:02 +0000)]
Fix memory leaks (PUI doesn't make copies of lists, so we have to make
our own copies and keep pointers to them).

21 years agoAdd more documentation comments.
david [Mon, 20 Jan 2003 16:01:54 +0000 (16:01 +0000)]
Add more documentation comments.

Fix memory leaks (PUI doesn't make copies of lists, so we have to make
our own copies and keep pointers to them).

Adjust for new method names in NewGUI.

Move the GUIInfo struct into the cxx file so that it's not part of the
public interface.

21 years agoAdd new object types "slider" and "dial".
david [Mon, 20 Jan 2003 16:01:16 +0000 (16:01 +0000)]
Add new object types "slider" and "dial".

Fix memory leaks (PUI doesn't make copies of lists, so we have to make
our own copies and keep pointers to them).

Adjust for new method names in NewGUI.

Move the GUIInfo struct into the cxx file so that it's not part of the
public interface.

21 years agoMake sure the gust wind speed is never less than the base wind speed.
david [Mon, 20 Jan 2003 13:02:18 +0000 (13:02 +0000)]
Make sure the gust wind speed is never less than the base wind speed.

21 years agoFix a potential buffer overflow.
curt [Mon, 20 Jan 2003 03:14:43 +0000 (03:14 +0000)]
Fix a potential buffer overflow.

21 years agoTweaks to protocol names to match recent changes in options.cxx (so they
curt [Mon, 20 Jan 2003 03:09:54 +0000 (03:09 +0000)]
Tweaks to protocol names to match recent changes in options.cxx (so they
will work.) :-)

21 years agoMake some allowances for a dialog closing in the middle of a callback.
david [Sun, 19 Jan 2003 23:04:03 +0000 (23:04 +0000)]
Make some allowances for a dialog closing in the middle of a callback.

Add support for combo fields.

21 years agoGo back to the simpler arrangement syntax of a map of vectors.
david [Sun, 19 Jan 2003 23:03:31 +0000 (23:03 +0000)]
Go back to the simpler arrangement syntax of a map of vectors.

21 years agoMajor overhaul by Frederic Bouvier to make options table-driven.
david [Sun, 19 Jan 2003 23:02:51 +0000 (23:02 +0000)]
Major overhaul by Frederic Bouvier to make options table-driven.

21 years agoMemory allocation bugfix from Frederic Bouvier, plus a few cout's commented out
daveluff [Sun, 19 Jan 2003 21:31:37 +0000 (21:31 +0000)]
Memory allocation bugfix from Frederic Bouvier, plus a few cout's commented out

21 years agoDo an update after apply to see what really got into FlightGear.
david [Sun, 19 Jan 2003 17:22:05 +0000 (17:22 +0000)]
Do an update after apply to see what really got into FlightGear.

21 years agoAdd support for a "checkbox" dialog widget (for boolean properties).
david [Sun, 19 Jan 2003 17:21:38 +0000 (17:21 +0000)]
Add support for a "checkbox" dialog widget (for boolean properties).

21 years agoUse a pointer for the bindings vector to try to work around a 2.95
david [Sun, 19 Jan 2003 17:21:18 +0000 (17:21 +0000)]
Use a pointer for the bindings vector to try to work around a 2.95
bug.

21 years agoChanged return type of fireItem to void.
david [Sun, 19 Jan 2003 15:27:29 +0000 (15:27 +0000)]
Changed return type of fireItem to void.

21 years agoUse FGGlobals::get_fg_root instead of looking up the environment
david [Sun, 19 Jan 2003 12:54:26 +0000 (12:54 +0000)]
Use FGGlobals::get_fg_root instead of looking up the environment
variable directly.

21 years agoRemoved a couple of the deprecated dialogs, and removed the old
david [Sat, 18 Jan 2003 21:59:25 +0000 (21:59 +0000)]
Removed a couple of the deprecated dialogs, and removed the old
predefined bindings for F11 and F12.  Instead, there is now a soft
binding from F11 to the autopilot dialog.

21 years agoAdded the property-cycle command.
david [Sat, 18 Jan 2003 21:13:11 +0000 (21:13 +0000)]
Added the property-cycle command.

21 years agoRemove the old built-in bindings for F8 and F10 (they can be done in
david [Sat, 18 Jan 2003 21:12:27 +0000 (21:12 +0000)]
Remove the old built-in bindings for F8 and F10 (they can be done in
keyboard.xml now).

21 years agoTie the bool property /sim/menubar/visibility to hide and reveal the
david [Sat, 18 Jan 2003 21:11:51 +0000 (21:11 +0000)]
Tie the bool property /sim/menubar/visibility to hide and reveal the
menubar.

21 years agoKeep track of the visible/hidden state more robustly.
david [Sat, 18 Jan 2003 21:11:15 +0000 (21:11 +0000)]
Keep track of the visible/hidden state more robustly.

21 years agoSimplify looking up the GUI subsystem.
david [Sat, 18 Jan 2003 21:10:49 +0000 (21:10 +0000)]
Simplify looking up the GUI subsystem.

21 years agoMake the destructor virtual.
curt [Sat, 18 Jan 2003 19:40:28 +0000 (19:40 +0000)]
Make the destructor virtual.

(I thought I'd slip this in along with David's change to the default menu
configure option.  I believe that will cause a new config.h to be generated
which will cause a near complete rebuild of FG (as will this globals.hxx
change) so it shouldn't cause additional grief to have these happen at the
same time.)

21 years agoMore updates to refine the output data to make it more useful for an
curt [Sat, 18 Jan 2003 19:36:50 +0000 (19:36 +0000)]
More updates to refine the output data to make it more useful for an
external GUI and approach path plotter.

21 years agoChange the default to the new XML-configured menubar. Configure
david [Sat, 18 Jan 2003 17:36:59 +0000 (17:36 +0000)]
Change the default to the new XML-configured menubar.  Configure
--with-old-menubar to get the old menubar.

21 years agoAdd in some temporary commands to get at the old, hard-coded dialogs.
david [Sat, 18 Jan 2003 16:26:41 +0000 (16:26 +0000)]
Add in some temporary commands to get at the old, hard-coded dialogs.
Most of these will eventually be replaced with XML-configured dialogs,
and the rest will be turned into proper widgets or global commands.

21 years agoDo late, lazy binding of commands from the command manager.
david [Sat, 18 Jan 2003 16:25:50 +0000 (16:25 +0000)]
Do late, lazy binding of commands from the command manager.

21 years agoRenamed GUIWidget to FGDialog.
david [Sat, 18 Jan 2003 15:57:51 +0000 (15:57 +0000)]
Renamed GUIWidget to FGDialog.

21 years agoInclude fg_props.hxx to get definition of FGConditional.
david [Sat, 18 Jan 2003 15:16:54 +0000 (15:16 +0000)]
Include fg_props.hxx to get definition of FGConditional.

21 years agoUnbundle dialog-box support from the top-level GUI manager, to
david [Sat, 18 Jan 2003 15:16:34 +0000 (15:16 +0000)]
Unbundle dialog-box support from the top-level GUI manager, to
simplify maintenance.

21 years agoOops we tweaked the preset_commit command name, let's call it by it's
curt [Fri, 17 Jan 2003 22:54:09 +0000 (22:54 +0000)]
Oops we tweaked the preset_commit command name, let's call it by it's
correct name.

21 years agoDo not require libScripting.a unless PSL is available.
david [Fri, 17 Jan 2003 18:25:34 +0000 (18:25 +0000)]
Do not require libScripting.a unless PSL is available.

21 years agoSlight change to some STL stuff that was breaking MSVC6
daveluff [Fri, 17 Jan 2003 16:45:26 +0000 (16:45 +0000)]
Slight change to some STL stuff that was breaking MSVC6

21 years agoConvert distance to touch down point to nm.
curt [Fri, 17 Jan 2003 13:49:48 +0000 (13:49 +0000)]
Convert distance to touch down point to nm.

21 years agoMake all PSL support conditional, because it's not included in plib
david [Fri, 17 Jan 2003 12:41:47 +0000 (12:41 +0000)]
Make all PSL support conditional, because it's not included in plib
1.6.  The macro is HAVE_PLIB_PSL.

21 years agoIgnore more stuff.
david [Fri, 17 Jan 2003 12:40:20 +0000 (12:40 +0000)]
Ignore more stuff.

21 years agoAllow network byte order conversion to be conditionally compiled off.
curt [Fri, 17 Jan 2003 00:11:49 +0000 (00:11 +0000)]
Allow network byte order conversion to be conditionally compiled off.

21 years agoUpdates to the net_gui code that can spit out updated flight information
curt [Thu, 16 Jan 2003 20:57:28 +0000 (20:57 +0000)]
Updates to the net_gui code that can spit out updated flight information
to the network which a gui might be interested in.

21 years agoStarted a new FGMenuBar class to handle a different XML-configurable
david [Thu, 16 Jan 2003 18:06:27 +0000 (18:06 +0000)]
Started a new FGMenuBar class to handle a different XML-configurable
menubar.  This one allows regular command bindings, with the
(temporary) condition that every menu item must have a unique text
label.  The new menubar is disabled by default; to enable it,
configure --with-new-menubar.

21 years agoAdded a run_inline method that automatically wraps the script in a
david [Thu, 16 Jan 2003 18:04:24 +0000 (18:04 +0000)]
Added a run_inline method that automatically wraps the script in a
main() function.  It's not hooked to a command, yet.

21 years agoSimplify subsystem handling through FGGlobals.
david [Thu, 16 Jan 2003 16:01:26 +0000 (16:01 +0000)]
Simplify subsystem handling through FGGlobals.

21 years agoBroadcast suspend/resume/reinit through the manager and its groups.
david [Thu, 16 Jan 2003 15:11:04 +0000 (15:11 +0000)]
Broadcast suspend/resume/reinit through the manager and its groups.

21 years agoRenamed mini_fdm to native_gui which makes a lot more sense to me.
curt [Wed, 15 Jan 2003 02:09:10 +0000 (02:09 +0000)]
Renamed mini_fdm to native_gui which makes a lot more sense to me.

21 years agoFix compilation bug that only occurred when compiled with weathercm subsystem enabled
daveluff [Mon, 13 Jan 2003 19:03:36 +0000 (19:03 +0000)]
Fix compilation bug that only occurred when compiled with weathercm subsystem enabled

21 years agoAdded velocity and climb_rate to mini_fdm structure.
curt [Mon, 13 Jan 2003 00:27:50 +0000 (00:27 +0000)]
Added velocity and climb_rate to mini_fdm structure.

21 years agoUpdate to the Mini FDM network protocal (mostly renaming class and file names)
curt [Sun, 12 Jan 2003 23:39:18 +0000 (23:39 +0000)]
Update to the Mini FDM network protocal (mostly renaming class and file names)
Wired this in to options.cxx and fg_io.cxx so it can be activated.

21 years agoAdded a "mini fdm" output. This could (for example) be useful for an
curt [Sun, 12 Jan 2003 23:28:21 +0000 (23:28 +0000)]
Added a "mini fdm" output.  This could (for example) be useful for an
external gui if it wanted to monitor some key sim position/orientation
varialbles without saturating the net with the full slate of fdm data
@60hz.

21 years agoConsolidate and clean up some of the FDM network interface code.
curt [Sun, 12 Jan 2003 22:11:55 +0000 (22:11 +0000)]
Consolidate and clean up some of the FDM network interface code.

21 years ago#ifdef out a bit more code that could cause compile problems on platforms
curt [Sun, 12 Jan 2003 14:28:26 +0000 (14:28 +0000)]
#ifdef out a bit more code that could cause compile problems on platforms
that don't have all the latest opengl extensions.

21 years agoAdded simple proof-of-concept support for running PSL scripts from
david [Sat, 11 Jan 2003 16:30:32 +0000 (16:30 +0000)]
Added simple proof-of-concept support for running PSL scripts from
input bindings.  They will work only with the latest CVS; otherwise,
./configure will disable them.  There is a new command, 'script',
which takes a single argument, also called 'script', containing PSL
code (currently PSL requires a main() function).

Erik Hofman has written some more elaborate code for triggering PSL
code from drop-down menus and scheduling events; I will look at
integrating that next.

21 years agoRemoved #ifdef FG_PLIB_JOYSTICK_GETNAME -- it's in 1.6, so we can rely
david [Sat, 11 Jan 2003 16:27:56 +0000 (16:27 +0000)]
Removed #ifdef FG_PLIB_JOYSTICK_GETNAME -- it's in 1.6, so we can rely
on it.

21 years agoExternalNet -> Updated to not repeat code from native_ctrls.
curt [Fri, 10 Jan 2003 19:45:29 +0000 (19:45 +0000)]
ExternalNet -> Updated to not repeat code from native_ctrls.

21 years agoOops, a bit more clean up.
curt [Fri, 10 Jan 2003 19:12:28 +0000 (19:12 +0000)]
Oops, a bit more clean up.

21 years agoUpdated to support all the fields in net_ctrls.hxx
curt [Fri, 10 Jan 2003 19:10:46 +0000 (19:10 +0000)]
Updated to support all the fields in net_ctrls.hxx

21 years agoRename a variable so we don't have to rely on scoping rules to distinguish
curt [Fri, 10 Jan 2003 17:01:57 +0000 (17:01 +0000)]
Rename a variable so we don't have to rely on scoping rules to distinguish
between the same veriable name used twice.

21 years agoStart the ATIS recorded message at a random position into the broadcast when the...
daveluff [Tue, 7 Jan 2003 14:41:49 +0000 (14:41 +0000)]
Start the ATIS recorded message at a random position into the broadcast when the radio is tuned into it

21 years agoSearch ATC frequencies with both comm1 and 2 instead of just comm1 as previously
daveluff [Tue, 7 Jan 2003 13:11:00 +0000 (13:11 +0000)]
Search ATC frequencies with both comm1 and 2 instead of just comm1 as previously

21 years agoOops missed some more usage of opengl extensions that may not be on everyone's systems.
curt [Mon, 6 Jan 2003 21:43:59 +0000 (21:43 +0000)]
Oops missed some more usage of opengl extensions that may not be on everyone's systems.

21 years agoSet SO_REUSEADDR on incoming UDP socket so other processes on the host
curt [Mon, 6 Jan 2003 02:51:07 +0000 (02:51 +0000)]
Set SO_REUSEADDR on incoming UDP socket so other processes on the host
can also monitor the UDP broadcasts.

21 years ago#ifdef out experimental lighting for now until someone has time to investigate
curt [Mon, 6 Jan 2003 02:50:29 +0000 (02:50 +0000)]
#ifdef out experimental lighting for now until someone has time to investigate
the "right" way to test for and use extensions.

Hopefully this will clear up compile problems a lot of people have been
haveing.

21 years agoAdd support for in-air preset starts relative to a VOR, NDB, or Fix.
curt [Sun, 5 Jan 2003 00:10:36 +0000 (00:10 +0000)]
Add support for in-air preset starts relative to a VOR, NDB, or Fix.

21 years agoOoops, the presets_commit command was lost going from the 1.8 -> 1.9 version
curt [Sat, 4 Jan 2003 21:22:43 +0000 (21:22 +0000)]
Ooops, the presets_commit command was lost going from the 1.8 -> 1.9 version
(Sun Dec 22 19:58:34 2002 UTC)

21 years agoExpose the ability to run built in (command manager) commands via the
curt [Sat, 4 Jan 2003 19:04:07 +0000 (19:04 +0000)]
Expose the ability to run built in (command manager) commands via the
"telnet" interface.

21 years agoPatch from Julian Foad to fix wrapping behaviour for property-adjust
david [Sat, 4 Jan 2003 18:47:25 +0000 (18:47 +0000)]
Patch from Julian Foad to fix wrapping behaviour for property-adjust
and property-multiply:

Firstly, change back to wrapping modulo the interval, with "min <= x <
max" semantics.  I believe the previous implementation did that.  The
inline function that Norman mentioned also does that.

Secondly, make it snap to the nearest value (min + N*resolution) when a
"resolution" tag is present, taking special care of floating-point
precision.  Or perhaps specify "number of divisions in the interval" as
an integer, instead of "resolution" by which I meant a floating-point
"size of a division".

[also fixed]

While working on this file I noticed some potentially serious warnings:

fg_commands.cxx: In function `bool do_property_adjust(const
SGPropertyNode*)':
fg_commands.cxx:435: warning: control reaches end of non-void function
fg_commands.cxx: In function `bool do_property_multiply(const
SGPropertyNode*)':
fg_commands.cxx:465: warning: control reaches end of non-void function
/usr/local/include/simgear/misc/props.hxx: At top level:
fg_commands.cxx:600: warning: `bool do_presets_commit(const
SGPropertyNode*)' defined but not used

21 years agoFix problem with cout
daveluff [Fri, 3 Jan 2003 16:30:44 +0000 (16:30 +0000)]
Fix problem with cout

21 years agoFix compiler warning
daveluff [Fri, 3 Jan 2003 15:01:16 +0000 (15:01 +0000)]
Fix compiler warning

21 years agoWork around G++ 2.95 bug by removing use of STL find() function.
david [Wed, 1 Jan 2003 18:47:50 +0000 (18:47 +0000)]
Work around G++ 2.95 bug by removing use of STL find() function.

21 years agoPatches from Erik Hofman for SGI compatibility:
david [Tue, 31 Dec 2002 18:26:02 +0000 (18:26 +0000)]
Patches from Erik Hofman for SGI compatibility:

Some more cmall changes to the SimGear header files and removed the
SG_HAVE_NATIVE_SGI_COMPILERS dependancies from FlightGear.

I've added a seperate JSBSim patch for the JSBSim source tree.

21 years agoAdd the 'offset' and 'factor' arguments back into property-adjust;
david [Tue, 31 Dec 2002 12:08:32 +0000 (12:08 +0000)]
Add the 'offset' and 'factor' arguments back into property-adjust;
they're needed for the mouse.

21 years agoPatch from Bernie Bright:
david [Tue, 31 Dec 2002 03:21:49 +0000 (03:21 +0000)]
Patch from Bernie Bright:

FWIW here are patches for src/FDM/ADA.[ch]xx that remove a dependency on
<simgear/io/sg_socket.hxx>

21 years agoPatch from Norm Vine to remove unnecessary include-file dependencies.
david [Tue, 31 Dec 2002 03:13:17 +0000 (03:13 +0000)]
Patch from Norm Vine to remove unnecessary include-file dependencies.

21 years agoModify the property-assign command to optionally copy a value from
david [Tue, 31 Dec 2002 03:05:38 +0000 (03:05 +0000)]
Modify the property-assign command to optionally copy a value from
another property (suggested by Jim Wilson).

21 years agoRequire /sim/rendering/experimental-lighting to be true before using
david [Tue, 31 Dec 2002 01:15:59 +0000 (01:15 +0000)]
Require /sim/rendering/experimental-lighting to be true before using
experimental lighting rendering (which is very expensive on my
machine, for example).  To use distance attenuation,
/sim/rendering/distance-attenuation must also be true.

21 years agoPatch from Erik Hofman:
david [Tue, 31 Dec 2002 00:56:14 +0000 (00:56 +0000)]
Patch from Erik Hofman:

This patch turns out to be much more reliable compared to the previous
one I sent Curtis. Could you apply it for me?

21 years agoCleanup from Norman Vine to prevent compiler warnings. He also writes:
david [Mon, 30 Dec 2002 22:21:31 +0000 (22:21 +0000)]
Cleanup from Norman Vine to prevent compiler warnings.  He also writes:

  Note I believe there was a 'missing comma' in the next to last row also

21 years agoBug fix suggested by Gonzalo Peralta:
david [Mon, 30 Dec 2002 22:16:16 +0000 (22:16 +0000)]
Bug fix suggested by Gonzalo Peralta:

Convert the fuel flow from gallons to pounds <kludge>assuming 100LL at
sea level, 6lb/gallon.</kludge>

21 years agoDistance attenuation patch from Erik Hofman:
david [Mon, 30 Dec 2002 21:49:56 +0000 (21:49 +0000)]
Distance attenuation patch from Erik Hofman:

It adds a command line options to enable/disbale distance attenuation
using a property rather than using a #define inside the code. It also
adds a small change for systems that don't support the OpenGL extension,
so that the lights *do* fade away as they get furher away but they don't
get smaller in size.

21 years agoIRIX/MipsPro patches from Erik Hofman:
david [Mon, 30 Dec 2002 21:34:46 +0000 (21:34 +0000)]
IRIX/MipsPro patches from Erik Hofman:

This patch adds some missing default ISO C++ headers to SimGear,
especially usefull for Irix/MipsPro. To the best of my knowledge this
only affects the Irix/MipsPro compiler combination although it might be
usefull for others as well.

This patch does not yet remove any compiler specific code, but that
would be my next task. The powerfull macros as defined in the compiler.h
file allowed me to split it up into multiple patches.