]> git.mxchange.org Git - simgear.git/log
simgear.git
20 years agoAdd default openal libs for cygwin.
curt [Wed, 28 Apr 2004 19:19:05 +0000 (19:19 +0000)]
Add default openal libs for cygwin.

20 years agoLower verbosity level.
curt [Wed, 28 Apr 2004 03:59:10 +0000 (03:59 +0000)]
Lower verbosity level.

20 years agoExpose the ability to specify how the sound volume fades relative to
curt [Wed, 28 Apr 2004 03:57:13 +0000 (03:57 +0000)]
Expose the ability to specify how the sound volume fades relative to
distance from the listener.  This let's us configure "interior" cockpit
sounds versus "exterior" engine type sounds.

20 years agoTweak default source audio parameters.
curt [Tue, 27 Apr 2004 21:11:21 +0000 (21:11 +0000)]
Tweak default source audio parameters.

20 years agoExpose some of the positional components of the OpenAL API.
curt [Tue, 27 Apr 2004 20:45:58 +0000 (20:45 +0000)]
Expose some of the positional components of the OpenAL API.

20 years agoMake sure the prototype definition of sleep() is found (at least for IRIX).
ehofman [Tue, 27 Apr 2004 08:59:31 +0000 (08:59 +0000)]
Make sure the prototype definition of sleep() is found (at least for IRIX).

20 years agoOops, one addtional tweak.
curt [Mon, 26 Apr 2004 22:07:19 +0000 (22:07 +0000)]
Oops, one addtional tweak.

20 years agoUpdate the SoundSample api so we can request that a copy of the sample be
curt [Mon, 26 Apr 2004 22:02:14 +0000 (22:02 +0000)]
Update the SoundSample api so we can request that a copy of the sample be
kept in memory and accessible.

20 years agoGive these two methods slightly less misleading names.
curt [Mon, 26 Apr 2004 16:17:21 +0000 (16:17 +0000)]
Give these two methods slightly less misleading names.

20 years agoDavid Luff:
curt [Mon, 26 Apr 2004 15:55:29 +0000 (15:55 +0000)]
David Luff:

Fix comments for two functions.

20 years agoMissed one fix for Mac OS.
curt [Mon, 26 Apr 2004 14:55:27 +0000 (14:55 +0000)]
Missed one fix for Mac OS.

20 years agoLower the verbosity in a couple other spots.
curt [Sun, 25 Apr 2004 02:30:52 +0000 (02:30 +0000)]
Lower the verbosity in a couple other spots.

20 years agoLower verbosity.
curt [Sun, 25 Apr 2004 02:02:35 +0000 (02:02 +0000)]
Lower verbosity.

20 years agoAdd support for the MacOS variations of OpenAL.
curt [Sun, 25 Apr 2004 01:48:08 +0000 (01:48 +0000)]
Add support for the MacOS variations of OpenAL.

20 years agoAdd correct openal libs for MacOS.
curt [Sun, 25 Apr 2004 01:41:24 +0000 (01:41 +0000)]
Add correct openal libs for MacOS.

20 years agoClamp pitch values rather than just dumping an error message.
curt [Sat, 24 Apr 2004 19:47:42 +0000 (19:47 +0000)]
Clamp pitch values rather than just dumping an error message.

20 years agoRewrite the entire audio support library on top of OpenAL rather than plib's
curt [Sat, 24 Apr 2004 19:02:29 +0000 (19:02 +0000)]
Rewrite the entire audio support library on top of OpenAL rather than plib's
sound manager.  The interface was simplified and cleaned up a bit, and I
haven't back ported these changes to the plib sound wrappers ... we could
I suppose if someone really had a problem, but I haven't seen anything so
far that would indicate the extra effort is worth it.

20 years agoBernie Bright:
curt [Thu, 22 Apr 2004 12:39:16 +0000 (12:39 +0000)]
Bernie Bright:

gcc 3.4 has changed the rules for unqualified template name lookup.  This
affects SGQueue.hxx.  The changes I've made are backwards compatible with
earlier gcc versions.  Everything else compiles pretty much okay except for a
few warnings.  The resultant executable seems a bit faster too.

