]> git.mxchange.org Git - flightgear.git/log
flightgear.git
20 years agoRoll out last change for now. It kills the mag compass on the default
david [Mon, 1 Sep 2003 22:03:46 +0000 (22:03 +0000)]
Roll out last change for now.  It kills the mag compass on the default
172, and seems to have unpredictable results depending on the drawing
order.

20 years agoAverage sunlight and ambient light instead of multiplying it
ehofman [Fri, 29 Aug 2003 22:13:05 +0000 (22:13 +0000)]
Average sunlight and ambient light instead of multiplying it

20 years ago- The latest volley in the FlightGear lighting wars.
curt [Fri, 29 Aug 2003 21:24:13 +0000 (21:24 +0000)]
- The latest volley in the FlightGear lighting wars.
- Ambient is based off the lookup table only.
- Diffuse is based off of the lookup table, but multiplied by a combination
  of sun/fog colors.

The result is a bit more ambient light at dusk and night since the world is
never 100% dark.  And we still get nice sunset/sunrise colored illumination
of surfaces that are directly illuminated by the sun.

20 years agoI had to make a small mod to the runways.dat format, code changes to handle
curt [Fri, 29 Aug 2003 20:27:48 +0000 (20:27 +0000)]
I had to make a small mod to the runways.dat format, code changes to handle
that.

20 years agoUse the glPointParameter function pointer rather than the function itself
ehofman [Fri, 29 Aug 2003 16:50:20 +0000 (16:50 +0000)]
Use the glPointParameter function pointer rather than the function itself

20 years agoRemove a possible glut dependency and do some code cleaning
ehofman [Fri, 29 Aug 2003 16:46:21 +0000 (16:46 +0000)]
Remove a possible glut dependency and do some code cleaning

20 years agoNew automake, new problems. Add $base_LIBS for programs since $LIBS isn't substituted...
ehofman [Fri, 29 Aug 2003 09:03:49 +0000 (09:03 +0000)]
New automake, new problems. Add $base_LIBS for programs since $LIBS isn't substituted automatically anymore

20 years agoRemove the last traces of metakit (hopefully) :-)
curt [Fri, 29 Aug 2003 04:42:43 +0000 (04:42 +0000)]
Remove the last traces of metakit (hopefully) :-)

20 years agoDepricated ...
curt [Fri, 29 Aug 2003 04:12:34 +0000 (04:12 +0000)]
Depricated ...

20 years agoRedo the runway database scheme to use a flat/ascii file and load the entire
curt [Fri, 29 Aug 2003 04:11:23 +0000 (04:11 +0000)]
Redo the runway database scheme to use a flat/ascii file and load the entire
database into memory at the start.  This should completely eliminate any
dependencies we have on metakit.

20 years agoFix a small oops on my part.
curt [Thu, 28 Aug 2003 21:05:01 +0000 (21:05 +0000)]
Fix a small oops on my part.

20 years agoDepricated ...
curt [Thu, 28 Aug 2003 21:04:12 +0000 (21:04 +0000)]
Depricated ...

20 years agoRemove one dependence on MetaKit.
curt [Thu, 28 Aug 2003 20:53:08 +0000 (20:53 +0000)]
Remove one dependence on MetaKit.

20 years agoPut the id of the tile we are flying over into the property tree for
curt [Thu, 28 Aug 2003 20:52:34 +0000 (20:52 +0000)]
Put the id of the tile we are flying over into the property tree for
convenience of debugging.

20 years agoMinor tweak.
curt [Thu, 28 Aug 2003 20:52:05 +0000 (20:52 +0000)]
Minor tweak.

20 years agoFix an undeclared function refference in one of the supported compiler environments
ehofman [Mon, 25 Aug 2003 12:41:40 +0000 (12:41 +0000)]
Fix an undeclared function refference in one of the supported compiler environments

20 years agoUpdates needed for z-ordewring of the cloud layers
ehofman [Fri, 22 Aug 2003 08:05:00 +0000 (08:05 +0000)]
Updates needed for z-ordewring of the cloud layers

