]> git.mxchange.org Git - flightgear.git/log
flightgear.git
21 years agoIgnore calc_loc program.
david [Sat, 7 Jun 2003 13:54:35 +0000 (13:54 +0000)]
Ignore calc_loc program.

21 years agoRemove some now depreciated lighting code
ehofman [Sat, 7 Jun 2003 10:34:34 +0000 (10:34 +0000)]
Remove some now depreciated lighting code

21 years agoAdd a missing source file.
curt [Thu, 5 Jun 2003 03:43:43 +0000 (03:43 +0000)]
Add a missing source file.

21 years agoUpdates for 0.9.2
curt [Thu, 5 Jun 2003 03:21:23 +0000 (03:21 +0000)]
Updates for 0.9.2

21 years agoAdd some credits
ehofman [Wed, 4 Jun 2003 22:11:31 +0000 (22:11 +0000)]
Add some credits

21 years agoFix to translate DME and TACAN X/Y channels to paired VHF frequencies
david [Wed, 4 Jun 2003 20:34:39 +0000 (20:34 +0000)]
Fix to translate DME and TACAN X/Y channels to paired VHF frequencies
correctly.  Thanks to Jorge Van Hemelryck <ml@jvh.net> for the fix.

21 years agoChanges in preparation for the 0.9.2 release.
curt [Wed, 4 Jun 2003 20:27:05 +0000 (20:27 +0000)]
Changes in preparation for the 0.9.2 release.

21 years agoReturn to predawn version of input.[ch]xx until after the 0.9.2 release.
curt [Wed, 4 Jun 2003 14:22:51 +0000 (14:22 +0000)]
Return to predawn version of input.[ch]xx until after the 0.9.2 release.

21 years agoJust when you think you have it all sorted out, it stabbing you in the back. Make...
ehofman [Wed, 4 Jun 2003 14:14:12 +0000 (14:14 +0000)]
Just when you think you have it all sorted out, it stabbing you in the back. Make _last_dt 1.0 otherwise the tests will fail.

21 years agoBack out the joystick fixed timing patch for now
ehofman [Wed, 4 Jun 2003 14:02:23 +0000 (14:02 +0000)]
Back out the joystick fixed timing patch for now

21 years agoAdd the axis buttons to the list of items to check only once every 50 ms.
ehofman [Wed, 4 Jun 2003 13:35:23 +0000 (13:35 +0000)]
Add the axis buttons to the list of items to check only once every 50 ms.

21 years agoRestrict the update limitation to the buttons only
ehofman [Wed, 4 Jun 2003 12:46:49 +0000 (12:46 +0000)]
Restrict the update limitation to the buttons only

21 years agoDang! A last minute update, and no way to test it. :-/ Make he joysticks work again.
ehofman [Wed, 4 Jun 2003 11:27:41 +0000 (11:27 +0000)]
Dang! A last minute update, and no way to test it. :-/ Make he joysticks work again.

21 years agoA bounding sphere may be empty, which is perfectly valid.
ehofman [Wed, 4 Jun 2003 09:57:11 +0000 (09:57 +0000)]
A bounding sphere may be empty, which is perfectly valid.
Such empty spheres have negative radius, but undefined center.

21 years agoSkip all empty bindings
ehofman [Wed, 4 Jun 2003 09:50:00 +0000 (09:50 +0000)]
Skip all empty bindings

21 years agoUpdate the joystick 20 times per second
ehofman [Wed, 4 Jun 2003 09:30:48 +0000 (09:30 +0000)]
Update the joystick 20 times per second

21 years agoDuh! Remove some debug messages
ehofman [Tue, 3 Jun 2003 14:36:56 +0000 (14:36 +0000)]
Duh! Remove some debug messages

21 years agoFix a bug where FlightGear would crach when an aiport id was geven in lower
ehofman [Tue, 3 Jun 2003 14:34:02 +0000 (14:34 +0000)]
Fix a bug where FlightGear would crach when an aiport id was geven in lower
case. It turned out that MetaKit is case insensitive, so I adden an extra
check to see if we got what we were asking for.

21 years agoExplicitly initialise aptElev
daveluff [Tue, 3 Jun 2003 14:08:24 +0000 (14:08 +0000)]
Explicitly initialise aptElev

