]> git.mxchange.org Git - flightgear.git/log
flightgear.git
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.

21 years agoRemoved the (apparently unused) 'factor' and 'offset' arguments from
david [Mon, 30 Dec 2002 19:50:17 +0000 (19:50 +0000)]
Removed the (apparently unused) 'factor' and 'offset' arguments from
property-adjust.

Modified property-adjust and property-multiply so that they always
work with double values, to simplify the code.

Factored out some common code.

Added a 'mask' argument to the property-adjust and property-multiply
commands.  If mask is set to "all" (the default), then the command
works as before; if mask is set to "integer", it works only to the
left of the decimal point; and if mask is set to "decimal", it works
only to the right of the decimal place.  This functionality is useful
for tuning VHF COM and NAV radios.

21 years agoMade it possible to add and remove models programmatically, as
david [Mon, 30 Dec 2002 15:44:11 +0000 (15:44 +0000)]
Made it possible to add and remove models programmatically, as
requested by Leon Otte.

21 years agoCleaned up some whitespace.
david [Mon, 30 Dec 2002 15:43:16 +0000 (15:43 +0000)]
Cleaned up some whitespace.

21 years agoAllow panel mouse bindings to use mod-up.
david [Sat, 28 Dec 2002 19:05:45 +0000 (19:05 +0000)]
Allow panel mouse bindings to use mod-up.

Ensure that if a condition for a panel mouse binding fails, other
bindings for the same area will have a chance to run.

Add a repeatable flag for panel mouse bindings (defaults to true).

21 years agoFixed so that 2D panel bindings work again.
david [Mon, 23 Dec 2002 19:16:58 +0000 (19:16 +0000)]
Fixed so that 2D panel bindings work again.

21 years agoRemoved debugging statements accidentally left in.
david [Mon, 23 Dec 2002 17:58:31 +0000 (17:58 +0000)]
Removed debugging statements accidentally left in.

21 years agoAdded new commands:
david [Sun, 22 Dec 2002 19:58:34 +0000 (19:58 +0000)]
Added new commands:

- dialog-open
- dialog-close
- dialog-update
- dialog-apply

The last two can copy a value from a property to a GUI field or
vice-versa either individually or across the whole dialog.

21 years agoUse SGPropertyNode_ptr and add a private copy constructor, both for
david [Sun, 22 Dec 2002 19:57:09 +0000 (19:57 +0000)]
Use SGPropertyNode_ptr and add a private copy constructor, both for
safety's sake.

21 years agoReworked the XML-configurable GUI to use the same binding structure as
david [Sun, 22 Dec 2002 19:52:26 +0000 (19:52 +0000)]
Reworked the XML-configurable GUI to use the same binding structure as
the keyboard, joystick, mouse, and 2D panel.  Exposed methods for
applying and updating property values in GUI fields.

21 years agoVarious tweaks.
curt [Sat, 21 Dec 2002 05:01:51 +0000 (05:01 +0000)]
Various tweaks.

21 years agoAdd SG_USING_STD(ifstream)
daveluff [Fri, 20 Dec 2002 09:48:09 +0000 (09:48 +0000)]
Add SG_USING_STD(ifstream)

21 years agoAllow the polling frequency of the telnet/props server to be set on the
curt [Thu, 19 Dec 2002 21:55:05 +0000 (21:55 +0000)]
Allow the polling frequency of the telnet/props server to be set on the
command line.

21 years agoRead KEMT ground network from file instead of hardwiring it into the code.
daveluff [Thu, 19 Dec 2002 14:03:36 +0000 (14:03 +0000)]
Read KEMT ground network from file instead of hardwiring it into the code.

21 years agoCode beautifying
daveluff [Thu, 19 Dec 2002 14:00:52 +0000 (14:00 +0000)]
Code beautifying

21 years agoMake AI traffic more robust to not getting a list of runway exits - it is now simply...
daveluff [Thu, 19 Dec 2002 12:26:10 +0000 (12:26 +0000)]
Make AI traffic more robust to not getting a list of runway exits - it is now simply removed from view at the end of the landing roll instead of stackdumping if no exits are returned

21 years agoFix a potential crash when an electrical system is not defined.
curt [Wed, 18 Dec 2002 21:55:33 +0000 (21:55 +0000)]
Fix a potential crash when an electrical system is not defined.

