ThorstenB
e17b3a753e
sound: fix "source" resource leak
...
Sound resources were eaten up when a sample could not be loaded.
Restores sound for aircraft attempting to use stereo files for sound effects.
However, when loading fails, sound code still tries to load the same file
again and again (always resulting in the same "stereo files not supported"
error), which slows down simulation.
2011-12-04 20:16:36 +01:00
ThorstenB
865b0a3e56
sound manager: report a few more errors
2011-12-04 17:10:58 +01:00
Frederic Bouvier
0d1ddc5f44
Fix a copy/paste typo in Effect depth attributes
2011-12-01 19:45:18 +01:00
ThorstenB
6780a0c8d4
Fixed lib64 auto-detection (again)
...
Reverting the "LIB_SUFFIX" change.
Assuming recent change was unintentional (otherwise let me know James! :) ).
2011-11-30 19:50:09 +01:00
James Turner
fee652d54a
Fix header installation for shared build
2011-11-30 09:45:32 +00:00
James Turner
42b7c48671
Move some OSG-dependant code into scene/util.
2011-11-29 10:23:09 +00:00
James Turner
75afee59c3
Get all the tests linking with shared-simgear, and duplicate the awkward core functions into a new file, pending a proper cleanup.
2011-11-28 23:22:43 +00:00
James Turner
ae3f718fe3
Fix naming of core library, get IO tests linking shared, and exclude OSG symbols from the core lib by setting headless mode.
2011-11-28 23:05:05 +00:00
James Turner
4b02335637
Build system tweaks to support SIMGEAR_SHARED building two libraries. Work in progress, does not link yet.
2011-11-28 22:43:57 +00:00
ThorstenB
7a52c2fa71
cmake: add option to disable building tests
2011-11-26 16:39:40 +01:00
ThorstenB
ec5d067d28
CMake: Proper support for lib vs lib64 installation
...
Determine name of library installation directory, i.e. "lib" vs "lib64",
which differs between all Debian-based vs all other Linux distros.
See cmake bug #11964 , http://cmake.org/gitweb?p=cmake.git;a=commit;h=126c993d
Also provide a script for older (<=2.8.4) cmake
2011-11-25 12:06:54 +01:00
Erik Hofman
3c9fec78fa
Slightly rearrange the buffer removing code. This should make sure the source is always stopped (required by the OpenAL spec) before a buffer is removed and added to the free source list.
2011-11-23 09:41:13 +01:00
Erik Hofman
0a08ee836c
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2011-11-20 19:08:04 +01:00
ThorstenB
5f804cb0eb
Add another subsystem group.
...
Sound subsystem wants to be the last in processing - so use a
separate group.
2011-11-20 15:50:56 +01:00
Erik Hofman
a0fd942048
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2011-11-20 10:19:52 +01:00
Frederic Bouvier
dad1577fe3
Update VS2008 project
2011-11-19 21:19:08 +01:00
ThorstenB
338f2311d4
Merge commit 'refs/merge-requests/17' of git://gitorious.org/fg/simgear into merge-requests/17
2011-11-19 15:25:22 +01:00
ThorstenB
27a1c0288b
Separate module to monitor (subsystem-)performance.
...
Move some code from the subsystem manager to a separate module.
Add module to evaluate performance and expose statistics to properties.
2011-11-19 15:24:43 +01:00
ThorstenB
dd45be518f
Improve error messages, report file name.
2011-11-17 21:26:02 +01:00
Christian Schmitt
a9c058ba9d
Allow 6-lights VASI as well (2 bars a 3 lights).
2011-11-17 17:19:58 +01:00
James Turner
3e07423778
Fix a std:: namespace issue on Windows.
2011-11-13 21:27:15 +00:00
James Turner
63ccb3df4c
std:: namespace fixes, and sink some code from the subsystem header into the implementation. (Hopefully more to follow)
2011-11-13 20:34:39 +00:00
James Turner
906ef85d90
using std:: fix
2011-11-13 20:33:25 +00:00
Frederic Bouvier
895edf4f17
Fix MSVC build
2011-11-13 20:06:39 +01:00
Mathias Froehlich
ff1c035d42
Use osgDB::read*File instead of dereferencing the osgDB Registry instance.
2011-11-13 18:35:18 +01:00
Mathias Froehlich
f61fe80f60
Consolidate the different ReaderWriterOptions classes.
2011-11-13 18:35:18 +01:00
ThorstenB
dfbdcc1bf0
Replace OpenThreads with SGThread to avoid useless OSG dependency.
...
Untangle SG subsystems by replacing direct TileCache call with callback.
2011-11-13 15:37:49 +01:00
ThorstenB
b09636f5ca
Fixed typo.
2011-11-10 22:08:23 +01:00
Erik Hofman
8727e609f0
Also stop the source if it is paused when exit.
2011-11-10 12:52:17 +01:00
Erik Hofman
40fc2907a1
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2011-11-10 10:29:07 +01:00
Martin Spott
81fd5535fc
OpenSceneGraph 3.0 required
2011-11-09 13:55:49 +01:00
Mathias Froehlich
ad079b8ed4
modellib: Add method for deferred model loading.
...
Add method that schedules a ProxyNode to do
just deferred model loading instead of full scenery paging.
Add support for ProxyNodes to CheckSceneryVisitor.
Use PagedLOD instead of our own derived method.
2011-11-08 21:31:18 +01:00
PSadrozinski
a543560f7d
Adding Icecode GL's polygon-offset support for effects
2011-11-06 09:47:29 -05:00
Erik Hofman
bb2cc6ef2d
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2011-11-05 11:41:07 +01:00
Mathias Froehlich
977f23f0e7
Remove automake ignores.
2011-11-01 13:53:29 +01:00
James Turner
24c047c94e
Remove the remaining Makefiles from the code.
2011-11-01 09:28:26 +00:00
James Turner
22b4aa4d8b
Remove the automake / autoconf build files.
2011-11-01 09:26:22 +00:00
Erik Hofman
110753e92c
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2011-10-30 10:40:00 +01:00
Mathias Froehlich
be70656745
Add a HLADataElementVisitor implementation.
2011-10-30 10:23:59 +01:00
James Turner
d36e13e8ed
Make tiedpropertylist quieter.
2011-10-30 07:55:44 +00:00
James Turner
2e9896a9ab
Enhancements to property-object support, add a default ctor and some typedefs.
2011-10-30 07:55:29 +00:00
Csaba Halasz
ee06ec0c40
terrasync build fix: added #include <string.h> for strlen
2011-10-30 02:14:27 +02:00
ThorstenB
aa0e3e3c9f
#453 : Using = as Nasal function argument crashes FG
...
Keep Nasal parser from crashing when "=" function misses a left-hand
element, i.e. when parsing "sin(=)".
(Or do people writing such terrible syntax deserve a crash? ;-) ).
2011-10-29 21:20:46 +02:00
ThorstenB
3477e1a4f5
terrasync improvements
...
Detach from console to make "Ctrl-C" work for fgfs on Linux.
Immediately start synchronization of current position when
starting at run-time.
2011-10-29 21:15:29 +02:00
ThorstenB
a4b788980c
Fix terrasync airport synchronization sequence
...
Airport A-J were skipped. Thanks to James for spotting this.
Also corrects actual sync order.
2011-10-29 21:13:12 +02:00
James Turner
519a843340
Move ALUT 1.0 variables inside the #ifdef, to avoid some compiler warnings.
2011-10-29 11:06:24 +01:00
Mathias Froehlich
269299d913
Remove sg_sleep.*.
2011-10-28 19:11:43 +02:00
Mathias Froehlich
cc4b16b50d
Fix mac build.
2011-10-28 19:10:20 +02:00
Mathias Froehlich
d10bcc8a53
Hopefully fix jenkins build.
2011-10-28 19:05:46 +02:00
Mathias Froehlich
92db9682e0
Make use of SGTimeStamp::sleep*.
2011-10-28 18:45:23 +02:00