]> git.mxchange.org Git - flightgear.git/log
flightgear.git
20 years agoOops, get rid of some extraneous debugging output.
curt [Tue, 16 Sep 2003 22:38:41 +0000 (22:38 +0000)]
Oops, get rid of some extraneous debugging output.

20 years agoExpose the time of day setting through the fg_command and property interface
curt [Tue, 16 Sep 2003 22:35:16 +0000 (22:35 +0000)]
Expose the time of day setting through the fg_command and property interface
so a gui interface can be built.

20 years agoFix a few potential gotcha's in setting up start time.
curt [Tue, 16 Sep 2003 22:34:22 +0000 (22:34 +0000)]
Fix a few potential gotcha's in setting up start time.

20 years agoDon't just disable depth buffer writes but instead disable the depth test all together
ehofman [Tue, 16 Sep 2003 16:27:01 +0000 (16:27 +0000)]
Don't just disable depth buffer writes but instead disable the depth test all together

20 years agoTry to prevent z-buffer problems for video cards with a 16-bit depth buffer
ehofman [Tue, 16 Sep 2003 14:31:14 +0000 (14:31 +0000)]
Try to prevent z-buffer problems for video cards with a 16-bit depth buffer

20 years agoEnable back face culling for cockpit instruments, disable depth buffer writes for...
ehofman [Tue, 16 Sep 2003 10:02:32 +0000 (10:02 +0000)]
Enable back face culling for cockpit instruments, disable depth buffer writes for 2d instruments but enable depth buffer writes for the magnetic compass. Does anyone care to create a 3d magnetic compass?

20 years agoMake sure the joystick name gets printed
ehofman [Tue, 16 Sep 2003 08:25:16 +0000 (08:25 +0000)]
Make sure the joystick name gets printed

20 years agoAdded a command line option to specify a starting time of day in the sense of:
curt [Mon, 15 Sep 2003 22:55:39 +0000 (22:55 +0000)]
Added a command line option to specify a starting time of day in the sense of:

  --timeofday=dawn
  --timeofday=dusk
  --timeofday=noon
  --timeofday=midnight

20 years agoAllow -jsbsim, -yasim or -uiuc in the name of the configuration file when it resides...
ehofman [Mon, 15 Sep 2003 16:00:18 +0000 (16:00 +0000)]
Allow -jsbsim, -yasim or -uiuc in the name of the configuration file when it resides in it's own subdirectory

20 years agoAdd support for loading aircraft which have the configuration file inside it's own...
ehofman [Mon, 15 Sep 2003 14:21:16 +0000 (14:21 +0000)]
Add support for loading aircraft which have the configuration file inside it's own subdirectory

20 years agoAdd support for <aircraft>-set.xml configuration files inside it's own subdirectory...
ehofman [Mon, 15 Sep 2003 14:07:50 +0000 (14:07 +0000)]
Add support for <aircraft>-set.xml configuration files inside it's own subdirectory. This applies only to the --show-aircraft option for now.

20 years agoFrederic Bouvier:
ehofman [Sat, 13 Sep 2003 11:47:30 +0000 (11:47 +0000)]
Frederic Bouvier:
This patch is there to correct a problem that prevent to load static objects when specifying a relative fg-root or a different, relative, fg-scenery. It appears that there is a mix between fg-root, fg-scenery and PLIB's model-dir.
It has been reported on the list that users are not able to see the buildings, especially those running the win32 builds because they run 'runfgfs.bat' that set FG_ROOT=./DATA.

I decided not to use model-dir because it just add confusion and to build a valid path earlier.

20 years agoEnable two sided lighting calculations when specular highlight is enabled
ehofman [Sat, 13 Sep 2003 09:27:50 +0000 (09:27 +0000)]
Enable two sided lighting calculations when specular highlight is enabled

20 years agoTurn back to default lighting when specular-highlight gets disabled
ehofman [Fri, 12 Sep 2003 22:09:54 +0000 (22:09 +0000)]
Turn back to default lighting when specular-highlight gets disabled