21 years agoNorman Vine:
curt [Tue, 17 Dec 2002 20:03:45 +0000 (20:03 +0000)]
Norman Vine:

Fixes for Mingwin.

21 years agoNorman Vine:
curt [Tue, 17 Dec 2002 19:57:49 +0000 (19:57 +0000)]
Norman Vine:

This patch finally reenables the AutoPilot gain adjuster.

21 years agoFirst draft of an ATC dialog box, mostly copied from the autopilot new heading dialog...
daveluff [Tue, 17 Dec 2002 17:19:14 +0000 (17:19 +0000)]
First draft of an ATC dialog box, mostly copied from the autopilot new heading dialog box code.  Need to bind a key to the ATC-dialog command to bring it up.

21 years agoRemove DOS line endings.
curt [Tue, 17 Dec 2002 15:31:34 +0000 (15:31 +0000)]
Remove DOS line endings.

21 years agoAdd some stub functions to FGTower to aid ATC dialog box development
daveluff [Tue, 17 Dec 2002 11:36:14 +0000 (11:36 +0000)]
Add some stub functions to FGTower to aid ATC dialog box development

21 years agoFix for X-15 crash.
tony [Tue, 17 Dec 2002 00:07:46 +0000 (00:07 +0000)]
Fix for X-15 crash.

21 years agoComment out stray cout
daveluff [Mon, 16 Dec 2002 21:02:07 +0000 (21:02 +0000)]
Comment out stray cout

21 years agoTweaks from Erik Hofman.
curt [Mon, 16 Dec 2002 20:50:42 +0000 (20:50 +0000)]
Tweaks from Erik Hofman.

21 years agoRead audio panel switches and parking brake.
curt [Mon, 16 Dec 2002 06:09:38 +0000 (06:09 +0000)]
Read audio panel switches and parking brake.

21 years agoAdded support for an audio panel.
curt [Mon, 16 Dec 2002 06:09:05 +0000 (06:09 +0000)]
Added support for an audio panel.

21 years agoAdditional failure modeling.
curt [Mon, 16 Dec 2002 01:13:39 +0000 (01:13 +0000)]
Additional failure modeling.
Support parking brake in external fdm.

21 years agoOBS turning work, work on supporting failure moding.
curt [Mon, 16 Dec 2002 01:12:10 +0000 (01:12 +0000)]
OBS turning work, work on supporting failure moding.

21 years agoAdd a reinit() stub for subsystems, so that they can be reinitialized
david [Sun, 15 Dec 2002 14:58:08 +0000 (14:58 +0000)]
Add a reinit() stub for subsystems, so that they can be reinitialized
when needed (say, to reload the configuration files).

21 years agoSimplified to use the delta_time_sec that is passed to the update() routine
curt [Sat, 14 Dec 2002 14:39:56 +0000 (14:39 +0000)]
Simplified to use the delta_time_sec that is passed to the update() routine
rather than calculating a separate delta_t and using that.

21 years agoWork on nav2_obs tuner.
curt [Sat, 14 Dec 2002 14:38:19 +0000 (14:38 +0000)]
Work on nav2_obs tuner.

21 years agoChange time counter to a double. Add a variable which can allow us to
curt [Sat, 14 Dec 2002 14:37:40 +0000 (14:37 +0000)]
Change time counter to a double.  Add a variable which can allow us to
track long term rate stats to verify we are hitting the requested hz.

21 years agoRemoved redundant logging statement.
david [Thu, 12 Dec 2002 17:55:49 +0000 (17:55 +0000)]
Removed redundant logging statement.

21 years agoChanging the thresholds to be bigger in the previous patch isn't
andy [Thu, 12 Dec 2002 02:15:06 +0000 (02:15 +0000)]
Changing the thresholds to be bigger in the previous patch isn't
really useful unless we simultaneously change the per-iteration deltas
to be smaller.  Add another pseudo-tunable to control the speed with
which we change values across iterations.  As it turns out, this is
much more effective than the threshold tunable.  It does come at the
cost of lower solution performance, however.

21 years agoTweak taxi light rendering so they don't look completely bogus at dusk.
curt [Thu, 12 Dec 2002 01:24:48 +0000 (01:24 +0000)]
Tweak taxi light rendering so they don't look completely bogus at dusk.

21 years agoFix lost audio.
curt [Thu, 12 Dec 2002 01:21:21 +0000 (01:21 +0000)]
Fix lost audio.