20 years agoFrederic: The state selector was not referenced and got deleted as soon as the sky...
ehofman [Sun, 4 Apr 2004 15:35:28 +0000 (15:35 +0000)]
Frederic: The state selector was not referenced and got deleted as soon as the sky was rebuilt a second time with the metar code.

20 years agoAdded more generated files.
david [Sun, 4 Apr 2004 14:24:06 +0000 (14:24 +0000)]
Added more generated files.

20 years agoMake sure GLuint is known.
ehofman [Sun, 4 Apr 2004 13:46:26 +0000 (13:46 +0000)]
Make sure GLuint is known.

20 years agoFrederic Bouvier:
ehofman [Sun, 4 Apr 2004 13:41:53 +0000 (13:41 +0000)]
Frederic Bouvier:

This is a new patch that allow to define a different
texture for top and bottom of clouds. It uses the
overcast_top.rgb you made for me last time.

What the patch do is to install a ssgStateSelector
instead of a ssgSimpleState for each layer.
The SGCloudLayer::draw method is modified to accept
a boolean that will select the proper state: 0/false
for bottom, 1/true for top.

Then, in SGSky::drawUpperClouds and SGSky::drawLowerClouds,
SGCloudLayer::draw is called with false and true because
we see the bottom of upper clouds and the top of
lower clouds.

Only overcast has 2 textures, the other types share the
same state for top and bottom, but that could be modified
in SGCloudLayer::rebuild.

20 years agoPlib is willing callbacks to return 0, 1 or 2 and not simply a boolean
ehofman [Fri, 2 Apr 2004 19:48:50 +0000 (19:48 +0000)]
Plib is willing callbacks to return 0, 1 or 2 and not simply a boolean

20 years agoFix an NVidia problem by moving the hack to another location.
ehofman [Fri, 2 Apr 2004 19:44:04 +0000 (19:44 +0000)]
Fix an NVidia problem by moving the hack to another location.

20 years agoFrederic Bouvier:
ehofman [Fri, 2 Apr 2004 14:39:42 +0000 (14:39 +0000)]
Frederic Bouvier:

 Move the rendering stage for upper clouds from preDraw
 to drawUpperClouds. Rename postDraw to drawLowerClouds.

20 years agoFrederic Bouvier:
ehofman [Fri, 2 Apr 2004 14:39:19 +0000 (14:39 +0000)]
Frederic Bouvier:

 put all leaf is a seperated branch so that it is
 possible to use a pretrav callback to cull out
 terrain without culling out light or dynamic
 objects. It appears that plib is not calling the
 pretrav callback for leaves.

20 years agoFrederic Bouvier:
ehofman [Fri, 2 Apr 2004 14:38:57 +0000 (14:38 +0000)]
Frederic Bouvier:

 add an optional parameter that would be called to
 build the aircraft panel, so that flightgear's
 model_panel no longer duplicate code.

 add a pretrav callback to models so that we can
 filter out models when calling ssgCullAndDraw on
 the global scene.
 sgSetModelFilter( true ) means that we want to draw
 the models. Use false to cull them out.

20 years agoClean up several stray warnings that have accumulated.
curt [Thu, 1 Apr 2004 13:47:02 +0000 (13:47 +0000)]
Clean up several stray warnings that have accumulated.

20 years agoFinal 0.3.5 tweaks.
curt [Fri, 26 Mar 2004 21:07:15 +0000 (21:07 +0000)]
Final 0.3.5 tweaks.

20 years ago0.3.5.pre2 tweaks.
curt [Wed, 24 Mar 2004 00:19:59 +0000 (00:19 +0000)]
0.3.5.pre2 tweaks.

20 years agoIgnore generated files.
david [Tue, 23 Mar 2004 19:03:40 +0000 (19:03 +0000)]
Ignore generated files.

20 years agoFix GC interaction. The "me" reference to a method call was being
andy [Tue, 23 Mar 2004 00:42:56 +0000 (00:42 +0000)]
Fix GC interaction.  The "me" reference to a method call was being
popped off the stack in a situation where it could be garbage
collected.  I believe this is the source of the spurious "non-object
have no members" bug that has been reported.

