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
ThorstenB
e55017bbfc
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.
2011-03-04 22:50:32 +01:00
Csaba Halasz
19636bda4e
Add missing META_Object to SGReaderWriterXMLOptions (needed for proper cloning)
2011-03-01 20:57:09 +01:00
Torsten Dreyer
83124e0c05
Don't depend on props.hxx
...
There is no reference to anything defined in props.hxx, so remove
the dependency here.
2011-02-27 20:35:44 +01:00
Torsten Dreyer
a079870bca
Add strutils::starts_with and strutils::ends_with
2011-02-20 15:29:06 +01:00
ThorstenB
ce71b8c1cf
Merge remote branch 'origin/releases/2.2.0' into next
2011-02-19 11:59:10 +01:00
ThorstenB
7b0c25f91e
#83 : John Denker: Set correct file modes
...
Sources shouldn't be executable.
2011-02-19 11:54:10 +01:00
Tim Moore
feab25d0be
Merge branch 'releases/2.2.0' into next
2011-02-17 11:40:47 +01:00
Tim Moore
956b4406d0
fix SGPagedLOD change for 2.8.3
...
One more try...
2011-02-17 11:39:52 +01:00
Tim Moore
3a0fbae4d9
Merge branch 'releases/2.2.0' into next
2011-02-16 16:54:35 +01:00
Tim Moore
f106dc2a29
don't assume that OSG 2.8.3 has PagedLOD options
...
I was confused by my git svn import of the OSG tree.
2011-02-16 16:47:33 +01:00
Tim Moore
252a539e69
Merge branch 'releases/2.2.0' into next
...
Conflicts:
simgear/scene/model/SGPagedLOD.cxx
2011-02-15 12:52:03 +01:00
Tim Moore
df6badfdd5
accomodate changes to osgDB::DatabasePager interface
...
The change was introduced in OSG SVN revision 12080. Note: that
revision has a bug that causes fgfs to crash. The bug is fixed in
revision 12170.
2011-02-15 12:41:23 +01:00
Torsten Dreyer
7479ae521c
Provide easy Tie() for indexed properties
2011-02-14 20:24:41 +01:00
ThorstenB
416fb94ae8
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.
2011-02-13 19:23:21 +01:00
Torsten Dreyer
3a620fe55d
Fix initial value for tied read-only properties
2011-02-12 14:46:58 +01:00
ThorstenB
5208750cdb
Ivan Ngeow: Fixed compile for FreeBSD platforms.
2011-02-11 18:50:20 +01:00
ThorstenB
c684f8f043
Ivan Ngeow: Fixed compile for FreeBSD platforms.
2011-02-11 18:49:01 +01:00
ThorstenB
73084863b7
Temporary warning when compiling against OSG 2.9.11.
...
Current OSG development isn't supported by FG yet, so add a
warning for now...
2011-02-06 20:34:52 +01:00
Torsten Dreyer
503310cdb8
Darn! Typo in vc90 project file
2011-02-06 16:37:48 +01:00
Torsten Dreyer
bda8d34c2b
Use tiedpropertylist.hxx in cmake and vc90
2011-02-06 16:35:15 +01:00
Torsten Dreyer
2ee87483f9
Move TiedPropertyList from flightgear to simgear
2011-02-06 15:05:50 +01:00
ThorstenB
9e04bf1ece
Temporary warning when compiling against OSG 2.9.11.
...
Current OSG development isn't supported by FG yet, so add a
warning for now...
2011-02-06 10:04:55 +01:00
Frederic Bouvier
29c8c9f989
Fix cppcheck performance warning : Prefer prefix ++/-- operators for non-primitive types.
2011-01-30 21:22:06 +01:00
Frederic Bouvier
1035e714ff
Deprecate VS2010 handmade project files now that we have Cmake
2011-01-28 19:03:38 +01:00
Frederic Bouvier
57fa022c9f
Cmake: fix non MSVC build
2011-01-28 14:51:15 +01:00
Frederic Bouvier
76c3f7bc8f
Cmake: support VS2010 and MSVC 64 bit
2011-01-28 14:46:05 +01:00
Torsten Dreyer
6d2646239e
Fix wrong difference calculation in SGExpression
2011-01-25 23:01:14 +01:00
Torsten Dreyer
c955e61ba7
Fix wrong difference calculation in SGExpression
2011-01-25 22:58:50 +01:00
Frederic Bouvier
c31a5279af
Cmake: restore its original name to the ephemeris library
2011-01-23 21:05:37 +01:00
ThorstenB
840780dc4a
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).
2011-01-20 19:39:33 +01:00
ThorstenB
02b3c37b9f
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).
2011-01-20 01:06:46 +01:00
Mathias Froehlich
d14fe813a9
Add the hla directory to the cmake build system.
2011-01-17 21:34:00 +01:00
Mathias Froehlich
44ff23b227
Add an initial implementation of a rti/hla dispatcher.
2011-01-17 21:33:45 +01:00
Mathias Froehlich
257459abc6
Add the new hla directory to the build system.
2011-01-17 21:33:33 +01:00
Torsten Dreyer
e988dc0e42
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().
2011-01-17 19:51:29 +01:00