]> git.mxchange.org Git - simgear.git/log
simgear.git
13 years agofix SGPagedLOD change for 2.8.3
Tim Moore [Thu, 17 Feb 2011 10:39:52 +0000 (11:39 +0100)]
fix SGPagedLOD change for 2.8.3

One more try...

13 years agodon't assume that OSG 2.8.3 has PagedLOD options
Tim Moore [Wed, 16 Feb 2011 15:46:24 +0000 (16:46 +0100)]
don't assume that OSG 2.8.3 has PagedLOD options

I was confused by my git svn import of the OSG tree.

13 years agoaccomodate changes to osgDB::DatabasePager interface
Tim Moore [Tue, 15 Feb 2011 11:28:03 +0000 (12:28 +0100)]
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.

13 years agoIvan Ngeow: Fixed compile for FreeBSD platforms.
ThorstenB [Fri, 11 Feb 2011 17:49:01 +0000 (18:49 +0100)]
Ivan Ngeow: Fixed compile for FreeBSD platforms.

13 years agoTemporary warning when compiling against OSG 2.9.11.
ThorstenB [Sun, 6 Feb 2011 09:04:55 +0000 (10:04 +0100)]
Temporary warning when compiling against OSG 2.9.11.
Current OSG development isn't supported by FG yet, so add a
warning for now...

13 years agoFix wrong difference calculation in SGExpression
Torsten Dreyer [Tue, 25 Jan 2011 21:58:50 +0000 (22:58 +0100)]
Fix wrong difference calculation in SGExpression

13 years agoAnother place to catch SG exceptions.
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).

13 years agoFix bug in SGMisc<T>:: normalizePeriodic()
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().

13 years agoOlaf Flebbe: Decrease required OSG version.
James Turner [Thu, 13 Jan 2011 22:14:37 +0000 (22:14 +0000)]
Olaf Flebbe: Decrease required OSG version.

13 years agoMSVC fix: deambiguiate function calls
Frederic Bouvier [Sat, 8 Jan 2011 13:55:22 +0000 (14:55 +0100)]
MSVC fix: deambiguiate function calls

13 years agoSGExpression bugfix: allow <sin> within <product>
Torsten Dreyer [Sat, 8 Jan 2011 12:06:25 +0000 (13:06 +0100)]
SGExpression bugfix: allow <sin> within <product>

13 years agoAdd <expression> to animations
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>

13 years agoRemove the dependency to boost serialization
Frederic Bouvier [Wed, 5 Jan 2011 08:54:50 +0000 (09:54 +0100)]
Remove the dependency to boost serialization

13 years agoMerge branch 'next' of gitorious.org:fg/simgear into next
Curtis L. Olson [Mon, 3 Jan 2011 13:55:45 +0000 (07:55 -0600)]
Merge branch 'next' of gitorious.org:fg/simgear into next

13 years agoUpdate simgear version number to keep pace with FlightGear.
Curtis L. Olson [Mon, 3 Jan 2011 13:54:31 +0000 (07:54 -0600)]
Update simgear version number to keep pace with FlightGear.

13 years agoBetter MSVC Boost serialization fix from Olaf
James Turner [Mon, 3 Jan 2011 09:48:31 +0000 (09:48 +0000)]
Better MSVC Boost serialization fix from Olaf

13 years agoCmake: use build postfix
Frederic Bouvier [Sun, 2 Jan 2011 18:44:04 +0000 (19:44 +0100)]
Cmake: use build postfix

13 years agoCmake: Right way to search for include files
Frederic Bouvier [Sun, 2 Jan 2011 17:45:14 +0000 (18:45 +0100)]
Cmake: Right way to search for include files

13 years agoCmake: MSVC_3RDPARTY_DIR is a path, not an option
Frederic Bouvier [Sun, 2 Jan 2011 17:01:57 +0000 (18:01 +0100)]
Cmake: MSVC_3RDPARTY_DIR is a path, not an option

13 years agoCmake: 3RDPARTY_DIR fixes from Olaf Flebbe
James Turner [Sat, 1 Jan 2011 21:06:43 +0000 (21:06 +0000)]
Cmake: 3RDPARTY_DIR fixes from Olaf Flebbe

13 years agohandle NCD (nil clouds detected) in METAR
Torsten Dreyer [Fri, 31 Dec 2010 12:31:09 +0000 (13:31 +0100)]
handle NCD (nil clouds detected) in METAR