21 years agoSome compiler fixes
ehofman [Tue, 3 Jun 2003 13:51:21 +0000 (13:51 +0000)]
Some compiler fixes

21 years agoFix for Cygwin compilation
daveluff [Tue, 3 Jun 2003 13:08:42 +0000 (13:08 +0000)]
Fix for Cygwin compilation

21 years agoI had some old SimGear include directories hanging around, so this got uncought....
ehofman [Tue, 3 Jun 2003 09:17:57 +0000 (09:17 +0000)]
I had some old SimGear include directories hanging around, so this got uncought. Thanks Melchior

21 years agosync JSBSim and FlightGear
ehofman [Tue, 3 Jun 2003 08:46:15 +0000 (08:46 +0000)]
sync JSBSim and FlightGear

21 years agoFixed a small ommission.
curt [Mon, 2 Jun 2003 17:05:52 +0000 (17:05 +0000)]
Fixed a small ommission.

21 years agoImplimented a simple frame rate throttle.
curt [Mon, 2 Jun 2003 16:35:36 +0000 (16:35 +0000)]
Implimented a simple frame rate throttle.

Normally for smoothest frame rates you would configure to sync
to your monitor's vertical refresh signal.  This is card/platform
dependent ... for instance with Linux/Nvidia there is
an environment variable you can set to enable this feature.

However, if your monitor is refreshing at 60hz and you can't quite sustain
that with flightgear, you can get smoother frame rates by artificially
throttling yourself to 30hz.  Note that once you are about about 24fps, it
is *change* or inconsistancy in frame rate that leads to percieved jerkiness.

You want to do whole divisors of your monitor refresh rate, so if your
display is syncing at 75 hz, you might want to try throttling to 25 hz.

21 years agoFix a initialization ordering bug:
ehofman [Sat, 31 May 2003 13:38:10 +0000 (13:38 +0000)]
Fix a initialization ordering bug:

Melchior FRANZ:
The reason: these models are to be added to the scenery, but the
scenery isn't yet set up at this point. The correct order is:

 - set up model_lib (needed by the scenery)
 - set up scenery (needed by the model manager)
 - set up model manager

21 years agoFix a potential timing glitch.
curt [Fri, 30 May 2003 20:19:56 +0000 (20:19 +0000)]
Fix a potential timing glitch.

21 years agoMove simgear/sky/ to simgear/scene/sky as part of the consolodation of
curt [Fri, 30 May 2003 15:16:57 +0000 (15:16 +0000)]
Move simgear/sky/ to simgear/scene/sky as part of the consolodation of
graphics code.

21 years agoMove low level "tg" object loader code over to SimGear.
curt [Wed, 28 May 2003 21:01:55 +0000 (21:01 +0000)]
Move low level "tg" object loader code over to SimGear.

21 years agoMoved random ground cover object management code (userdata.[ch]xx) over
curt [Wed, 28 May 2003 20:29:05 +0000 (20:29 +0000)]
Moved random ground cover object management code (userdata.[ch]xx) over
to SimGear.

21 years agoUpdate the suction model as per Alex Perry's recommendations.
curt [Wed, 28 May 2003 18:48:00 +0000 (18:48 +0000)]
Update the suction model as per Alex Perry's recommendations.

21 years agoAt low rpms when the alternator isn't able to generate enough current to charge
curt [Wed, 28 May 2003 18:47:42 +0000 (18:47 +0000)]
At low rpms when the alternator isn't able to generate enough current to charge
the battery, don't show positive amps.

21 years agoSwitch roll and yaw trim commands
ehofman [Wed, 28 May 2003 17:53:42 +0000 (17:53 +0000)]
Switch roll and yaw trim commands

21 years agoAttempt to work around a problem compiling ssgEntityArray.cxx against
curt [Wed, 28 May 2003 16:57:24 +0000 (16:57 +0000)]
Attempt to work around a problem compiling ssgEntityArray.cxx against
plib-1.6.0

21 years agoBuild fix for Windows, without it, Windows
ehofman [Wed, 28 May 2003 08:26:25 +0000 (08:26 +0000)]
Build fix for Windows, without it, Windows
version doesn't compile because of the lack of a prerequisite include

21 years agoSatisfy some strict compilers by adding a number of libraries
ehofman [Wed, 28 May 2003 08:23:54 +0000 (08:23 +0000)]
Satisfy some strict compilers by adding a number of libraries

