#232: resurrect the "point sprites for runway lights" switch
Automatic GL/OSG feature detection still not working, since we don't have
a "context" - but at least the manual switch works (on start-up only).
James Turner [Sat, 30 Jul 2011 09:48:37 +0000 (10:48 +0100)]
Clean header dependencies of condition.hxx - introduce a new header, propsfwd.hxx, for common case of headers that only need SGPropertyNode_ptr and SGCondition_ptr
version.h is generated by the build system for official builds of
FlightGear. To avoid complicating the life of regular developers,
especially on Windows, we set HAVE_VERSION_H if version.h is generated.
If that define is not set, we include this file instead, which provides
placeholder values instead.
Clean solution for locale problem.
Changing and reverting the locale isn't thread-safe. Instead, setup the
environment to ensure the active locale sticks to default "C" locale at
any time.
ThorstenB [Sat, 25 Jun 2011 22:36:19 +0000 (00:36 +0200)]
#348: Missing model/texture files not reported properly
Whenever resolving a (relative) path to an absolute path with
'findDataFile', check if the result is empty and report original
(relative) path as missing. Otherwise no or a meaningless message is
issued ("File '' not found.").
ThorstenB [Mon, 20 Jun 2011 20:10:07 +0000 (22:10 +0200)]
Improve error handling and avoid refresh nuisances.
Ignore errors due to missing (ocean-)scenery data on SVN server.
For now, only refresh scenery tiles when ocean is replaced by actual
scenery data after download.
ThorstenB [Mon, 20 Jun 2011 20:05:37 +0000 (22:05 +0200)]
Improve external SVN support.
Support white-space paths when calling external SVN utility.
Support optional configuration of absolute path to SVN utility.
ThorstenB [Sun, 12 Jun 2011 18:32:13 +0000 (20:32 +0200)]
Introduce "PRESERVE" flag to protect properties on sim reset.
Some specific properties need protection and shouldn't be restored to their
original values on sim-reset.
ThorstenB [Sat, 11 Jun 2011 21:22:26 +0000 (23:22 +0200)]
Convert terrasync into a subsystem.
Fixed scenery tile refresh method.
Simgear automake makefiles with libsvn detection.
Simgear CMake support for libsvn (may not work :) )
ThorstenB [Thu, 2 Jun 2011 08:05:10 +0000 (10:05 +0200)]
fix #314: Nasal not working on i386/32bit systems with gcc>=4.5.x
Change magic Nasal reftag to encode a quiet NaN (qNaN) instead of a
signaling NaN (sNaN), since sNaNs cannot pass cleanly through an FPU
(an sNaN is always converted to a qNaN, even by simple FPU load/store
instructions). gcc 4.5.x uses float load/store operations more
aggressively to move our 64bit Nasal variables (naRef) around.
ThorstenB [Sat, 28 May 2011 21:09:06 +0000 (23:09 +0200)]
screen shot fixes (issue #127 related)
Provide proper return status when screen grabbing.
Allow tasks to remove themselves (return task entries to the queue _before_
executig them)
Torsten Dreyer [Fri, 27 May 2011 19:06:06 +0000 (21:06 +0200)]
Make multicast sockets work under windows
msdn article 737550 states that "the preferred method is to call the
bind function to associate a socket with a local IP address and then
join the multicast group. Although this order of operations is not
mandatory, it is strongly recommended".
Since binding to the multicast address seems to fail, let's try binding
to INADDR_ANY and joint thereafter.
James Turner [Sat, 21 May 2011 13:12:31 +0000 (14:12 +0100)]
Bump Simgear version to 2.3.0 - should have been done after 2.2.0 was branched, oops. Will refactor this lot to use a single 'version' file like FG, soon.
Torsten Dreyer [Fri, 6 May 2011 12:10:04 +0000 (14:10 +0200)]
Remove unused class SGEnviro
This class and their source files visual_enviro.[h|c]xx were
unused since OSG transition. It's only functionality was to
keep a variable for the enable-state of rendering of precipitation.
This has now been moved to SGPrecipitation.
Curtis L. Olson [Tue, 3 May 2011 18:24:57 +0000 (13:24 -0500)]
Fix a crash on exit. The SGEnviro destructor was attempting to delete an
object that had already been deleted by the sound manager. Since SGEnviro
doesn't own this object, I removed the delete from it's destructor.
Stuart Buchanan:
Improvements to the global 3D clouds system
- clouds now move with the wind
- bug causing cloud coverage to be less than it should have been fixed
- support for adding 3D clouds with an fg_command.
ThorstenB [Wed, 23 Mar 2011 22:12:13 +0000 (23:12 +0100)]
Improve subsystem manager's timing statistics
Option to print statistics at run-time.
Convenient filter parameters to show subsystems with jitter or excessive
execution time only.
ThorstenB [Wed, 23 Mar 2011 21:30:42 +0000 (22:30 +0100)]
Keep PropertyList outside global namespace
Avoids conflict with FG's GUI widget "PropertyList"...
(don't use "using..." in header files since namespaces become useless then)
ThorstenB [Sat, 19 Mar 2011 13:48:58 +0000 (14:48 +0100)]
Avoid nuisance sounds in initial update loop.
Stop all "in-transit" sounds effects from triggering in the first update
loop when their initial property value is "1".
ThorstenB [Mon, 7 Mar 2011 18:32:20 +0000 (19:32 +0100)]
Catch dangling property ties.
It's bad when tied properties are not untied before removing the tied property list.
We could try to "untie" the properties in the destructor - but that usually
caused weird mem access errors, since the tied properties will access
a no longer existing object (the very object whose destruction called the
TiedPropertyList destructor...). => so just add a warning and a nagging trap :)
ThorstenB [Fri, 4 Mar 2011 21:50:32 +0000 (22:50 +0100)]
Fix TextureBuilder to work with --fg-aircraft dirs.
Avoid direct use of osgDB to search for files. Using SGModelLib
instead to also search fg-aircraft dirs.