13 years agoMerge remote branch 'gitorious/next' into next
Tim Moore [Wed, 29 Dec 2010 17:12:56 +0000 (18:12 +0100)]
Merge remote branch 'gitorious/next' into next

13 years agocmake improvements for shared library build
Tim Moore [Wed, 29 Dec 2010 17:12:44 +0000 (18:12 +0100)]
cmake improvements for shared library build

13 years agoIssue 110: fix pick animation interaction with effects
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.

13 years agoUninstall support, pinched from OSG.
James Turner [Tue, 28 Dec 2010 13:38:05 +0000 (13:38 +0000)]
Uninstall support, pinched from OSG.

13 years agoMSVC improvements from Olaf Flebbe.
James Turner [Tue, 28 Dec 2010 13:32:54 +0000 (13:32 +0000)]
MSVC improvements from Olaf Flebbe.

13 years agoset data variance to DYNAMIC for animated effect attributes
Tim Moore [Sun, 26 Dec 2010 17:34:00 +0000 (18:34 +0100)]
set data variance to DYNAMIC for animated effect attributes

13 years ago64-bit compatability tweak from papillion
James Turner [Mon, 20 Dec 2010 14:46:53 +0000 (14:46 +0000)]
64-bit compatability tweak from papillion

13 years agoCreate version.h during SimGear CMake build
James Turner [Sun, 19 Dec 2010 19:08:14 +0000 (19:08 +0000)]
Create version.h during SimGear CMake build

13 years agoInitial work on CMake support for SimGear.
James Turner [Fri, 26 Nov 2010 10:04:54 +0000 (10:04 +0000)]
Initial work on CMake support for SimGear.

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Mon, 13 Dec 2010 17:40:39 +0000 (18:40 +0100)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoRemove unused files
Erik Hofman [Mon, 13 Dec 2010 17:40:08 +0000 (18:40 +0100)]
Remove unused files

13 years agometar: add string constants for cloud coverages
Torsten Dreyer [Sun, 12 Dec 2010 21:18:10 +0000 (22:18 +0100)]
metar: add string constants for cloud coverages

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Sun, 12 Dec 2010 19:23:08 +0000 (20:23 +0100)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoUpdate the bad-doppler test and simplify it to only test for bad platforms.
Erik Hofman [Sun, 12 Dec 2010 13:07:44 +0000 (14:07 +0100)]
Update the bad-doppler test and simplify it to only test for bad platforms.

13 years agoCompilation fix: add missing #include to SGPagedLod.cxx, needed by OSG 2.9.11
Csaba Halasz [Sat, 11 Dec 2010 23:23:06 +0000 (00:23 +0100)]
Compilation fix: add missing #include to SGPagedLod.cxx, needed by OSG 2.9.11

13 years agoMake the max. opacity of a 2d cloud settable
Torsten Dreyer [Thu, 9 Dec 2010 08:06:40 +0000 (09:06 +0100)]
Make the max. opacity of a 2d cloud settable

13 years agoMetar: symbolic cloudnames and phenomena exposure
Torsten Dreyer [Sat, 4 Dec 2010 11:02:38 +0000 (12:02 +0100)]
Metar: symbolic cloudnames and phenomena exposure

- use symbolic names for scattered, broken, overcast, etc. cloud
coverages.
- better approach to expose weather phenomena to the interface

13 years agoExpose weather phenomena to the SGMetar interface
Torsten Dreyer [Sat, 27 Nov 2010 20:04:04 +0000 (21:04 +0100)]
Expose weather phenomena to the SGMetar interface

13 years agosimgear/scene/sky/sky.cxx: Include sg_inlines.h with simgear/ prefix as all other...
Anders Gidenstam [Fri, 26 Nov 2010 20:49:30 +0000 (21:49 +0100)]
simgear/scene/sky/sky.cxx: Include sg_inlines.h with simgear/ prefix as all other simgear includes.

13 years agoMake visibility within cloudlayers settable
Torsten Dreyer [Fri, 26 Nov 2010 18:24:44 +0000 (19:24 +0100)]
Make visibility within cloudlayers settable

13 years agoUpdate VS2010 projects
Frederic Bouvier [Sat, 20 Nov 2010 20:42:10 +0000 (21:42 +0100)]
Update VS2010 projects