21 years agoSwap master alternator and battery switches.
curt [Tue, 27 May 2003 19:27:01 +0000 (19:27 +0000)]
Swap master alternator and battery switches.

21 years ago- Added a redundant (left/right) vacuum pump.
curt [Tue, 27 May 2003 19:25:27 +0000 (19:25 +0000)]
- Added a redundant (left/right) vacuum pump.
- Modified the rpm vs. suction formula to hit much more realistic numbers.
  We should be seeing just over 4 inhg at idle and approaching 5 inhg at
  full throttle.

21 years agoAdded an #include for possible time syncing code.
curt [Tue, 27 May 2003 19:23:12 +0000 (19:23 +0000)]
Added an #include for possible time syncing code.

21 years agoAdded very simplistic volt and amp modeling to the electrical model. This
curt [Tue, 27 May 2003 19:18:14 +0000 (19:18 +0000)]
Added very simplistic volt and amp modeling to the electrical model.  This
should really be made more generic and part of the electrical model config
but this is all I had time for this weekend.

21 years agoAdded some test code (currently commented out) to limit a remote visual
curt [Tue, 27 May 2003 19:15:58 +0000 (19:15 +0000)]
Added some test code (currently commented out) to limit a remote visual
slave to a specific frame rate (i.e. 30hz).  This is potentially desireable
if you are running on the ragged edge between 30/60 hz ...
It would be nice at some point to make the code a bit more flexible and
configurable so it could be activated from the command line or preferences
file.

21 years agoMake the attitude indicator gyro error kick in earlier in the gyro spin down
curt [Tue, 27 May 2003 19:13:51 +0000 (19:13 +0000)]
Make the attitude indicator gyro error kick in earlier in the gyro spin down
process.
Add the annunciator model to the list of managed instrumentation modules.

21 years agoAdd a very simplistic (small single engine type) annunciator model. With
curt [Tue, 27 May 2003 19:12:33 +0000 (19:12 +0000)]
Add a very simplistic (small single engine type) annunciator model.  With
the exception of flashing the annunciator light for 10 seconds and then going
steady on, this could almost be done entirely in an xml instrument ...

21 years agoAdd a utility that given a specific localizer position and corresponding
curt [Tue, 27 May 2003 18:59:14 +0000 (18:59 +0000)]
Add a utility that given a specific localizer position and corresponding
runway info, repositions the localizer and realigns it with the runway
heading so that the approach lines up perfectly.

21 years agoThis script should be moved because it really isn't dafift specific. It
curt [Tue, 27 May 2003 18:57:40 +0000 (18:57 +0000)]
This script should be moved because it really isn't dafift specific.  It
builds the ILS database from several sources and uses an external compiled
utility to crunch the math to straighten out the approaches whenever we can
match them to specific runway headings and threshold locations.  This should
be *always* but our runway data is horribly outdated so that needs to be
updated soon to get into sync.

21 years agoRename some defines to prevent a namespace clash
ehofman [Sun, 25 May 2003 12:14:46 +0000 (12:14 +0000)]
Rename some defines to prevent a namespace clash

21 years agoFix a typo
ehofman [Sat, 24 May 2003 08:41:11 +0000 (08:41 +0000)]
Fix a typo

21 years agoProvide a better(?) solution to the windows GDI problem
ehofman [Sat, 24 May 2003 08:37:31 +0000 (08:37 +0000)]
Provide a better(?) solution to the windows GDI problem

21 years agoProvide a fix for the MSVC/Cygwin GDI build problem
ehofman [Fri, 23 May 2003 22:09:35 +0000 (22:09 +0000)]
Provide a fix for the MSVC/Cygwin GDI build problem

21 years agoinitialize some otherwise unitialized variables
ehofman [Fri, 23 May 2003 11:55:26 +0000 (11:55 +0000)]
initialize some otherwise unitialized variables

21 years agoThis is a little something I'm dabbling with ... an alternate approach
curt [Thu, 22 May 2003 19:05:16 +0000 (19:05 +0000)]
This is a little something I'm dabbling with ... an alternate approach
to doing random ground cover objects.  This is still in it's embrionic
state so don't expect this to do anything useful or interesting yet.
It shouldn't hurt anything though either.