20 years agoAdd the posibillity to disable specular highlight because it looks like some implemen...
ehofman [Fri, 12 Sep 2003 21:43:01 +0000 (21:43 +0000)]
Add the posibillity to disable specular highlight because it looks like some implementations switch over to sofware rendering when this is enabled

20 years agoMake it possible for textured object to change color to white when lit by a strong...
ehofman [Fri, 12 Sep 2003 09:27:19 +0000 (09:27 +0000)]
Make it possible for textured object to change color to white when lit by a strong light source. This might affect rendering time a bit

20 years agoChanges to facilitate replaying the last "n" seconds.
curt [Thu, 11 Sep 2003 19:36:04 +0000 (19:36 +0000)]
Changes to facilitate replaying the last "n" seconds.

20 years agoAdded --failure option.
david [Wed, 10 Sep 2003 01:29:19 +0000 (01:29 +0000)]
Added --failure option.

20 years agoFix a couple of bugs that resulted in ATIS not being heard at airports with AI traffi...
daveluff [Fri, 5 Sep 2003 13:58:51 +0000 (13:58 +0000)]
Fix a couple of bugs that resulted in ATIS not being heard at airports with AI traffic active

20 years agoChange the start of descent point of the AI plane when the circuit has been extended...
daveluff [Fri, 5 Sep 2003 10:26:11 +0000 (10:26 +0000)]
Change the start of descent point of the AI plane when the circuit has been extended when following previous traffic - it should not land short now, although it can land a way down the runway if start of descent should occur during a turn, since it doesnt start descending until the turn is finished

20 years agoGuard against update(...) getting called before init(...)
daveluff [Fri, 5 Sep 2003 10:23:20 +0000 (10:23 +0000)]
Guard against update(...) getting called before init(...)

20 years agoOutput a few properties for AI code devel convienience - probably temporary
daveluff [Fri, 5 Sep 2003 10:22:18 +0000 (10:22 +0000)]
Output a few properties for AI code devel convienience - probably temporary

20 years agoWhitespace cleanup
daveluff [Fri, 5 Sep 2003 10:21:29 +0000 (10:21 +0000)]
Whitespace cleanup

20 years agoRemove unused gamma corrections
ehofman [Wed, 3 Sep 2003 18:47:48 +0000 (18:47 +0000)]
Remove unused gamma corrections

20 years agoFix a reset bug for at least JSBSim by removing some apperently old UIUC code. This...
ehofman [Wed, 3 Sep 2003 17:10:52 +0000 (17:10 +0000)]
Fix a reset bug for at least JSBSim by removing some apperently old UIUC code. This falls in the same category as the code from main.cxx which was recently removed by advice from the UIUC developers.

20 years agoDavid Luff:
curt [Tue, 2 Sep 2003 19:12:11 +0000 (19:12 +0000)]
David Luff:

Firstly, the search of a given runway number was coming out wrong if the
reverse of the one actually in the database was given, resulting in the AI
plane going to the wrong runway.  This was caused by the fact that if the
reverse runway number to the one wanted was matched then revrwyno was
assigned to rwy.rwy_no, whereas actually it was the original runwayno that
should have been assigned.

Secondly, whilst instrumenting the search with couts to see what was going
wrong, I noticed that one runway would come up loads of times.  It turns
out that this is because taxiways and the next airport line were loaded in
as the last runway, with only the type changed, in the constructor.  Thus
the total number of runway entries for all except the last airport equalled
(no-of-runways + no-of-taxiways +  1).  I've changed a couple of lines to
fix this.

[Curt: this was partially fixed last week, but now it should be completely
fixed.  Thanks Dave!]

20 years agoAdd a --ceiling=FT_AGL[:THICKNESS_AGL] option to create a default
david [Mon, 1 Sep 2003 22:58:19 +0000 (22:58 +0000)]
Add a --ceiling=FT_AGL[:THICKNESS_AGL] option to create a default
overcast ceiling at the given altitude AGL, optionally with the given
thickness (or default to 2000 ft).

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.