13 years agoUpdate VS2010 projects
Frederic Bouvier [Sat, 20 Nov 2010 13:23:20 +0000 (14:23 +0100)]
Update VS2010 projects

13 years agoCompile PropertyObject under Windows
Frederic Bouvier [Sat, 20 Nov 2010 13:20:35 +0000 (14:20 +0100)]
Compile PropertyObject under Windows

13 years agoBuild propertyObject on MSVC2008
James Turner [Sat, 20 Nov 2010 13:08:01 +0000 (13:08 +0000)]
Build propertyObject on MSVC2008

13 years agoPropertyObject ::create tests.
James Turner [Sat, 20 Nov 2010 12:25:11 +0000 (04:25 -0800)]
PropertyObject ::create tests.

13 years agoShrink PropertyObjectBase by a pointer, don't pull exception header into the header.
James Turner [Sat, 20 Nov 2010 11:31:42 +0000 (03:31 -0800)]
Shrink PropertyObjectBase by a pointer, don't pull exception header into the header.

13 years agoPropertyObject enhancements, unit-test for make check
James Turner [Sat, 20 Nov 2010 10:49:04 +0000 (02:49 -0800)]
PropertyObject enhancements, unit-test for make check

13 years agoA sum without diff is like foo without bar
Torsten Dreyer [Sat, 20 Nov 2010 10:05:45 +0000 (11:05 +0100)]
A sum without diff is like foo without bar

Add a <difference> aka <diff> to SGExpression to compute
differences

13 years agoCurrent timestamps for forced scenery loading.
ThorstenB [Fri, 19 Nov 2010 12:39:20 +0000 (13:39 +0100)]
Current timestamps for forced scenery loading.
Priorities during forced model loads won't work unless using current framestamps...

13 years agoFixed invalid character in source file.
ThorstenB [Fri, 19 Nov 2010 12:36:50 +0000 (13:36 +0100)]
Fixed invalid character in source file.
Removed illegal character (0xc). How did this happen???

13 years agoImproved tile cache priority scheme.
ThorstenB [Fri, 19 Nov 2010 12:33:12 +0000 (13:33 +0100)]
Improved tile cache priority scheme.
Use priorities for loading/unloading.
Maintain an expiry time for each tile.
Replaced "cache lock" by "current view" flag.

13 years agoMerge branch 'topics/propobj' into next
James Turner [Thu, 18 Nov 2010 20:23:40 +0000 (20:23 +0000)]
Merge branch 'topics/propobj' into next

13 years agoInitial propertyObject work.
James Turner [Sat, 6 Nov 2010 14:39:52 +0000 (14:39 +0000)]
Initial propertyObject work.

13 years agoPurge some gcc and MSVC warnings
Torsten Dreyer [Thu, 18 Nov 2010 11:08:16 +0000 (12:08 +0100)]
Purge some gcc and MSVC warnings

13 years agoeliminate property node path cache
Tim Moore [Wed, 17 Nov 2010 07:52:32 +0000 (08:52 +0100)]
eliminate property node path cache

The property path cache was making very little difference in practice
and made the eventual goal of having the property tree be thread safe
for readers more difficult to attain.

13 years agoTighten up name filters on Unix. Fixes bug 168.
James Turner [Mon, 15 Nov 2010 23:23:40 +0000 (23:23 +0000)]
Tighten up name filters on Unix. Fixes bug 168.

13 years agoremove old .cvsignore files
ThorstenB [Sun, 14 Nov 2010 14:09:36 +0000 (15:09 +0100)]
remove old .cvsignore files
Hello GIT!