20 years agoRename every instance of GLUT_H to FG_GLUT_H to prevent a freeglut naming clash
ehofman [Fri, 22 Aug 2003 08:03:10 +0000 (08:03 +0000)]
Rename every instance of GLUT_H to FG_GLUT_H to prevent a freeglut naming clash

20 years agoChange GLUT_H to FG_GLUT_H to prevent a naming clash with freeglut.
ehofman [Thu, 21 Aug 2003 09:12:12 +0000 (09:12 +0000)]
Change GLUT_H to FG_GLUT_H to prevent a naming clash with freeglut.

20 years agoAdd support for moving cloud layers
ehofman [Tue, 19 Aug 2003 13:06:51 +0000 (13:06 +0000)]
Add support for moving cloud layers

20 years agoFix some network layer issues. Some htonl() calls didn't use the return value.
ehofman [Mon, 18 Aug 2003 11:11:08 +0000 (11:11 +0000)]
Fix some network layer issues. Some htonl() calls didn't use the return value.

20 years agoAdd a comment on how to enable an alternative HOT algorithm that enables one to fly...
ehofman [Mon, 18 Aug 2003 09:34:12 +0000 (09:34 +0000)]
Add a comment on how to enable an alternative HOT algorithm that enables one to fly underneath static objects

20 years agoFix a bug where a test was perfromed on a variable that wasn;'t even initialized...
ehofman [Mon, 18 Aug 2003 09:26:26 +0000 (09:26 +0000)]
Fix a bug where a test was perfromed on a variable that wasn;'t even initialized (and wrong) and add support for tab and space as a seperator

20 years agoSome small (linux) fixes
ehofman [Sun, 17 Aug 2003 10:03:36 +0000 (10:03 +0000)]
Some small (linux) fixes

20 years agoReorganization of main.cxx
ehofman [Sun, 17 Aug 2003 09:54:41 +0000 (09:54 +0000)]
Reorganization of main.cxx

20 years agoDisable depth buffer writes for 2D insturments. This should prevent z-buffer fighting
ehofman [Sat, 16 Aug 2003 11:35:04 +0000 (11:35 +0000)]
Disable depth buffer writes for 2D insturments. This should prevent z-buffer fighting

20 years agoWork around a problem in certain NVidia adapters hat don't support fgPushAttrib(FG_FO...
ehofman [Fri, 15 Aug 2003 17:47:34 +0000 (17:47 +0000)]
Work around a problem in certain NVidia adapters hat don't support fgPushAttrib(FG_FOG_BIT)

20 years agoAdd a description for using extensions and a description of the generic protocol...
ehofman [Fri, 15 Aug 2003 16:17:37 +0000 (16:17 +0000)]
Add a description for using extensions and a description of the generic protocol configuration file

20 years agoNorman Vine:
curt [Tue, 12 Aug 2003 15:57:17 +0000 (15:57 +0000)]
Norman Vine:

Attached patch gets rid of all mention of GLUT from the cockpit directory.

20 years agoRemove several unneeded glut dependencies. Note, this doesn't signal an
curt [Mon, 11 Aug 2003 21:50:22 +0000 (21:50 +0000)]
Remove several unneeded glut dependencies.  Note, this doesn't signal an
immediate end to glut, only that I'm going through and cleaning up (and
taking inventory of the actual glut dependencies in case I want to investigate
SDL.)

20 years agoCompiler squawked because a typed function had no return, create a dummy value
curt [Mon, 11 Aug 2003 19:33:49 +0000 (19:33 +0000)]
Compiler squawked because a typed function had no return, create a dummy value
to return.

20 years agoFix some compiler warnings.
curt [Mon, 11 Aug 2003 19:31:50 +0000 (19:31 +0000)]
Fix some compiler warnings.

20 years agoBack out the patch that made fgLoadAircraft a static function
ehofman [Mon, 11 Aug 2003 17:34:16 +0000 (17:34 +0000)]
Back out the patch that made fgLoadAircraft a static function

20 years agoMake the aircraft loader function static
ehofman [Mon, 11 Aug 2003 08:50:30 +0000 (08:50 +0000)]
Make the aircraft loader function static

