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.
ThorstenB [Sun, 13 Feb 2011 18:23:21 +0000 (19:23 +0100)]
Clear tile cache on (re-)init.
Clearing the cache was disabled to avoid scenery reloading on sim resets,
which is now avoided elsewhere (in FG).
Cache cleaning is now needed to support new option for complete scenery
reloading.
ThorstenB [Thu, 20 Jan 2011 00:06:46 +0000 (01:06 +0100)]
Another place to catch SG exceptions.
SGBinding::fire needs to catch, otherwise exceptions in the event handler
context cause an FG exit (fixes a crash with the route manager dialog).
ThorstenB [Thu, 20 Jan 2011 00:06:46 +0000 (01:06 +0100)]
Another place to catch SG exceptions.
SGBinding::fire needs to catch, otherwise exceptions in the event handler
context cause an FG exit (fixes a crash with the route manager dialog).
Torsten Dreyer [Mon, 17 Jan 2011 18:51:29 +0000 (19:51 +0100)]
Fix bug in SGMisc<T>:: normalizePeriodic()
SGMisc<T>::normalizePeriodic(min,max,value) returned zero for
all values less than min.
Example:
A call of normalizePeriodic(0,twopi(),-pi()) returned zero
where the correct value would be 3*pi().
Torsten Dreyer [Fri, 7 Jan 2011 21:43:46 +0000 (22:43 +0100)]
Add <expression> to animations
Allow complex animation expressions
Example: translate along the y-axis following a sin
function.
<animation>
<type>translate</type>
<axis>
<y>1</y>
</axis>
<expression>
<sin>
<product>
<property>/some/position-norm</property>
<value>6.28</value>
</product>
</sin>
</expression>
</animation>
Tim Moore [Wed, 29 Dec 2010 17:09:23 +0000 (18:09 +0100)]
Issue 110: fix pick animation interaction with effects
Set OVERRIDE and PROTECTED attributes on pick animation state
attributes. Set up attributes and add a colorMode uniform so that the
default shader will take color and alpha values from the
material. Also, add a DotOsg writer method for ConditionNode.