13 years agoFix setsockopt() to match previous precident of setsockopt() usage (as seen
Curtis L. Olson [Fri, 12 Nov 2010 21:52:33 +0000 (15:52 -0600)]
Fix setsockopt() to match previous precident of setsockopt() usage (as seen
later in the setBroadcast() function.)

13 years agoFix setsockopt call
Frederic Bouvier [Fri, 12 Nov 2010 21:03:11 +0000 (22:03 +0100)]
Fix setsockopt call

13 years agoPatch to avoid the problem of the socket resource not yet being available
Curtis L. Olson [Fri, 12 Nov 2010 19:19:57 +0000 (13:19 -0600)]
Patch to avoid the problem of the socket resource not yet being available
if the program is restarted quickly after being killed.

Reference: http://www.unixguide.net/network/socketfaq/4.5.shtml

13 years agoUpdate VS2010 projects : use Boost 1.44.0
Frederic Bouvier [Sun, 7 Nov 2010 19:01:18 +0000 (20:01 +0100)]
Update VS2010 projects : use Boost 1.44.0

13 years agoDon't crash on exit
Frederic Bouvier [Sun, 7 Nov 2010 09:31:13 +0000 (10:31 +0100)]
Don't crash on exit

13 years agoUpdate VS2008 projects : use Boost 1.44.0 available in last 3rd Party archive
Frederic Bouvier [Sat, 6 Nov 2010 16:02:16 +0000 (17:02 +0100)]
Update VS2008 projects : use Boost 1.44.0 available in last 3rd Party archive

13 years agoFixed METAR. Make loader fully HTTP compliant.
ThorstenB [Fri, 5 Nov 2010 19:07:50 +0000 (20:07 +0100)]
Fixed METAR. Make loader fully HTTP compliant.
HTTP protocol requires a "Host:" line.
The old noaa server didn't mind. Now it does...

13 years agoFormal shutdown interface on SGSubsystem.
James Turner [Fri, 5 Nov 2010 09:19:22 +0000 (09:19 +0000)]
Formal shutdown interface on SGSubsystem.

13 years agoUpdate Vs2010 projects
Frederic Bouvier [Thu, 4 Nov 2010 21:20:08 +0000 (22:20 +0100)]
Update Vs2010 projects

13 years agoFix ConditionNode Win32 compilation.
James Turner [Thu, 4 Nov 2010 18:54:18 +0000 (18:54 +0000)]
Fix ConditionNode Win32 compilation.

13 years agoMake subsystem group destruction explicit, so get_subsystem calls during destruction...
James Turner [Thu, 4 Nov 2010 18:49:24 +0000 (18:49 +0000)]
Make subsystem group destruction explicit, so get_subsystem calls during destruction are safe.

13 years agoAdd ConditionNode files to VC90 project
Tim Moore [Thu, 4 Nov 2010 14:04:03 +0000 (15:04 +0100)]
Add ConditionNode files to VC90 project

13 years agoadd SGMath.hxx header file to ConditionNode.cxx
Tim Moore [Thu, 4 Nov 2010 10:04:13 +0000 (11:04 +0100)]
add SGMath.hxx header file to ConditionNode.cxx

Apparently necessary for MSVC 2008.

13 years agoissue 165: fix material animation condition problem
Tim Moore [Thu, 4 Nov 2010 09:06:13 +0000 (10:06 +0100)]
issue 165: fix material animation condition problem

The evaluation of the condition is moved to a ConditionNode and
separated from the animation of values via properties. Previously the
conditional application of static values was broken.

13 years agoadd ConditionNode scenegraph node
Tim Moore [Thu, 4 Nov 2010 06:01:38 +0000 (07:01 +0100)]
add ConditionNode scenegraph node

This class directs its scenegraph traversal by evaluating a condition
and doesn't rely on an update callback.

13 years agoShow compiler warnings by default.
ThorstenB [Sat, 30 Oct 2010 18:53:19 +0000 (20:53 +0200)]
Show compiler warnings by default.

13 years agoAdd platform defines to SimGear, and a replacement for ulSleep functions.
James Turner [Sat, 30 Oct 2010 18:18:57 +0000 (19:18 +0100)]
Add platform defines to SimGear, and a replacement for ulSleep functions.

13 years agoFix line endings
Frederic Bouvier [Fri, 29 Oct 2010 17:47:44 +0000 (19:47 +0200)]
Fix line endings

13 years agoQuick hack to remote trailing / on Windows. Feel free to replace by something more...
Frederic Bouvier [Fri, 29 Oct 2010 07:30:59 +0000 (09:30 +0200)]
Quick hack to remote trailing / on Windows. Feel free to replace by something more elegant

13 years agoMerge branch 'integration' into next
ThorstenB [Thu, 28 Oct 2010 17:39:55 +0000 (19:39 +0200)]
Merge branch 'integration' into next

13 years agoFix build when OSG implict-ref-ptr conversion is disabled.
James Turner [Tue, 26 Oct 2010 09:09:55 +0000 (10:09 +0100)]
Fix build when OSG implict-ref-ptr conversion is disabled.

13 years agoAdd mipmap.* to the unix build system
Frederic Bouvier [Mon, 25 Oct 2010 19:59:55 +0000 (21:59 +0200)]
Add mipmap.* to the unix build system

13 years agoAdd a function to debug mipmaps
Frederic Bouvier [Mon, 25 Oct 2010 19:51:27 +0000 (21:51 +0200)]
Add a function to debug mipmaps

13 years agoUpdate Vs2010 projects
Frederic Bouvier [Sun, 24 Oct 2010 07:30:16 +0000 (09:30 +0200)]
Update Vs2010 projects

13 years agoUnix line endings
Frederic Bouvier [Wed, 13 Oct 2010 07:37:02 +0000 (09:37 +0200)]
Unix line endings

13 years agoRestore commit 48c6d3d89ad by Torsten Dreyer: Provide a little more descriptive error...
Frederic Bouvier [Wed, 13 Oct 2010 07:18:38 +0000 (09:18 +0200)]
Restore commit 48c6d3d89ad by Torsten Dreyer: Provide a little more descriptive error message if TextureBuilder fails

13 years agoDon't compute mipmap for inexistant image color components
Frederic Bouvier [Wed, 13 Oct 2010 07:06:21 +0000 (09:06 +0200)]
Don't compute mipmap for inexistant image color components

13 years agoAdd mipmap control in the effect file
Frederic Bouvier [Sun, 10 Oct 2010 14:51:37 +0000 (16:51 +0200)]
Add mipmap control in the effect file

13 years agoUntabify
Frederic Bouvier [Sat, 9 Oct 2010 12:52:05 +0000 (14:52 +0200)]
Untabify

13 years agoUpdate Vs2010 projects
Frederic Bouvier [Sun, 24 Oct 2010 07:24:13 +0000 (09:24 +0200)]
Update Vs2010 projects

13 years agoBuild fixes for net classes in Simgear.
James Turner [Sun, 24 Oct 2010 00:22:59 +0000 (01:22 +0100)]
Build fixes for net classes in Simgear.

13 years agoMigrate relevant PLIB netXXX classes into SimGear.
James Turner [Sat, 23 Oct 2010 19:07:35 +0000 (20:07 +0100)]
Migrate relevant PLIB netXXX classes into SimGear.

13 years agoBuffer size safety.
ThorstenB [Sat, 23 Oct 2010 12:47:24 +0000 (14:47 +0200)]
Buffer size safety.
Do not look for '\n' beyond valid data area.
Obey buffer length (in case a METAR contained a line > 512byte).

13 years agoProvide a little more descriptive error message if TextureBuilder fails
Torsten Dreyer [Tue, 12 Oct 2010 14:21:38 +0000 (16:21 +0200)]
Provide a little more descriptive error message if TextureBuilder fails

13 years agoAdd project.* to MSVC project files
Frederic Bouvier [Sat, 9 Oct 2010 06:45:52 +0000 (08:45 +0200)]
Add project.* to MSVC project files

13 years agoreplace glu functions with equivalents from OSG
Tim Moore [Fri, 8 Oct 2010 21:42:10 +0000 (23:42 +0200)]
replace glu functions with equivalents from OSG

13 years agoMerge branch 'next' of gitorious.org:fg/simgear into next
Torsten Dreyer [Thu, 7 Oct 2010 15:43:35 +0000 (17:43 +0200)]
Merge branch 'next' of gitorious.org:fg/simgear into next

13 years agoDon't crash in strutils::trim() with empty strings
Torsten Dreyer [Tue, 5 Oct 2010 20:39:41 +0000 (22:39 +0200)]
Don't crash in strutils::trim() with empty strings

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Frederic Bouvier [Tue, 5 Oct 2010 06:32:00 +0000 (08:32 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoUse same transformation for generated ocean tiles than for regular tiles. Fix the...
Frederic Bouvier [Tue, 5 Oct 2010 06:30:52 +0000 (08:30 +0200)]
Use same transformation for generated ocean tiles than for regular tiles. Fix the normal orientation that broke the new water shader

13 years agoMake get_subsystem safe during destruction of the manager.
James Turner [Sun, 3 Oct 2010 15:08:34 +0000 (16:08 +0100)]
Make get_subsystem safe during destruction of the manager.

13 years agoThorsten Renk's fix for tile manager problems
Tim Moore [Sat, 2 Oct 2010 21:00:59 +0000 (23:00 +0200)]
Thorsten Renk's fix for tile manager problems

Locking tiles in cache keeps tiles from mysteriously disappearing.