21 years agosign change to rudder SAS
mselig [Thu, 22 May 2003 14:53:17 +0000 (14:53 +0000)]
sign change to rudder SAS

21 years agoLighting updates for non PC hardware
ehofman [Thu, 22 May 2003 13:51:19 +0000 (13:51 +0000)]
Lighting updates for non PC hardware

21 years agofrom the C++ FAQ:
ehofman [Thu, 22 May 2003 08:42:38 +0000 (08:42 +0000)]
from the C++ FAQ:

TITLE: Using delete [] versus delete

The extra "[]" warns the compiler that there is a whole array of objects here so that P's destructor must be called on each element of the array rather than just on P itself (which would be equivalent to the first element only).

21 years agoUpdates to properties for uiuc aircraft
mselig [Thu, 22 May 2003 04:34:27 +0000 (04:34 +0000)]
Updates to properties for uiuc aircraft

21 years agoUpdates for a better sunrise/sunset effect
ehofman [Wed, 21 May 2003 17:20:55 +0000 (17:20 +0000)]
Updates for a better sunrise/sunset effect

21 years agoOops missed a couple things when I moved LaRCsim.cxx into src/FDM/LaRCsim/
curt [Tue, 20 May 2003 11:29:06 +0000 (11:29 +0000)]
Oops missed a couple things when I moved LaRCsim.cxx into src/FDM/LaRCsim/
This was masked because I didn't wipe src/FDM/libFlight.a and recreate it.

21 years agoMoved FDM/LaRCsim.[ch]xx to FDM/LaRCsim/LaRCsim.[ch]xx
curt [Tue, 20 May 2003 02:08:31 +0000 (02:08 +0000)]
Moved FDM/LaRCsim.[ch]xx to FDM/LaRCsim/LaRCsim.[ch]xx

21 years agoDrop from 4 to 3 splash screens for now.
curt [Mon, 19 May 2003 20:35:50 +0000 (20:35 +0000)]
Drop from 4 to 3 splash screens for now.

21 years agoFixes to the default.ils building script.
curt [Mon, 19 May 2003 15:28:21 +0000 (15:28 +0000)]
Fixes to the default.ils building script.

21 years agoLatest cosmetic updates to the sunrise code. I still have to figure out why the color...
ehofman [Sun, 18 May 2003 11:40:57 +0000 (11:40 +0000)]
Latest cosmetic updates to the sunrise code. I still have to figure out why the colors on a PC are much nrighter in some places and much darker in others, but the color itself matches nicely now.

21 years agoRename an error message so it won't conflict with other output (especially property...
ehofman [Sun, 18 May 2003 09:06:44 +0000 (09:06 +0000)]
Rename an error message so it won't conflict with other output (especially property names)

21 years agoFix a view offset bug in some external views
ehofman [Sun, 18 May 2003 09:04:14 +0000 (09:04 +0000)]
Fix a view offset bug in some external views

21 years agoChanges needed after adding the gamma correction. I think it needs (atleast) one...
ehofman [Sat, 17 May 2003 14:29:34 +0000 (14:29 +0000)]
Changes needed after adding the gamma correction. I think it needs (atleast) one round of updates to get it right, but I've got to go now

21 years agoAdd gamma correction to the sky color functions
ehofman [Sat, 17 May 2003 12:45:27 +0000 (12:45 +0000)]
Add gamma correction to the sky color functions

21 years agoSmall, time related color adjustments for the sunrise/sunset code
ehofman [Fri, 16 May 2003 22:50:08 +0000 (22:50 +0000)]
Small, time related color adjustments for the sunrise/sunset code

21 years agoMake the sunset color view direction dependent again.
ehofman [Fri, 16 May 2003 20:32:21 +0000 (20:32 +0000)]
Make the sunset color view direction dependent again.

21 years agoDarken the clouds near sunrise/sunset
ehofman [Fri, 16 May 2003 17:35:48 +0000 (17:35 +0000)]
Darken the clouds near sunrise/sunset