20 years agoInitialize some variables
ehofman [Mon, 11 Aug 2003 08:35:29 +0000 (08:35 +0000)]
Initialize some variables

20 years agoFix a problem with MSVC and fix some typos
ehofman [Sat, 9 Aug 2003 13:31:44 +0000 (13:31 +0000)]
Fix a problem with MSVC and fix some typos

20 years agoOops, fix a typo.
curt [Sat, 9 Aug 2003 02:45:23 +0000 (02:45 +0000)]
Oops, fix a typo.

20 years agoAdd support for specifying a ";" delimited list of scenery locations to
curt [Fri, 8 Aug 2003 20:11:22 +0000 (20:11 +0000)]
Add support for specifying a ";" delimited list of scenery locations to
search when loading scenery tiles.  (I am not set on using ";" as the
delimiter because it is a command separator in unix, but ":" is a critical
part of the windows file naming scheme (c:\foo\bar) so that is even worse.)

Example:

--fg-scenery=/stage/fgfs04/curt/Scenery-0.9.1/Scenery;/stage/helio1/curt/Scenery
-0.7.9

20 years agoAdd partial support for using textures as a basis for cloud field geenration
ehofman [Thu, 7 Aug 2003 12:38:17 +0000 (12:38 +0000)]
Add partial support for using textures as a basis for cloud field geenration

20 years agoFix drag when engine is shut down, by avoiding negative RPM.
david [Wed, 6 Aug 2003 21:38:01 +0000 (21:38 +0000)]
Fix drag when engine is shut down, by avoiding negative RPM.

The Propeller class ignored negative RPM but still returned a torque
value, which ratcheted up a higher and higher negative RPM until drag
overwhelmed the aircraft.

In reality, the propeller should windmill at a reasonable postive RPM,
introducing a constant drag on the aircraft -- the propeller should
*not* stop unless the plane is flying very slowly.  That's a future
project.

20 years agoNorman Vine:
curt [Wed, 6 Aug 2003 17:13:42 +0000 (17:13 +0000)]
Norman Vine:

Add commands to increase/decrease the fog visibility.

20 years agoChanged "GL/glut.h" to <GL/glut.h>
curt [Tue, 5 Aug 2003 14:49:01 +0000 (14:49 +0000)]
Changed "GL/glut.h" to <GL/glut.h>

20 years agoThe test didn't work out well
ehofman [Mon, 4 Aug 2003 19:07:12 +0000 (19:07 +0000)]
The test didn't work out well

20 years agoAdd 3d cloud support back in
ehofman [Mon, 4 Aug 2003 17:57:15 +0000 (17:57 +0000)]
Add 3d cloud support back in

20 years agoAdd a /test/scene_lighting property to switch between new and old behavior
ehofman [Mon, 4 Aug 2003 09:34:55 +0000 (09:34 +0000)]
Add a /test/scene_lighting property to switch between new and old behavior

20 years agoUpdate the ambient, diffuse and specular scenery colors to match the real world more...
ehofman [Sun, 3 Aug 2003 09:54:02 +0000 (09:54 +0000)]
Update the ambient, diffuse and specular scenery colors to match the real world more closely

20 years agoUpdate scene lighting
ehofman [Sat, 2 Aug 2003 12:45:15 +0000 (12:45 +0000)]
Update scene lighting

20 years agoAdd support for communicating a flap motor failure.
curt [Fri, 1 Aug 2003 19:37:20 +0000 (19:37 +0000)]
Add support for communicating a flap motor failure.

20 years agoOoops, I added another item to what I write to the buffer, but
curt [Fri, 1 Aug 2003 17:06:11 +0000 (17:06 +0000)]
Ooops, I added another item to what I write to the buffer, but
forgot to make it big enough to hold the new item.  This was manifesting
itself as a crash on reset (if the ExternalPipe FDM was being used.)