21 years agoPut in some (currently compile-time) tuning for the solver threshold.
andy [Wed, 11 Dec 2002 22:58:47 +0000 (22:58 +0000)]
Put in some (currently compile-time) tuning for the solver threshold.
A recent change resulted in the Piper Cub oscillating about its
correct solution.

21 years agoUpdate masses on the rigid body when consuming fuel. Simply updating
andy [Wed, 11 Dec 2002 22:52:52 +0000 (22:52 +0000)]
Update masses on the rigid body when consuming fuel.  Simply updating
the tank capacity won't change the aircraft.

21 years agoHave DummyBSphereEntity inherit from ssgBranch instead of ssgEntity,
david [Wed, 11 Dec 2002 21:49:25 +0000 (21:49 +0000)]
Have DummyBSphereEntity inherit from ssgBranch instead of ssgEntity,
to allow building with the latest plib CVS.

Problem identified by Norm Vine.
Fix suggested by Steve Baker.

21 years agoFix out of order initialization crash (not sure how it worked before
curt [Wed, 11 Dec 2002 21:07:30 +0000 (21:07 +0000)]
Fix out of order initialization crash (not sure how it worked before
unless some recent changes subtlely changed some init order items around.)

21 years ago- Some refactoring of the configure.ac script.
curt [Tue, 10 Dec 2002 20:50:48 +0000 (20:50 +0000)]
- Some refactoring of the configure.ac script.
- Better Mac OS X support (they put glut.h in GLUT/glut.h) :-(

21 years ago#ifdef out all references to sgCloud3d until more of it's issues can be
curt [Tue, 10 Dec 2002 19:25:12 +0000 (19:25 +0000)]
#ifdef out all references to sgCloud3d until more of it's issues can be
addressed.

21 years agoChange library order for cygwin.
curt [Sat, 7 Dec 2002 13:54:13 +0000 (13:54 +0000)]
Change library order for cygwin.

21 years agoWhite space cleanups.
curt [Sat, 7 Dec 2002 02:26:50 +0000 (02:26 +0000)]
White space cleanups.

21 years ago- Change the global_tile_mgr to a globals->get_tile_mgr() which is
curt [Fri, 6 Dec 2002 22:29:46 +0000 (22:29 +0000)]
- Change the global_tile_mgr to a globals->get_tile_mgr() which is
  dynamically created at run time.
- Further clean ups to the FGTileMgr class interface.

21 years agoPatches from Erik Hofman - use Plib's wave file loader plus IRIX fixes.
daveluff [Fri, 6 Dec 2002 15:35:18 +0000 (15:35 +0000)]
Patches from Erik Hofman - use Plib's wave file loader plus IRIX fixes.

21 years agoFix for Irix.
curt [Fri, 6 Dec 2002 14:28:24 +0000 (14:28 +0000)]
Fix for Irix.

21 years agoCode improvements from Norman Vine
daveluff [Thu, 5 Dec 2002 16:51:40 +0000 (16:51 +0000)]
Code improvements from Norman Vine

21 years agoUpdates for 0.9.1
curt [Thu, 5 Dec 2002 15:39:45 +0000 (15:39 +0000)]
Updates for 0.9.1

21 years agoUpdates for 0.9.1
curt [Thu, 5 Dec 2002 15:31:09 +0000 (15:31 +0000)]
Updates for 0.9.1

21 years agoadd uiuc_getwind.h to distribution.
curt [Wed, 4 Dec 2002 23:02:08 +0000 (23:02 +0000)]
add uiuc_getwind.h to distribution.

21 years agoAdd ground.[ch]xx, groundlist.[ch]xx and ATCVoice.[ch]xx to Makefile.am
daveluff [Wed, 4 Dec 2002 20:08:03 +0000 (20:08 +0000)]
Add ground.[ch]xx, groundlist.[ch]xx and ATCVoice.[ch]xx to Makefile.am

21 years agoChanges to support voice rendering of ATC
daveluff [Wed, 4 Dec 2002 20:07:12 +0000 (20:07 +0000)]
Changes to support voice rendering of ATC

21 years agoChanges towards tower control - work in progress with no end-user benefit yet
daveluff [Wed, 4 Dec 2002 20:06:20 +0000 (20:06 +0000)]
Changes towards tower control - work in progress with no end-user benefit yet

21 years agoChanges and additions to utility functions to support voice ATC rendering and AI...
daveluff [Wed, 4 Dec 2002 20:05:30 +0000 (20:05 +0000)]
Changes and additions to utility functions to support voice ATC rendering and AI taxiing.

21 years agoMinor changes to variable name and comments
daveluff [Wed, 4 Dec 2002 20:04:26 +0000 (20:04 +0000)]
Minor changes to variable name and comments

21 years agoMinor change to variable name
daveluff [Wed, 4 Dec 2002 20:03:18 +0000 (20:03 +0000)]
Minor change to variable name

21 years agoChanges to support AI taxiing and crabing when flying in wind. Still a work in progress.
daveluff [Wed, 4 Dec 2002 20:02:03 +0000 (20:02 +0000)]
Changes to support AI taxiing and crabing when flying in wind.  Still a work in progress.

21 years agoRemoved unused code and obsolete comments
daveluff [Wed, 4 Dec 2002 19:52:50 +0000 (19:52 +0000)]
Removed unused code and obsolete comments

21 years agoChanges to support voice ATIS
daveluff [Wed, 4 Dec 2002 19:51:21 +0000 (19:51 +0000)]
Changes to support voice ATIS

21 years agoInitial draft of a canned ATC voice handling class
daveluff [Wed, 4 Dec 2002 19:49:35 +0000 (19:49 +0000)]
Initial draft of a canned ATC voice handling class

21 years agoAdd ground control frequency data handling along the same lines as navlist etc...
daveluff [Wed, 4 Dec 2002 19:47:16 +0000 (19:47 +0000)]
Add ground control frequency data handling along the same lines as navlist etc...

21 years agoInclude GPL
daveluff [Wed, 4 Dec 2002 19:38:04 +0000 (19:38 +0000)]
Include GPL

21 years agoChanges towards ground control and AI taxiing currently very hardwired to KEMT
daveluff [Wed, 4 Dec 2002 19:36:39 +0000 (19:36 +0000)]
Changes towards ground control and AI taxiing currently very hardwired to KEMT

21 years agoSync with JSBSim CVS
tony [Wed, 4 Dec 2002 15:32:03 +0000 (15:32 +0000)]
Sync with JSBSim CVS

21 years agoHide more generated files.
david [Wed, 4 Dec 2002 12:01:17 +0000 (12:01 +0000)]
Hide more generated files.

21 years agoIgnore more generated files.
david [Wed, 4 Dec 2002 01:01:45 +0000 (01:01 +0000)]
Ignore more generated files.

21 years agoUpdates for 0.9.0 release.
curt [Tue, 3 Dec 2002 20:36:56 +0000 (20:36 +0000)]
Updates for 0.9.0 release.

21 years agoInitial revision.
curt [Tue, 3 Dec 2002 15:40:32 +0000 (15:40 +0000)]
Initial revision.

21 years agoAdded utils/TerraSync/
curt [Tue, 3 Dec 2002 15:38:41 +0000 (15:38 +0000)]
Added utils/TerraSync/

21 years agoAdded TerraSync/
curt [Tue, 3 Dec 2002 15:37:39 +0000 (15:37 +0000)]
Added TerraSync/

21 years ago#include <config.h> where needed for cygwin/gcc-3.2.
curt [Tue, 3 Dec 2002 14:59:24 +0000 (14:59 +0000)]
#include <config.h> where needed for cygwin/gcc-3.2.

21 years agoAdd -lplibjs where needed.
curt [Tue, 3 Dec 2002 14:55:23 +0000 (14:55 +0000)]
Add -lplibjs where needed.

21 years ago#define NOMINMAX for cygwin/gcc-3.2 builders.
curt [Mon, 2 Dec 2002 22:16:32 +0000 (22:16 +0000)]
#define NOMINMAX for cygwin/gcc-3.2 builders.

21 years agoRemove cout/endl usage and replace with SG_LOG()
curt [Mon, 2 Dec 2002 19:01:59 +0000 (19:01 +0000)]
Remove cout/endl usage and replace with SG_LOG()

21 years agoAndy Ross:
curt [Sun, 1 Dec 2002 22:38:38 +0000 (22:38 +0000)]
Andy Ross:

I wrote:
 > I can confirm this.  Layers on the 2D panels (but oddly, only the 2D
 > panels) aren't drawing over the background with the current ATI
 > drivers.

OK, this turns out to be a trivial fix, although I still think it's a
driver bug.  There are two calls to glPolygonOffset in the panel
rendering code (shared by both 2D and 3D panels).  One is called
per-layer, and sets up a layer-specific offset.  The other is called
for drawing the background textures, to lift them off of any
underlying cockpit geometry.

I was using different "factor" values for each, incorrectly.  Patch
attached.  It was affecting only 2D panels because the 3D ones don't
use background images.

Problem is, by my reading of the specification the bug should have had
the effect of pushing the background texture *farther* behind the
instruments, instead of pulling it on top of them.  Either I'm reading
the spec incorrectly or ATI has inverted the sense of the factor
argument.  Dunno, I'll submit a bug report to them and see what
happens.

21 years agoHonor the /sim/freeze/fuel property to inhibit fuel consumption at runtime.
andy [Sat, 30 Nov 2002 20:22:25 +0000 (20:22 +0000)]
Honor the /sim/freeze/fuel property to inhibit fuel consumption at runtime.

Link the standalone executable against the source files explicitly rather
than libYASim, as the Irix linker can't handle the unneeded dependance on
other parts of FlightGear.

21 years agoExposed the fg_commands though the httpd interface.
curt [Sat, 30 Nov 2002 20:10:16 +0000 (20:10 +0000)]
Exposed the fg_commands though the httpd interface.
Added a built in command to preset to what ever values are in /sim/presets/
Twiddling with preset code.

21 years agoA small amount of additional massaging of tile manager update() interface.
curt [Sat, 30 Nov 2002 14:22:00 +0000 (14:22 +0000)]
A small amount of additional massaging of tile manager update() interface.

21 years agoAdd the command-line yasim compiler to the automake configuration. It
andy [Sat, 30 Nov 2002 06:28:18 +0000 (06:28 +0000)]
Add the command-line yasim compiler to the automake configuration.  It
installs into the build directory as "yasim".  Simply run it with the
xml file as its only argument.

21 years agoFuel consumption. Simple implementation without support for tank selection
andy [Sat, 30 Nov 2002 06:12:20 +0000 (06:12 +0000)]
Fuel consumption.  Simple implementation without support for tank selection
or engine-specific feeds.

21 years agoMassaging the FGTileMgr->update() interface towards using FGLocation.
curt [Sat, 30 Nov 2002 03:05:34 +0000 (03:05 +0000)]
Massaging the FGTileMgr->update() interface towards using FGLocation.

21 years agoAdded a tunable "induced drag" number to aircraft. One of the things that
andy [Sat, 30 Nov 2002 02:24:16 +0000 (02:24 +0000)]
Added a tunable "induced drag" number to aircraft.  One of the things that
isn't well-constrained by the solution process is the drag-vs-aoa curve.
The default value that YASim picked was very steep, and resulted in most
of the jets flying their approaches *way* behind the power curve.  This
changes the default to be more forgiving, and adds an "idrag" tunable
to the configuration file for tweakers.

Also, change the default gear springiness to be less stiff.

21 years agoSplit out tile load/free queue processing into a separate routine.
curt [Sat, 30 Nov 2002 02:21:04 +0000 (02:21 +0000)]
Split out tile load/free queue processing into a separate routine.

21 years agoMake tile_mgr->prep_ssg_nodes() use an FGLocation object.
curt [Thu, 28 Nov 2002 01:08:25 +0000 (01:08 +0000)]
Make tile_mgr->prep_ssg_nodes() use an FGLocation object.

21 years agoPatch from JSBSim:
david [Wed, 27 Nov 2002 21:09:16 +0000 (21:09 +0000)]
Patch from JSBSim:

Convert DrCmd from percentage to radians.

21 years agoChange from JSBSim:
david [Wed, 27 Nov 2002 01:38:26 +0000 (01:38 +0000)]
Change from JSBSim:

Changed steering to use the rudder command rather than the rudder
position.  During taxi, the rudder trim shouldn't affect the steering
in any serious way.

This should be configurable in the aircraft file, since not all
aircraft use the rudder pedals for ground steering.

[In FlightGear, this may make it easier to taxi straight.]

21 years agoDon't force ground lighting to have the same limited visibility as runway
curt [Tue, 26 Nov 2002 16:01:39 +0000 (16:01 +0000)]
Don't force ground lighting to have the same limited visibility as runway
lighting.