ThorstenB
76fcad0a0b
Bad boundary check. Add missing parentheses.
2011-06-22 09:16:27 +02:00
ThorstenB
cc06799838
fix #353 : svn doesn't like stray path separators
2011-06-20 22:46:46 +02:00
ThorstenB
8a26c382a2
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.
2011-06-20 22:10:07 +02:00
ThorstenB
22198d8bd2
Improve external SVN support.
...
Support white-space paths when calling external SVN utility.
Support optional configuration of absolute path to SVN utility.
2011-06-20 22:05:37 +02:00
Frederic Bouvier
d534dcadfb
Compile built-in svn in MSVC if 32-bit target is selected
2011-06-15 08:13:37 +02:00
ThorstenB
708ae35068
Melchior FRANZ: fix SGPropertyNode::LAST_USED_ATTRIBUTE
...
fixes commit c782a32076
,
(also see 38494a48d8
:) )
2011-06-14 21:49:42 +02:00
ThorstenB
50cea4f64e
Csaba Halasz: fix SGTimerQueue so tasks can remove themselves properly
...
fixes commit c033979130
2011-06-13 14:13:48 +02:00
ThorstenB
c782a32076
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.
2011-06-12 20:32:13 +02:00
ThorstenB
edc877442f
Add optional attribute condition to "copyProperties".
...
Option to only copy properties with specific attribute values.
Default is copy all (as before).
2011-06-12 13:41:38 +02:00
ThorstenB
a1fe0f6305
Make some properties read-only to avoid sim-reset issues.
...
Do not loose internal statistics/state on sim-reset
2011-06-12 13:31:23 +02:00
ThorstenB
cb5aee9fa4
Add missing CMake module for built-in svn-client support.
...
Thanks to Martin for spotting this.
2011-06-12 10:08:16 +02:00
ThorstenB
9b18b14f11
Added missing terrsync make+header files...
2011-06-11 23:58:00 +02:00
ThorstenB
0fd7bb8d3f
Convert terrasync into a subsystem.
...
Fixed scenery tile refresh method.
Simgear automake makefiles with libsvn detection.
Simgear CMake support for libsvn (may not work :) )
2011-06-11 23:22:26 +02:00
ThorstenB
c836018ac7
Copied original terrasync sources
2011-06-11 22:55:57 +02:00
ThorstenB
ba678eabdc
Add method to reload specific scenery tiles.
2011-06-09 22:24:08 +02:00
ThorstenB
9442d3d0f3
Added guarded blocking deque class.
...
So, what are we going to do with it... ;-)
2011-06-08 23:39:24 +02:00
Mathias Froehlich
9f0313dd0b
Do not crash on exporting some EffectGeodes.
2011-06-08 13:42:30 +02:00
ThorstenB
3d109f9c4c
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.
Signed-off-by: Andy Ross
2011-06-02 10:05:10 +02:00
Torsten Dreyer
f8a337fb9f
gcc warning fix: remove unused variable
2011-05-31 15:53:25 +02:00
ThorstenB
3c0966279c
fixed #260 : Scale animation also scales color
...
Added missing normalization. Thanks to Lauri for analysing this.
2011-05-29 18:40:19 +02:00
ThorstenB
c033979130
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)
2011-05-28 23:09:06 +02:00
Torsten Dreyer
c828961327
Merge branch 'next' of gitorious.org:fg/simgear into next
2011-05-28 10:20:03 +02:00
Torsten Dreyer
83a95a0488
(Re)fix bug #285 , textranslate broken
...
Due to fingertrouble, I removed the check for _step == 0 which
this patch re-adds.
Also, make this function look more like a template by not using
0.0 - constants.
2011-05-28 10:17:19 +02:00
ThorstenB
f3c131ffaf
Minor compiler version detection issue.
...
Well, almost prepared for gcc 5.0 now ;-).
2011-05-27 22:30:43 +02:00
Torsten Dreyer
b06e38699a
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.
2011-05-27 21:06:06 +02:00
Torsten Dreyer
3a07e2fe21
ignore cmake generated files
2011-05-25 19:21:08 +02:00
Torsten Dreyer
ca668f8a37
Fix bug #285 textranslate and scroll animation with negative numbers
...
rewrite SGStepExpression::apply_mods so it creates the same step
for negative numbers as it does for positive numbers.
2011-05-25 19:14:09 +02:00
James Turner
5181aecc7b
Port version-defined-in-a-file logic over from fg.
2011-05-21 14:56:10 +01:00
James Turner
0e92cfbd0d
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.
2011-05-21 14:12:31 +01:00
Stuart Buchanan
60c7507a33
Fix 3D cloud elevation
2011-05-14 21:13:05 +01:00
ThorstenB
c7c3fae5c2
Also remove visual_enviro.cxx from the VC90 build.
2011-05-07 19:40:01 +02:00
Mathias Froehlich
4acbb2a312
Also remove visual_enviro.cxx from the cmake build system.
2011-05-07 18:32:44 +02:00
Torsten Dreyer
4e6159aa07
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.
2011-05-06 14:10:04 +02:00
Torsten Dreyer
6a1d05646c
fix typo
2011-05-06 13:07:21 +02:00
Curtis L. Olson
2e05043f43
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.
2011-05-03 13:24:57 -05:00
Frederic Bouvier
1b8216e911
Consistency fix - remove a warning under MSVC
2011-04-26 20:42:42 +02:00
Frederic Bouvier
a2121b86df
Compile under MSVC
2011-04-26 19:45:40 +02:00
Torsten Dreyer
1cd17e9edd
Improvements to the global 3D clouds system
...
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.
(https://gitorious.org/fg/flightgear/merge_requests/1554 )
2011-04-23 20:56:28 +02:00
Erik Hofman
5229f5a13c
Lauri Peltonen's patch to increase the number of rings and bands of the sky dome
2011-04-16 11:32:34 +02:00
Torsten Dreyer
4ff014d275
Add multicast support for sockets
2011-04-13 18:43:28 +02:00
ThorstenB
83243f471a
Enable OSG cache (default) and option to disable.
...
(also requires flightgear update)
2011-04-03 18:56:09 +02:00
ThorstenB
3c0c51a946
Minor event manager clean-up/simplification.
...
(Mainly disliked the "delete this;" concept :) ).
2011-04-03 18:22:39 +02:00
ThorstenB
08ad449774
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.
2011-03-23 23:12:13 +01:00
ThorstenB
eae1b99036
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)
2011-03-23 22:30:42 +01:00
ThorstenB
44f27b23d0
Avoid some memory leaks in derived classes due to non-virtual destructors.
2011-03-19 14:50:18 +01:00
ThorstenB
92c83bc280
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".
2011-03-19 14:48:58 +01:00
ThorstenB
10bbd435b7
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 :)
2011-03-07 19:32:20 +01:00
ThorstenB
2ef8672a6b
Change cloudfield::addCloud interface,
...
so it's more obvious that "addCloud" won't keep a reference to SGNewCloud.
2011-03-07 19:26:37 +01:00
ThorstenB
a22dd264cd
Replace occurrences of osgDB::findDataFile with SGModelLib wrapper
...
which considers separate aircraft dirs (--fg-aircraft).
2011-03-06 22:38:44 +01:00
ThorstenB
baf5116841
Merge remote branch 'origin/releases/2.2.0' into next
2011-03-04 22:52:21 +01:00