20 years agoLet the cloud layers follow the earth's surface. If you want the clouds to touch...
ehofman [Mon, 22 Mar 2004 21:31:24 +0000 (21:31 +0000)]
Let the cloud layers follow the earth's surface. If you want the clouds to touch the horizon, just increase the spaen.

20 years agoThese test should not be needed when properly using OpnGL colors.
ehofman [Mon, 22 Mar 2004 20:03:53 +0000 (20:03 +0000)]
These test should not be needed when properly using OpnGL colors.

20 years agoTweaks for 0.3.5.pre1 release.
curt [Mon, 22 Mar 2004 19:12:23 +0000 (19:12 +0000)]
Tweaks for 0.3.5.pre1 release.

20 years agoBetter color component sanity checking.
curt [Mon, 22 Mar 2004 19:12:07 +0000 (19:12 +0000)]
Better color component sanity checking.

20 years agoFrederic Bouvier:
ehofman [Sun, 21 Mar 2004 21:54:51 +0000 (21:54 +0000)]
Frederic Bouvier:

If the input string of sgSplitPath is empty, it returned a list with one empty string, not an empty list.

20 years agoFrederic Bouvier:
ehofman [Sat, 20 Mar 2004 22:41:40 +0000 (22:41 +0000)]
Frederic Bouvier:

The message 'Alert: catching up on tile delete queue'
comes from the fact that 48 tiles are scheduled and
added to the cache at startup before the plane location
is initialized. My proposed patch is to initialize
SGLocation with an invalid position and detect this
fact before scheduling tiles. I prefer to do that
rather than testing for lon and lat being 0,0 because
it is a valid position and someone could want to fly
near Accra.

20 years agoFrederic Bouvier:
ehofman [Sat, 20 Mar 2004 22:38:13 +0000 (22:38 +0000)]
Frederic Bouvier:

This patch is for windows only. It hides the console window
until there is a message to print. It only support SG_LOG,
that I think is the right way to display something in FG.

20 years agoAnother Cygwin fix. This seems to take care of things proeprly.
ehofman [Thu, 18 Mar 2004 09:25:28 +0000 (09:25 +0000)]
Another Cygwin fix. This seems to take care of things proeprly.

20 years agoDisable deselecting the branch if it becomes translucent because it crashes the UFO.
ehofman [Wed, 17 Mar 2004 15:20:20 +0000 (15:20 +0000)]
Disable deselecting the branch if it becomes translucent because it crashes the UFO.

20 years agoRemove an unused library since FlightGear dropped support for WeatherCM. Users are...
ehofman [Wed, 17 Mar 2004 10:45:32 +0000 (10:45 +0000)]
Remove an unused library since FlightGear dropped support for WeatherCM. Users are highly encouraged to use environment/metar instead.

20 years agoAttempt to fix the Cygwin build problem for once and for all
ehofman [Wed, 17 Mar 2004 10:31:34 +0000 (10:31 +0000)]
Attempt to fix the Cygwin build problem for once and for all

20 years agoVarious changes in preparation for the 0.3.5 release.
curt [Wed, 17 Mar 2004 04:22:09 +0000 (04:22 +0000)]
Various changes in preparation for the 0.3.5 release.

20 years agoHopefully the last Cygwin fix
ehofman [Tue, 16 Mar 2004 14:25:15 +0000 (14:25 +0000)]
Hopefully the last Cygwin fix

20 years agoFurther refinement of the Cygwin problem as suggested by Frederic.
ehofman [Tue, 16 Mar 2004 09:39:22 +0000 (09:39 +0000)]
Further refinement of the Cygwin problem as suggested by Frederic.

20 years agoAttempt to fix a nasty Cygwin problem.
ehofman [Tue, 16 Mar 2004 09:24:14 +0000 (09:24 +0000)]
Attempt to fix a nasty Cygwin problem.

20 years agoLimmit the change in sun color due to visibility to a saner range.
ehofman [Fri, 12 Mar 2004 18:55:22 +0000 (18:55 +0000)]
Limmit the change in sun color due to visibility to a saner range.

