ca10cb2d37Weak excuse, but it's getting late. Do clipping right this time.
ehofman
2004-07-16 21:00:46 +00:00
c9854153f8Clip to volume to 1.0 if necessary.
ehofman
2004-07-16 20:36:01 +00:00
129e3c6326Tweaks in preparation for the 0.3.6-pre1 release.
curt
2004-07-14 22:01:15 +00:00
66996711aeMake sure that a directory name containing a '.' doesn't screw up the ::base() and ::extension() functions.
ehofman
2004-07-05 16:39:02 +00:00
8fe37cea51Remove the need to append a trailing / to the texture-path string.
ehofman
2004-07-05 13:40:37 +00:00
de64b6f267Allow the use of a <texture-path/> tag to specify the directory containing the textures for this model.
ehofman
2004-07-05 11:42:19 +00:00
9a9d9c7cc1Use #elif instead of #else if
ehofman
2004-07-03 11:16:53 +00:00
a7b35c6e22If we pass in a position or velocity of nan, openal will generate an assertion. Under rare circumstances we could encounter a non-cooperative external fdm that could trigger this condition. This patch catches the problem and returns rather than letting FG get killed.
curt
2004-07-01 19:05:37 +00:00
5034346b67Some small updates.
ehofman
2004-06-27 08:09:56 +00:00
661f64b902Work around a broken dlopen/dlclose Linux implementation.
ehofman
2004-06-27 07:49:40 +00:00
8390df37caAdd an 'add(str)' function that adds a search path separator and appends the str.
ehofman
2004-06-07 09:50:32 +00:00
371fc73f24Tweak the doppler effect.
ehofman
2004-06-04 16:59:12 +00:00
921dae5444Revert the previous patch. There was already a class availble that allows for that. It's just that the description doesn't explain too much.
ehofman
2004-05-28 08:42:59 +00:00
9b3abbec89Tweak the bump-mapped 2d cloud color a bit.
ehofman
2004-05-27 18:00:03 +00:00
6935baba5bAdd the possibillity to parse a user data pointer to getter and satter functions. This adds a convenient way to get the 'this' pointer to the static functions.
ehofman
2004-05-27 13:03:01 +00:00
dec1e32f96Use a different coloring scheme.
ehofman
2004-05-25 07:58:33 +00:00
710c2ccfcdMacOSX fix that never got applied before.
ehofman
2004-05-21 16:27:16 +00:00
331a4e4406I had overlooked a few memory allocation/deallocation issues for audio buffers. Hopefully this helps clean those up.
curt
2004-05-10 21:22:50 +00:00
e09164e5b3Robustify the SGTimerQueue destructor. There have been reports of crashes on deletion.
andy
2004-05-03 18:43:53 +00:00
de1a5f3034Add a destructor for SGEventMgr. We don't own the pointer, so we can't free it. Just zero it out.
andy
2004-05-03 18:39:25 +00:00
86e83faef3Changes to get SimGear to configure and compile out-of-the-box on a MinGW target:
andy
2004-04-30 00:44:04 +00:00
9f06c8df76Hopefully fix a chicken/egg linking problem for people who've never built or installed simgear before.
curt
2004-04-29 21:14:44 +00:00
6e511de7dbAdd support for specifying a positional offset relative to the listener. This allows us to "place" cockpit sounds. For example, we can make left engine sound come out of the left speaker, right engine out the right speaker, etc.
curt
2004-04-28 20:37:49 +00:00
e34aae9982Add default openal libs for cygwin.
curt
2004-04-28 19:19:05 +00:00
7d239fe4acExpose 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.
curt
2004-04-28 03:57:13 +00:00
cc43c745b2Add support for the MacOS variations of OpenAL.
curt
2004-04-25 01:48:08 +00:00
db8d961b27Add correct openal libs for MacOS.
curt
2004-04-25 01:41:24 +00:00
a0bdec2846Clamp pitch values rather than just dumping an error message.
curt
2004-04-24 19:47:42 +00:00
5bbcd386faRewrite 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.
curt
2004-04-24 19:02:29 +00:00
ab29063a97Frederic: The state selector was not referenced and got deleted as soon as the sky was rebuilt a second time with the metar code.
ehofman
2004-04-04 15:35:28 +00:00
c06ef23eb1Added more generated files.
david
2004-04-04 14:24:06 +00:00
7b2f7aa827Make sure GLuint is known.
ehofman
2004-04-04 13:46:26 +00:00
a616aa8e55Ignore generated files.
david
2004-03-23 19:03:40 +00:00
05b9166c25Fix 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.
andy
2004-03-23 00:42:56 +00:00
71770eb92eLet the cloud layers follow the earth's surface. If you want the clouds to touch the horizon, just increase the spaen.
ehofman
2004-03-22 21:31:24 +00:00
2089a2a956These test should not be needed when properly using OpnGL colors.
ehofman
2004-03-22 20:03:53 +00:00
8971a67acaAnother Cygwin fix. This seems to take care of things proeprly.
ehofman
2004-03-18 09:25:28 +00:00
5a343da5ccDisable deselecting the branch if it becomes translucent because it crashes the UFO.
ehofman
2004-03-17 15:20:20 +00:00
4c77c1691bRemove an unused library since FlightGear dropped support for WeatherCM. Users are highly encouraged to use environment/metar instead.
ehofman
2004-03-17 10:45:32 +00:00
aadff33011Attempt to fix the Cygwin build problem for once and for all
ehofman
2004-03-17 10:31:34 +00:00
25d7705379Various changes in preparation for the 0.3.5 release.
curt
2004-03-17 04:22:09 +00:00
867ba3c7daHopefully the last Cygwin fix
ehofman
2004-03-16 14:25:15 +00:00
3f08d9604eFurther refinement of the Cygwin problem as suggested by Frederic.
ehofman
2004-03-16 09:39:22 +00:00
5d813aa4d0Attempt to fix a nasty Cygwin problem.
ehofman
2004-03-16 09:24:14 +00:00
ce3a1ddcb0Limmit the change in sun color due to visibility to a saner range.
ehofman
2004-03-12 18:55:22 +00:00
e37752f957Use a more clever way to deselect a fully translucent leaf.
ehofman
2004-03-12 17:38:57 +00:00
40d920ddc9Unselect the branch if the object has become fully translucent.
ehofman
2004-03-12 10:09:09 +00:00
4362eb79e6Update for non-conformal (older) compilers
ehofman
2004-03-12 08:59:12 +00:00
f6c9af488bMacOS X refinement
ehofman
2004-03-08 08:59:58 +00:00
a34ac6a596Silently ignore texture files that are not present.
ehofman
2004-03-07 18:47:37 +00:00