21 years agoJim Wilson:
curt [Fri, 16 May 2003 17:27:17 +0000 (17:27 +0000)]
Jim Wilson:
> > Here's a patch to add manual-pitch control to the propeller in YASim.  A new
> > control axis "PROPPITCH" is added.  Requires "manual-pitch" boolean property
> > in the "propeller" tag.
> >
> > Tags and Properties to add in order to enable:
> >
> > manual-pitch="true"
> >
> > <control-input axis="/controls/engines/engine[0]/propeller-pitch"
> > control="PROPPITCH" src0="0" src1="1" dst0="0.40" dst1="0.80"/>
> >
> > Note that for the time being, excessively low RPM or excessively high RPM is
> > brought undercontrol by a scaling range defined in the control-input tag
> > (see "dst0" and "dst1" properties).

21 years agoAdjust sunset/sun rise color scheme
ehofman [Fri, 16 May 2003 16:33:23 +0000 (16:33 +0000)]
Adjust sunset/sun rise color scheme

21 years agoChanges to track updates to SimGear.
curt [Thu, 15 May 2003 21:35:51 +0000 (21:35 +0000)]
Changes to track updates to SimGear.

21 years agoSplit out some code from obj.cxx to userdata.[ch]xx
curt [Thu, 15 May 2003 16:21:18 +0000 (16:21 +0000)]
Split out some code from obj.cxx to userdata.[ch]xx

21 years agoChanges to track SimGear cvs.
curt [Thu, 15 May 2003 15:12:39 +0000 (15:12 +0000)]
Changes to track SimGear cvs.

21 years agoMSVC fixes
ehofman [Thu, 15 May 2003 08:17:53 +0000 (08:17 +0000)]
MSVC fixes

21 years agoAdd an otherwise lost header file to the Makefile
ehofman [Thu, 15 May 2003 08:13:38 +0000 (08:13 +0000)]
Add an otherwise lost header file to the Makefile

21 years agoBreak a few more dependencies ... working towards being able to move
curt [Wed, 14 May 2003 20:48:31 +0000 (20:48 +0000)]
Break a few more dependencies ... working towards being able to move
obj.[ch]xx over into simgear.

21 years agoDid some renaming of new simgear code.
curt [Wed, 14 May 2003 19:32:10 +0000 (19:32 +0000)]
Did some renaming of new simgear code.

21 years agoMoved some of the low level scene graph construction code over to simgear.
curt [Wed, 14 May 2003 19:22:24 +0000 (19:22 +0000)]
Moved some of the low level scene graph construction code over to simgear.

21 years agoUpdate the sunset colors
ehofman [Wed, 14 May 2003 19:22:04 +0000 (19:22 +0000)]
Update the sunset colors

21 years agoCreate an instance of SGMaterialLib in the "globals" structure and use
curt [Wed, 14 May 2003 18:33:56 +0000 (18:33 +0000)]
Create an instance of SGMaterialLib in the "globals" structure and use
that.

21 years agoDrop support for rendering both w/ and w/o textures, now we only support
curt [Tue, 13 May 2003 19:09:43 +0000 (19:09 +0000)]
Drop support for rendering both w/ and w/o textures, now we only support
texturing.

21 years agoUpdate the fog color based on the color of the sun. This is a first attempt and proba...
ehofman [Tue, 13 May 2003 19:00:27 +0000 (19:00 +0000)]
Update the fog color based on the color of the sun. This is a first attempt and probably needs tweaking

21 years agoRobert Deters:
curt [Tue, 13 May 2003 18:45:04 +0000 (18:45 +0000)]
Robert Deters:

  I have attached some revisions for the UIUCModel and some LaRCsim.
  The only thing you should need to check is LaRCsim.cxx.  The file
  I attached is a revised version of 1.5 and the latest is 1.7.  Also,
  uiuc_getwind.c and uiuc_getwind.h are no longer in the LaRCsim
  directory.  They have been moved over to UIUCModel.

21 years agoThe lookup method was always skipping the first ILS for any frequency
david [Tue, 13 May 2003 14:15:30 +0000 (14:15 +0000)]
The lookup method was always skipping the first ILS for any frequency
-- I discovered the problem while puzzling over an LOC that wouldn't
come in.

21 years agoInitialize a couple values before using them.
curt [Tue, 13 May 2003 11:35:35 +0000 (11:35 +0000)]
Initialize a couple values before using them.

21 years agoCosmetic changes for new code moved into simgear to make the naming scheme
curt [Tue, 13 May 2003 03:18:42 +0000 (03:18 +0000)]
Cosmetic changes for new code moved into simgear to make the naming scheme
better follow simgear conventions.

