Commit Graph

  • ca10cb2d37 Weak excuse, but it's getting late. Do clipping right this time. ehofman 2004-07-16 21:00:46 +00:00
  • c9854153f8 Clip to volume to 1.0 if necessary. ehofman 2004-07-16 20:36:01 +00:00
  • 129e3c6326 Tweaks in preparation for the 0.3.6-pre1 release. curt 2004-07-14 22:01:15 +00:00
  • 66996711ae Make 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
  • 8fe37cea51 Remove the need to append a trailing / to the texture-path string. ehofman 2004-07-05 13:40:37 +00:00
  • de64b6f267 Allow 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
  • 9a9d9c7cc1 Use #elif instead of #else if ehofman 2004-07-03 11:16:53 +00:00
  • a191e9762a Frederic Bouvier: ehofman 2004-07-03 10:59:00 +00:00
  • a7b35c6e22 If 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
  • 5034346b67 Some small updates. ehofman 2004-06-27 08:09:56 +00:00
  • 661f64b902 Work around a broken dlopen/dlclose Linux implementation. ehofman 2004-06-27 07:49:40 +00:00
  • bbc83f721c Frederic Bouvier: ehofman 2004-06-25 10:59:59 +00:00
  • 01f4541331 Ignore generated files. david 2004-06-15 12:47:52 +00:00
  • 0e4a894f62 Be a bit anoying (and a tad more descriptive) about OpenAL volume errors for some time. ehofman 2004-06-13 11:59:36 +00:00
  • 1c135a9b5b Frederic Bouvier: ehofman 2004-06-12 21:03:45 +00:00
  • e65c85ce73 Frederic Bouvier: ehofman 2004-06-07 18:49:32 +00:00
  • 26b58991f9 MingW fix. ehofman 2004-06-07 12:43:29 +00:00
  • 8390df37ca Add an 'add(str)' function that adds a search path separator and appends the str. ehofman 2004-06-07 09:50:32 +00:00
  • 371fc73f24 Tweak the doppler effect. ehofman 2004-06-04 16:59:12 +00:00
  • 921dae5444 Revert 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
  • 9b3abbec89 Tweak the bump-mapped 2d cloud color a bit. ehofman 2004-05-27 18:00:03 +00:00
  • 6935baba5b Add 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
  • dec1e32f96 Use a different coloring scheme. ehofman 2004-05-25 07:58:33 +00:00
  • 710c2ccfcd MacOSX fix that never got applied before. ehofman 2004-05-21 16:27:16 +00:00
  • 8e66e534ae mingw32 fix ehofman 2004-05-21 15:07:25 +00:00
  • 0f5f30b993 Updates from Frederic to use 2 texture units and a color blend function rather than 3 texture units. ehofman 2004-05-21 14:50:49 +00:00
  • b199f733f7 Frederic Bouvier: ehofman 2004-05-20 14:18:15 +00:00
  • 0cdcf3a3e0 Make sure there will be no previous declaration errors. ehofman 2004-05-20 14:02:40 +00:00
  • 8e09486e82 Patch from Frederic. Adds support for bump-mapped (multi textured) 2d clouds, includeing support code. ehofman 2004-05-20 13:24:48 +00:00
  • 0c24b78573 Fred: include more check against null pointers and a raise in log level for missing objects. ehofman 2004-05-15 12:45:51 +00:00
  • 1436be9699 Solve the endless loop problem for the DC-3 and prevent a potential segmentation fault. ehofman 2004-05-14 19:46:12 +00:00
  • 0489ad7c62 Add a function to globally set volume (aka AL_GAIN) curt 2004-05-14 15:47:01 +00:00
  • c553570533 Oops, fix a typo. curt 2004-05-11 22:39:21 +00:00
  • bda112297f Frederic Bouvier: curt 2004-05-11 22:21:24 +00:00
  • 331a4e4406 I 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
  • a9faf8ceff Frederic Bouvier: curt 2004-05-10 20:27:30 +00:00
  • 2866d1ace9 Frederic Bouvier: curt 2004-05-10 14:59:02 +00:00
  • 11a74f7a31 Frederic Bouvier: curt 2004-05-10 14:35:58 +00:00
  • 634a2035ee Add fast functions for exp2, pow, log2, root, sin/cos/tan, asin/acos/atan along with abs, neg and sgn. ehofman 2004-05-08 12:58:29 +00:00
  • ffada9257d Frederic Bouvier: ehofman 2004-05-07 16:42:59 +00:00
  • e09164e5b3 Robustify the SGTimerQueue destructor. There have been reports of crashes on deletion. andy 2004-05-03 18:43:53 +00:00
  • de1a5f3034 Add 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
  • 86e83faef3 Changes to get SimGear to configure and compile out-of-the-box on a MinGW target: andy 2004-04-30 00:44:04 +00:00
  • 9f06c8df76 Hopefully 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
  • 6e511de7db Add 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
  • e34aae9982 Add default openal libs for cygwin. curt 2004-04-28 19:19:05 +00:00
  • 675b388b8e Lower verbosity level. curt 2004-04-28 03:59:10 +00:00
  • 7d239fe4ac 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. curt 2004-04-28 03:57:13 +00:00
  • edd92caba1 Tweak default source audio parameters. curt 2004-04-27 21:11:21 +00:00
  • 5c3b4abf42 Expose some of the positional components of the OpenAL API. curt 2004-04-27 20:45:58 +00:00
  • d3a3466b14 Make sure the prototype definition of sleep() is found (at least for IRIX). ehofman 2004-04-27 08:59:31 +00:00
  • 4399383781 Oops, one addtional tweak. curt 2004-04-26 22:07:19 +00:00
  • bb383998bb Update the SoundSample api so we can request that a copy of the sample be kept in memory and accessible. curt 2004-04-26 22:02:14 +00:00
  • ffeb174ca1 Give these two methods slightly less misleading names. curt 2004-04-26 16:17:21 +00:00
  • a90d74dde8 David Luff: curt 2004-04-26 15:55:29 +00:00
  • 9d7fd79e76 Missed one fix for Mac OS. curt 2004-04-26 14:55:27 +00:00
  • 6f29d234eb Lower the verbosity in a couple other spots. curt 2004-04-25 02:30:52 +00:00
  • 6f5517f602 Lower verbosity. curt 2004-04-25 02:02:35 +00:00
  • cc43c745b2 Add support for the MacOS variations of OpenAL. curt 2004-04-25 01:48:08 +00:00
  • db8d961b27 Add correct openal libs for MacOS. curt 2004-04-25 01:41:24 +00:00
  • a0bdec2846 Clamp pitch values rather than just dumping an error message. curt 2004-04-24 19:47:42 +00:00
  • 5bbcd386fa 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. curt 2004-04-24 19:02:29 +00:00
  • 7657632024 Bernie Bright: curt 2004-04-22 12:39:16 +00:00
  • ab29063a97 Frederic: 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
  • c06ef23eb1 Added more generated files. david 2004-04-04 14:24:06 +00:00
  • 7b2f7aa827 Make sure GLuint is known. ehofman 2004-04-04 13:46:26 +00:00
  • 7113c10f4b Frederic Bouvier: ehofman 2004-04-04 13:41:53 +00:00
  • 14033946e5 Plib is willing callbacks to return 0, 1 or 2 and not simply a boolean ehofman 2004-04-02 19:48:50 +00:00
  • 6e0e056ca7 Fix an NVidia problem by moving the hack to another location. ehofman 2004-04-02 19:44:04 +00:00
  • 7aa4f0ccdb Frederic Bouvier: ehofman 2004-04-02 14:39:42 +00:00
  • 4b04450fa6 Frederic Bouvier: ehofman 2004-04-02 14:39:19 +00:00
  • ad81560be5 Frederic Bouvier: ehofman 2004-04-02 14:38:57 +00:00
  • 5c26faa20e Clean up several stray warnings that have accumulated. curt 2004-04-01 13:47:02 +00:00
  • bd85fa2457 Final 0.3.5 tweaks. RELEASE_0_3_5 curt 2004-03-26 21:07:15 +00:00
  • 430136fdc9 0.3.5.pre2 tweaks. RELEASE_0_3_5_pre2 curt 2004-03-24 00:19:59 +00:00
  • a616aa8e55 Ignore generated files. david 2004-03-23 19:03:40 +00:00
  • 05b9166c25 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. andy 2004-03-23 00:42:56 +00:00
  • 71770eb92e Let 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
  • 2089a2a956 These test should not be needed when properly using OpnGL colors. ehofman 2004-03-22 20:03:53 +00:00
  • 488efa2316 Tweaks for 0.3.5.pre1 release. RELEASE_0_3_5_pre1 curt 2004-03-22 19:12:23 +00:00
  • 44551dad2d Better color component sanity checking. curt 2004-03-22 19:12:07 +00:00
  • 00e0e72bca Frederic Bouvier: ehofman 2004-03-21 21:54:51 +00:00
  • a611b70087 Frederic Bouvier: ehofman 2004-03-20 22:41:40 +00:00
  • 757ed2dfe7 Frederic Bouvier: ehofman 2004-03-20 22:38:13 +00:00
  • 8971a67aca Another Cygwin fix. This seems to take care of things proeprly. ehofman 2004-03-18 09:25:28 +00:00
  • 5a343da5cc Disable deselecting the branch if it becomes translucent because it crashes the UFO. ehofman 2004-03-17 15:20:20 +00:00
  • 4c77c1691b Remove 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
  • aadff33011 Attempt to fix the Cygwin build problem for once and for all ehofman 2004-03-17 10:31:34 +00:00
  • 25d7705379 Various changes in preparation for the 0.3.5 release. curt 2004-03-17 04:22:09 +00:00
  • 867ba3c7da Hopefully the last Cygwin fix ehofman 2004-03-16 14:25:15 +00:00
  • 3f08d9604e Further refinement of the Cygwin problem as suggested by Frederic. ehofman 2004-03-16 09:39:22 +00:00
  • 5d813aa4d0 Attempt to fix a nasty Cygwin problem. ehofman 2004-03-16 09:24:14 +00:00
  • ce3a1ddcb0 Limmit the change in sun color due to visibility to a saner range. ehofman 2004-03-12 18:55:22 +00:00
  • e37752f957 Use a more clever way to deselect a fully translucent leaf. ehofman 2004-03-12 17:38:57 +00:00
  • 40d920ddc9 Unselect the branch if the object has become fully translucent. ehofman 2004-03-12 10:09:09 +00:00
  • 4362eb79e6 Update for non-conformal (older) compilers ehofman 2004-03-12 08:59:12 +00:00
  • f6c9af488b MacOS X refinement ehofman 2004-03-08 08:59:58 +00:00
  • a34ac6a596 Silently ignore texture files that are not present. ehofman 2004-03-07 18:47:37 +00:00
  • 3b3baa996b MSVC .NET 2003 fix ehofman 2004-03-07 09:36:31 +00:00
  • d6b81a9721 MacOS X 10.3 fix ehofman 2004-03-07 09:28:48 +00:00