20 years agoInterpolate failure conditions since they are part of the struct (more
curt [Fri, 1 Aug 2003 00:25:10 +0000 (00:25 +0000)]
Interpolate failure conditions since they are part of the struct (more
of a formality for consistancies sake than a useful thing.)

20 years agoAdd several common engine faults to the net_ctrls structure.
curt [Fri, 1 Aug 2003 00:22:57 +0000 (00:22 +0000)]
Add several common engine faults to the net_ctrls structure.

20 years agoAnnunciators cannot work if electrical system is not serviceable.
curt [Fri, 1 Aug 2003 00:22:14 +0000 (00:22 +0000)]
Annunciators cannot work if electrical system is not serviceable.

20 years agoNeeded for SimGear update
ehofman [Thu, 31 Jul 2003 14:47:56 +0000 (14:47 +0000)]
Needed for SimGear update

20 years agoUse a pointer to a structure instead of a large number of variables when calling...
ehofman [Thu, 31 Jul 2003 09:06:15 +0000 (09:06 +0000)]
Use a pointer to a structure instead of a large number of variables when calling a function to keep the stack clean

20 years agoCompute teh altitude-agl if the remote end isn't sending it.
curt [Thu, 31 Jul 2003 01:44:40 +0000 (01:44 +0000)]
Compute teh altitude-agl if the remote end isn't sending it.

20 years agoMake the property tree reading slightly more robust.
curt [Thu, 31 Jul 2003 01:43:57 +0000 (01:43 +0000)]
Make the property tree reading slightly more robust.

20 years agoFix a property name spelling error.
curt [Thu, 31 Jul 2003 01:41:46 +0000 (01:41 +0000)]
Fix a property name spelling error.

20 years agoFix several mispellings of servicable->serviceable.
curt [Wed, 30 Jul 2003 00:43:25 +0000 (00:43 +0000)]
Fix several mispellings of servicable->serviceable.

20 years agoFixes namespace conflict with the variable ch. Changed to chord_h.
mselig [Sun, 27 Jul 2003 17:54:18 +0000 (17:54 +0000)]
Fixes namespace conflict with the variable ch.  Changed to chord_h.

20 years agoComment out the UIUC ground trimming code
ehofman [Sun, 27 Jul 2003 07:49:33 +0000 (07:49 +0000)]
Comment out the UIUC ground trimming code

20 years agoIgnore generated files.
david [Sat, 26 Jul 2003 10:53:58 +0000 (10:53 +0000)]
Ignore generated files.

20 years agoAdd the abillity to attach a propeller thruster to a turbine engine
ehofman [Sat, 26 Jul 2003 09:12:54 +0000 (09:12 +0000)]
Add the abillity to attach a propeller thruster to a turbine engine

20 years agoThis patch increases the threshold below which the uiuc models are forced above the...
ehofman [Sat, 26 Jul 2003 07:56:46 +0000 (07:56 +0000)]
This patch increases the threshold below which the uiuc models are forced above the ground.

20 years agoComments added to printf statments.
mselig [Sat, 26 Jul 2003 00:19:14 +0000 (00:19 +0000)]
Comments added to printf statments.

20 years agoDo a santity check in case net->course_deviation_deg is bogus.
curt [Fri, 25 Jul 2003 20:10:09 +0000 (20:10 +0000)]
Do a santity check in case net->course_deviation_deg is bogus.

20 years agoTry to make the replay system honor /sim/speed-up, but not fully working yet.
curt [Fri, 25 Jul 2003 20:09:30 +0000 (20:09 +0000)]
Try to make the replay system honor /sim/speed-up, but not fully working yet.

20 years agoIncludes mods to greatly shorten the uiuc_recorder.cpp code.
mselig [Fri, 25 Jul 2003 17:55:27 +0000 (17:55 +0000)]
Includes mods to greatly shorten the uiuc_recorder.cpp code.

20 years agoFixes compiler warning related to this gcc message: This file includes at least...
mselig [Fri, 25 Jul 2003 17:55:20 +0000 (17:55 +0000)]
Fixes compiler warning related to this gcc message:  This file includes at least one deprecated or antiquated header.  Also, mods made to improve the uiuc_recorder code.

20 years agoFixes compiler warning related to this gcc message: This file includes at least...
mselig [Fri, 25 Jul 2003 17:53:53 +0000 (17:53 +0000)]
Fixes compiler warning related to this gcc message:  This file includes at least one deprecated or antiquated header.

20 years agoUIUC code initilization mods to tidy things up a bit.
mselig [Fri, 25 Jul 2003 17:53:35 +0000 (17:53 +0000)]
UIUC code initilization mods to tidy things up a bit.

20 years agoAdds a basic FDM model for LaRCsim debugging purposes.
mselig [Fri, 25 Jul 2003 17:53:13 +0000 (17:53 +0000)]
Adds a basic FDM model for LaRCsim debugging purposes.

20 years agoAdds a basic FDM model for LaRCsim debugging purposes. There is a bug in FGFS-LaRCsi...
mselig [Fri, 25 Jul 2003 17:53:08 +0000 (17:53 +0000)]
Adds a basic FDM model for LaRCsim debugging purposes.  There is a bug in FGFS-LaRCsim that I have yet to put my finger on.

20 years agoMelchior FRANZ:
ehofman [Thu, 24 Jul 2003 15:00:16 +0000 (15:00 +0000)]
Melchior FRANZ:
The jitter is most likely caused by the irregular frame rate and CPU clock dependent intervals. There's no easy way around that. I tried some fancy interpolation and all that -- to no avail.

20 years agoThis fixes the K to F conversion for the EGT output
ehofman [Thu, 24 Jul 2003 14:43:11 +0000 (14:43 +0000)]
This fixes the K to F conversion for the EGT output

20 years agoFix an oversight/inefficiency spotted by Frederic Bouvier. We were passing a
curt [Wed, 23 Jul 2003 17:50:45 +0000 (17:50 +0000)]
Fix an oversight/inefficiency spotted by Frederic Bouvier.  We were passing a
*copy* of a very large data set to a function.

20 years agoGeoff McLane:
curt [Wed, 23 Jul 2003 14:36:33 +0000 (14:36 +0000)]
Geoff McLane:

Attached is a 'slightly' updated config.h-msvc6 file.
You will note i have only couched the JOYSTICK into an #ifndef
and add the needed GLUT_H

20 years agoRemove some debugging output.
curt [Wed, 23 Jul 2003 13:48:19 +0000 (13:48 +0000)]
Remove some debugging output.

20 years agoFix a typo ...
curt [Wed, 23 Jul 2003 03:19:08 +0000 (03:19 +0000)]
Fix a typo ...

20 years agoAdd gear animation effects to replay.
curt [Tue, 22 Jul 2003 23:46:11 +0000 (23:46 +0000)]
Add gear animation effects to replay.

20 years agoFinish the list of values that need to be interpolated every frame.
curt [Tue, 22 Jul 2003 20:06:03 +0000 (20:06 +0000)]
Finish the list of values that need to be interpolated every frame.

20 years agoHandle agl data correctly (so that ultimately the replay system can place
curt [Tue, 22 Jul 2003 20:05:38 +0000 (20:05 +0000)]
Handle agl data correctly (so that ultimately the replay system can place
aircraft shadows correctly.)

20 years agoFix a bug that would occur on 5GHz computers, and disable the altitude damping feature.
ehofman [Tue, 22 Jul 2003 08:51:31 +0000 (08:51 +0000)]
Fix a bug that would occur on 5GHz computers, and disable the altitude damping feature.

20 years agoFix a devide by zero bug"src/Autopilot/newauto.cxx
ehofman [Tue, 22 Jul 2003 08:13:10 +0000 (08:13 +0000)]
Fix a devide by zero bug"src/Autopilot/newauto.cxx

20 years agoEliminate divide-by-zero error. AI should spin down gradually again.
david [Tue, 22 Jul 2003 02:05:50 +0000 (02:05 +0000)]
Eliminate divide-by-zero error.  AI should spin down gradually again.

20 years agoThis backs out only the target climb rate calculation fix for the time being,
ehofman [Sat, 19 Jul 2003 14:15:11 +0000 (14:15 +0000)]
This backs out only the target climb rate calculation fix for the time being,
maybe for good

20 years agoModified the replay system to work without enabling the master or clock freeze.
curt [Fri, 18 Jul 2003 14:14:24 +0000 (14:14 +0000)]
Modified the replay system to work without enabling the master or clock freeze.

20 years agoSmall patch to expose the localizer property (e.g., true for ILS localizer)
ehofman [Fri, 18 Jul 2003 08:22:54 +0000 (08:22 +0000)]
Small patch to expose the localizer property (e.g., true for ILS localizer)

20 years agoSmall update
ehofman [Fri, 18 Jul 2003 08:17:16 +0000 (08:17 +0000)]
Small update

20 years agoFixes for MSVC and MipsPro
ehofman [Fri, 18 Jul 2003 08:14:21 +0000 (08:14 +0000)]
Fixes for MSVC and MipsPro

20 years agoAvoid collecting garbage data before the FDM is initialized.
curt [Fri, 18 Jul 2003 01:51:45 +0000 (01:51 +0000)]
Avoid collecting garbage data before the FDM is initialized.

20 years agoImprovements to the replay subsystem.
curt [Thu, 17 Jul 2003 21:21:00 +0000 (21:21 +0000)]
Improvements to the replay subsystem.
- Handle rotational interpolation across the "zero" point.
- Bug fixes to the rotational interpolator
- Change intervals for medium term and long term data recorders.

20 years agoCurt:
curt [Thu, 17 Jul 2003 18:24:17 +0000 (18:24 +0000)]
Curt:

I have added a fledgling replay system that records flight data and control
positions during the flight.

I have added an internal command called "replay" which will trigger a replay
of the entire saved flight data set.  This could be bound to a keyboard or
menu command, in fact this entire module is screaming for someone to build
a gui to control playback speed, amount of playback, etc.

This is the initial version so there are kinks that still need to be worked
out, please be patient.

20 years agoJim Wilson:
ehofman [Thu, 17 Jul 2003 08:52:36 +0000 (08:52 +0000)]
Jim Wilson:
These changes should preserve previous functionality (with the exception of a
couple bug fixes).

Bugs fixed:
- AP no longer resets the error accumulator when switching altitude modes or
just closing the autopilot GUI.  It will not be necessary to collect the barf
bags after selecting a new altitude anymore.  Makes things much smoother.
- climb_rate calculation in the altitude hold mode included a factor that made
sense for the c172.  It is now scaled according to the configuration's target
climb rate.

Additions:
Autothrottle (supports speed control only) is more configurable and accurate.
VerticalSpeed mode added (automatically arms to altitude if flown toward
altitude setting).
Exposed various properties, added new lock properties.

20 years agoMake initTheta() use the results of the search it performs.
tony [Thu, 17 Jul 2003 02:32:39 +0000 (02:32 +0000)]
Make initTheta() use the results of the search it performs.

20 years agoUpdate magvar model before using it to initialize compass error.
david [Thu, 17 Jul 2003 00:26:38 +0000 (00:26 +0000)]
Update magvar model before using it to initialize compass error.

20 years agoKludge the HI error so that it initially matches the magnetic variation.
david [Thu, 17 Jul 2003 00:06:03 +0000 (00:06 +0000)]
Kludge the HI error so that it initially matches the magnetic variation.

20 years agoAdded options to set up avionics from the command line:
david [Wed, 16 Jul 2003 23:34:07 +0000 (23:34 +0000)]
Added options to set up avionics from the command line:

  --nav1=[radial:]frequency
  --nav2=[radial:]frequency
  --adf=[rotation:]frequency
  --dme="nav1"|"nav2"|frequency

21 years agoDon't snap to runway heading if an offset azimuth is supplied.
david [Wed, 16 Jul 2003 19:12:02 +0000 (19:12 +0000)]
Don't snap to runway heading if an offset azimuth is supplied.

21 years agoMore turbulence tweaks and fixes.
david [Mon, 14 Jul 2003 22:34:08 +0000 (22:34 +0000)]
More turbulence tweaks and fixes.

Skip turbulence calculations with magnitude is 0.

21 years agoMake sure sign is preserved for turbulence direction.
david [Mon, 14 Jul 2003 20:48:23 +0000 (20:48 +0000)]
Make sure sign is preserved for turbulence direction.