20 years agoUse a more clever way to deselect a fully translucent leaf.
ehofman [Fri, 12 Mar 2004 17:38:57 +0000 (17:38 +0000)]
Use a more clever way to deselect a fully translucent leaf.

20 years agoUnselect the branch if the object has become fully translucent.
ehofman [Fri, 12 Mar 2004 10:09:09 +0000 (10:09 +0000)]
Unselect the branch if the object has become fully translucent.

20 years agoUpdate for non-conformal (older) compilers
ehofman [Fri, 12 Mar 2004 08:59:12 +0000 (08:59 +0000)]
Update for non-conformal (older) compilers

20 years agoMacOS X refinement
ehofman [Mon, 8 Mar 2004 08:59:58 +0000 (08:59 +0000)]
MacOS X refinement

20 years agoSilently ignore texture files that are not present.
ehofman [Sun, 7 Mar 2004 18:47:37 +0000 (18:47 +0000)]
Silently ignore texture files that are not present.

20 years agoMSVC .NET 2003 fix
ehofman [Sun, 7 Mar 2004 09:36:31 +0000 (09:36 +0000)]
MSVC .NET 2003 fix

20 years agoMacOS X 10.3 fix
ehofman [Sun, 7 Mar 2004 09:28:48 +0000 (09:28 +0000)]
MacOS X 10.3 fix

20 years agoWork around a limitation of gc_calc_course_dist(). When the start and end
curt [Wed, 3 Mar 2004 21:37:41 +0000 (21:37 +0000)]
Work around a limitation of gc_calc_course_dist().  When the start and end
points are too close together, this routine can return a course of "nan"
but the distance is valid.  Someday someone who understands the math should
rewrite the gc_calc_course_dist() routine so it is more robust, but for now
it's easiest to simply check for a nan result and code around the limitation.

20 years ago#define isnan _isnan for MSVC and Mingwin.
curt [Wed, 3 Mar 2004 21:35:38 +0000 (21:35 +0000)]
#define isnan _isnan for MSVC and Mingwin.

20 years agoRemove a typo
ehofman [Wed, 3 Mar 2004 20:06:28 +0000 (20:06 +0000)]
Remove a typo

20 years agoPut Curt's cloud movement fix back in
ehofman [Wed, 3 Mar 2004 20:05:18 +0000 (20:05 +0000)]
Put Curt's cloud movement fix back in

20 years agoMSVC .NET 2003 fix.
ehofman [Wed, 3 Mar 2004 19:59:44 +0000 (19:59 +0000)]
MSVC .NET 2003 fix.

20 years agoAdd const back in the function
ehofman [Wed, 3 Mar 2004 19:54:24 +0000 (19:54 +0000)]
Add const back in the function

20 years agoSome small fixes
ehofman [Wed, 3 Mar 2004 19:48:28 +0000 (19:48 +0000)]
Some small fixes

20 years agoA real MSVC fix this time
ehofman [Tue, 2 Mar 2004 15:18:18 +0000 (15:18 +0000)]
A real MSVC fix this time

20 years agoRevert the last change, MSVC still doesn't like it.
ehofman [Tue, 2 Mar 2004 14:58:58 +0000 (14:58 +0000)]
Revert the last change, MSVC still doesn't like it.

20 years agoMSVC fixes
ehofman [Tue, 2 Mar 2004 14:49:01 +0000 (14:49 +0000)]
MSVC fixes

20 years agoUse a round-robin scheme rather than returning a random textured state.
ehofman [Tue, 2 Mar 2004 13:28:12 +0000 (13:28 +0000)]
Use a round-robin scheme rather than returning a random textured state.