21 years agoMoved fgfs_src/Object/newmat.[ch]xx and fgfs_src/Object/matlib.[ch]xx into
curt [Mon, 12 May 2003 21:34:29 +0000 (21:34 +0000)]
Moved fgfs_src/Object/newmat.[ch]xx and fgfs_src/Object/matlib.[ch]xx into
  simgear/scene/material/
Adjusted flightgear code to match this change.

21 years agoUpdate the red and green fog colors for better matching cloud edges
ehofman [Mon, 12 May 2003 09:31:55 +0000 (09:31 +0000)]
Update the red and green fog colors for better matching cloud edges

21 years agoFix a preset in the air problem.
curt [Sat, 10 May 2003 13:33:04 +0000 (13:33 +0000)]
Fix a preset in the air problem.

21 years agoMoved src/Model/loader.[ch]xx and src/Model/model.[ch]xx to
curt [Fri, 9 May 2003 20:40:59 +0000 (20:40 +0000)]
Moved src/Model/loader.[ch]xx and src/Model/model.[ch]xx to
simgear/scene/model/

21 years ago- Added "SG" prefix to sound classes that recently moved to SimGear.
curt [Fri, 9 May 2003 19:39:48 +0000 (19:39 +0000)]
- Added "SG" prefix to sound classes that recently moved to SimGear.
- Cleaned up some minor compiler warnings.
- Moved src/Model/placement.[ch]xx over into simgear/scene/model/

21 years agoRemove dependency on model.hxx.
curt [Fri, 9 May 2003 18:51:16 +0000 (18:51 +0000)]
Remove dependency on model.hxx.

21 years agoExtract the sound code from FlightGear and move it to SimGear
ehofman [Fri, 9 May 2003 18:44:33 +0000 (18:44 +0000)]
Extract the sound code from FlightGear and move it to SimGear

21 years agoJim Wilson:
ehofman [Fri, 9 May 2003 08:31:56 +0000 (08:31 +0000)]
Jim Wilson:
This is a patch to viewmgr.cxx that I've had for a long time.  This just prevents a possible segfault caused by misconfiguration.

21 years agoJim Wilson:
ehofman [Fri, 9 May 2003 08:31:14 +0000 (08:31 +0000)]
Jim Wilson:
What is actually happening is the camera is pointing to the right place (try zooming in),  but the camera is also travelling up and down with the nose and it should be staying more steady (in sync with the CG altitude).

Attached is a fix for this. There is still something a little funky going on with the camera, but this solves the biggest problem.  You will note that I deleted an unecessary reference to scenery.hxx in the patch.

21 years agoWorking at unraveling and breaking dependencies inside of src/Model.
curt [Thu, 8 May 2003 20:28:46 +0000 (20:28 +0000)]
Working at unraveling and breaking dependencies inside of src/Model.
I split the FGModelPlacement code out into it's own set of source files.
I created two versions of the fgLoad3DModel() routine.  One that is
  unecumbered by a panelnode dependency and one that is.  acmodel.cxx is
  the only place that needs to load an aircraft with instrument panels.
model.[ch]xx are now pretty much free to move over into simgear.
loader.[ch]xx should be able to follow closely behind.
This will be a big step towards being able to move the material management
code over into simgear.

21 years agoMoved src/Model/*Animation* classes over to simgear.
curt [Thu, 8 May 2003 16:33:48 +0000 (16:33 +0000)]
Moved src/Model/*Animation* classes over to simgear.

21 years agoTimed animations now working again.
curt [Thu, 8 May 2003 15:56:31 +0000 (15:56 +0000)]
Timed animations now working again.

21 years agoClean up various dead, depricated, or otherwise unused code. I don't believe
curt [Thu, 8 May 2003 03:29:49 +0000 (03:29 +0000)]
Clean up various dead, depricated, or otherwise unused code.  I don't believe
the ascii scenery file format has actually worked in quite some time, and the
ADA runway light code has been supersceded by a slightly different mechanism.

21 years agoOops backout the last changes to these files. I was diddling with some
curt [Wed, 7 May 2003 17:41:37 +0000 (17:41 +0000)]
Oops backout the last changes to these files.  I was diddling with some
time based extrapolation and this wasn't far enough along to be usable.