20 years agoMake it possible to define multiple texture for a material (multiple <texture> entrie...
ehofman [Tue, 2 Mar 2004 10:51:13 +0000 (10:51 +0000)]
Make it possible to define multiple texture for a material (multiple <texture> entries in the materials.xml file). The code can return a random texture, or a pre defined texture upon request (default is random)

20 years agoAdd front() methods SGQueue, SGLockedQueue, and SGBlockingQueue so that the
curt [Sat, 28 Feb 2004 18:51:20 +0000 (18:51 +0000)]
Add front() methods SGQueue, SGLockedQueue, and SGBlockingQueue so that the
can be used more interchangably with a regular STL queue.

20 years agoLoad submodels before animations, so that we can animate submodels.
david [Fri, 27 Feb 2004 03:30:01 +0000 (03:30 +0000)]
Load submodels before animations, so that we can animate submodels.

Allow submodels to be named when they are loaded.

20 years agoMelchior FRANZ:
ehofman [Thu, 26 Feb 2004 09:46:36 +0000 (09:46 +0000)]
Melchior FRANZ:

Add proxy support to the metar class. Authorization is untested, but everything else works. Martin will have to tell us ...

20 years agoMelchior FRANZ:
ehofman [Mon, 23 Feb 2004 20:07:20 +0000 (20:07 +0000)]
Melchior FRANZ:
Here are some updates for the metar class:

- support for empty visibility group
- support for 4-alnum IACO ids (rather than only 4-alpha)
- better diagnosis in exception messages
- check for 404 http response
- replace last constant by constants.h definition

20 years agoComment out an improperly written constructor.
curt [Mon, 23 Feb 2004 01:34:31 +0000 (01:34 +0000)]
Comment out an improperly written constructor.

20 years agoAn ugly hack to get MipsPro 7.4.1 working on IRIX 6
ehofman [Fri, 20 Feb 2004 16:07:51 +0000 (16:07 +0000)]
An ugly hack to get MipsPro 7.4.1 working on IRIX 6
.5.20 (Yuck)

20 years agoFix from Richard Harke for 64 bit systems. The reftag was left
andy [Fri, 20 Feb 2004 15:10:49 +0000 (15:10 +0000)]
Fix from Richard Harke for 64 bit systems.  The reftag was left
uninitialized by naNum().  If it happened to be constructing it on the
stack in a location previously occupied by a real reference, it would
generate a corrupt naRef.

20 years agoChanges to tke sky dome coloring
ehofman [Wed, 18 Feb 2004 14:33:16 +0000 (14:33 +0000)]
Changes to tke sky dome coloring

20 years agoRemove an extra sgSetVec call
ehofman [Tue, 17 Feb 2004 14:40:05 +0000 (14:40 +0000)]
Remove an extra sgSetVec call

20 years agoBe a little quieter at the default debug level.
david [Sat, 7 Feb 2004 21:36:20 +0000 (21:36 +0000)]
Be a little quieter at the default debug level.

20 years agoMove the new metar class from FlightGear to SimGear
ehofman [Mon, 2 Feb 2004 10:12:31 +0000 (10:12 +0000)]
Move the new metar class from FlightGear to SimGear

20 years agoYank the MSVC special handling. It turns out it was becuase "strlen"
andy [Sun, 1 Feb 2004 17:47:08 +0000 (17:47 +0000)]
Yank the MSVC special handling.  It turns out it was becuase "strlen"
has special voodoo in the parser.  That's much more cleanly handled by
renaming the function than by #ifdef'ing.

20 years agoFix a slight ambiguity in variable names.
curt [Sat, 31 Jan 2004 19:50:35 +0000 (19:50 +0000)]
Fix a slight ambiguity in variable names.

20 years agoActivate the driver fog workaround again. It doesn't seem to be solved yet.
ehofman [Thu, 29 Jan 2004 18:25:55 +0000 (18:25 +0000)]
Activate the driver fog workaround again. It doesn't seem to be solved yet.

20 years agoFrederic BOUVIER:
curt [Tue, 27 Jan 2004 15:55:47 +0000 (15:55 +0000)]
Frederic BOUVIER:

Win32 serial port communication fixes.

20 years agoMake sure all libraries are used to test for certain functions
ehofman [Tue, 27 Jan 2004 09:41:33 +0000 (09:41 +0000)]
Make sure all libraries are used to test for certain functions

20 years agoFix a mistake
ehofman [Mon, 26 Jan 2004 19:59:36 +0000 (19:59 +0000)]
Fix a mistake

20 years agoClean up the Pre-, and PostDraw functions a bit. Especially the glPushAttrib has...
ehofman [Sat, 24 Jan 2004 12:08:12 +0000 (12:08 +0000)]
Clean up the Pre-, and PostDraw functions a bit. Especially the glPushAttrib has had some attention. The NVidia hack is commented out for now.

20 years agoFix an initialization problem
ehofman [Mon, 19 Jan 2004 13:37:26 +0000 (13:37 +0000)]
Fix an initialization problem

20 years agoOops, I originally had ramped the vasi/papi color transition the wrong way.
curt [Fri, 16 Jan 2004 17:37:05 +0000 (17:37 +0000)]
Oops, I originally had ramped the vasi/papi color transition the wrong way.
So as you passed through the target glide slope from low to high it would
be colored: red -> white -> small range of transition to red -> white.
Now it goes the right way so you get: red -> smooth transition to -> white.
You can tell you are getting high if you see the bottom vasi start to turn
pink ... etc. etc. hopefully just like in real life.

20 years agoTry to prevent a devide by zero situation
ehofman [Thu, 15 Jan 2004 14:23:06 +0000 (14:23 +0000)]
Try to prevent a devide by zero situation

20 years agoDon't do any calculations when thay are not needed
ehofman [Thu, 15 Jan 2004 14:22:03 +0000 (14:22 +0000)]
Don't do any calculations when thay are not needed

20 years agoMake sure MispPro compilers < 7.4 still work
ehofman [Thu, 15 Jan 2004 14:21:31 +0000 (14:21 +0000)]
Make sure MispPro compilers < 7.4 still work

20 years agoThe emissive values just don't seem like the right thing to do. You suddenly
curt [Wed, 14 Jan 2004 18:02:58 +0000 (18:02 +0000)]
The emissive values just don't seem like the right thing to do.  You suddenly
see the dark side of the moon quite clearly, which usually isn't the case.

The rest of the moon still seems a bit oversaturated right now ...

20 years agoMake the vasi lights slightly larger/brighter.
curt [Fri, 9 Jan 2004 16:49:13 +0000 (16:49 +0000)]
Make the vasi lights slightly larger/brighter.

20 years agoUse the same coloring scheme for the moon and the sun, add a bit of light reflection...
ehofman [Fri, 9 Jan 2004 10:19:00 +0000 (10:19 +0000)]
Use the same coloring scheme for the moon and the sun, add a bit of light reflection to the moon

20 years agoUpdates to the alpha-test animation class
ehofman [Thu, 8 Jan 2004 10:38:29 +0000 (10:38 +0000)]
Updates to the alpha-test animation class

20 years agoUpdates to the alpha-test animation class
ehofman [Thu, 8 Jan 2004 10:25:23 +0000 (10:25 +0000)]
Updates to the alpha-test animation class

20 years agoFrederic Bouvier:
ehofman [Wed, 7 Jan 2004 09:07:57 +0000 (09:07 +0000)]
Frederic Bouvier:

The attached patch adds a new animation class, called SGAlphaTestAnimation, to enable alpha test in 3D models.
This will remove many artefact caused by painting order of translucent models, and I need it for an upcoming model. In addition, I added a min-factor and a max-factor to the range animation to modulate min-m, min-property, max-m or max-property.

20 years agoSmarter vasi coloring.
curt [Tue, 30 Dec 2003 07:04:05 +0000 (07:04 +0000)]
Smarter vasi coloring.

20 years agoTrack some additional data required for computing vasi/papi colors.
curt [Tue, 30 Dec 2003 05:53:50 +0000 (05:53 +0000)]
Track some additional data required for computing vasi/papi colors.

20 years agoGo with an all white texture for vasi/papi lights. We will vary the
curt [Tue, 30 Dec 2003 05:53:03 +0000 (05:53 +0000)]
Go with an all white texture for vasi/papi lights.  We will vary the
background color externally to change from white to red.

20 years agoAdd a number of Metar related constants
ehofman [Sat, 27 Dec 2003 13:41:02 +0000 (13:41 +0000)]
Add a number of Metar related constants